Forty-five Minnesota high schools have been named among the best 2,000 best public high schools in the U.S., according to rankings released by The Daily Beast website.

Edina High School was the highest ranked school in the state at No. 121. A total of seven local schools made the top 500: Eastview High School (302) and Mounds View High School (381), Eden Prairie High School (418), Mahtomedi High School (431), Eagan High School (452), Orono High School (453) and St. Anthony Village High School (487).

The website used six variables to rank the schools: graduation rate (weighted 25 percent), college acceptance rate (25 percent), AP/IB/AICE tests taken per student (25 percent), average SAT/ACT scores (10 percent), average AP/IB/AICE scores (10 percent), and percent of students enrolled in at least one AP/IB/AICE course (5 percent).

The best school in the country was Carol Martin Gatton Academy of Mathematics and Science in Kentucky in Bowling Green, Ky., according to the rankings.