Philadelphia's Julia R. Masterman is among the nation's best public high schools in 2017, U.S. News and World Report found in its annual rankings, released Tuesday.

Masterman, at No. 51, is the only school in the region in the top 100. It ranked 46th in the publication's 2016 list of best high schools.

U.S. News and World Report also ranks the best high schools in every state. Schools in the region dominated the Pennsylvania list, with Masterman claiming the top spot. New Hope-Solebury, Conestoga, Unionville, Radnor, Strath Haven, Lower Moreland and Great Valley High Schools were all in the top 10.

In New Jersey, the top local school is Moorestown High, at 51. Cherry Hill High School East ranked 52nd; Brimm Medical Arts High School in Camden was 76th; and Collingswood High School was 80th in the state.

U.S. News also compiles a list of the nation's best schools for STEM education — science, technology, engineering and mathematics. Conestoga High School was named the 27th best STEM school in the U.S.

Two area charters made a separate list of best charter schools. Both are in Philadelphia — MAST Community Charter ranked 197th overall, and Mastery Charter School-Thomas ranked 264th.
Schools made the lists based on a number of factors, including graduation rates, student performance compared to state average, performance of disadvantaged students compared to state average, and student preparation for college-level coursework.

Overall, 20,487 high schools were eligible for consideration. Nearly 30 percent of schools across the country earned a ranking.

See nationwide results here.

Here are local schools that made the 2017 rankings:

U.S. High School Rankings

Out of 20,487 public high schools under consideration.

Pennsylvania High School Rankings

New Jersey High School Rankings

STEM School Rankings

Charter School Rankings