Six San Diego County high schools made Newsweek’s newly released list of the top 500 high schools in the United States.

The ranking took into account a variety of factors, including average SAT scores, average AP scores, ACT scores, graduation rates, counselor-student ratio and college-bound percentages.

The ranking also considers schools that help low-income students score at our above average on state assessments.

River Valley Charter in Lakeside ranked the highest locally at No. 94, with a 100 percent graduation rate and an 84.7 percent college readiness rate.

Trailing close behind was Westview High School in Torrey Highlands near Rancho Penasquitos, with very similar graduation and college readiness rates.

Canyon Crest Academy in Carmel Valley was ranked at No. 117. The school’s average SAT score is 1904 and the graduation rate is listed at 100 percent. Earlier this year, the school made headlines for beating the world record for the largest group hug in a school library.

With an 81.2 percent college readiness rate, Del Norte High School ranked at No. 209. The Black Mountain Ranch school near Rancho Bernardo also has a 99.7 percent graduation rate.

Finally, Torrey Pines High School in Del Mar ranked at No. 336 and Classical Academy High School in Escondido came in at No. 493.