Six of the top 15 public high schools in the country are in New Jersey, according to a new ranking of the nation's best schools.

Newsweek's annual list, released Thursday, places 13 Garden State schools in the top 50, but just two from Pennsylvania in that tier. In total, 51 New Jersey and 30 Pennsylvania schools were included in the magazine's list of the nation's 500 best public high schools.

The top public school in the country was Thomas Jefferson High School for Science and Technology in Alexandria, Va. While not many Pennsylvania schools were ranked in the list's upper echelon, the Philadelphia suburbs were well-represented on the list as a whole. No schools in Philadelphia made the list.

Newsweek says it evaluated schools based on state standardized test scores, college acceptance and enrollment rates, SAT and ACT participation and performance, dual enrollments, and programs like Advanced Placement and International Baccalaureate.

Here are the Pennsylvania and New Jersey schools that made it into the top 50, as well as other schools in the Philadelphia region that were included in the rankings:

Pennsylvania
36. Conestoga High School; Berwyn
49. Unionville High School; Kennett Square
58. Downingtown STEM Academy; Downingtown
106. Radnor High School; Radnor
169. New Hope-Solebury High School; New Hope
196. Lower Moreland High School; Huntingdon Valley
209. Great Valley High School; Malvern
262. Central Bucks High School South; Warrington
269. Central Bucks High School West; Doylestown
275. Council Rock High School South; Holland
276. Penncrest High School; Media
278. West Chester Bayard Rustin High School; West Chester
290. Abington Heights High School; Clarks Summit
293. West Chester Henderson High School; West Chester
294. Haverford High School; Havertown
306. Spring-Ford Area High School; Royersford
330. Upper Dublin High School; Fort Washington
355. West Chester East High School; West Chester
439. Souderton Area High School; Souderton
478. Central Bucks High School - East; Doylestown

New Jersey
2. Academy for Math, Science, and Engineering; Rockaway
4. Union County Magnet High School; Scotch Plains
10. Middlesex County Academy for Science, Mathematics and Engineering Technology; Edison
11. Bergen County Academies; Hackensack
12. Academy of Allied Health and Science; Neptune
14. Biotechnology High School; Freehold
20. High Technology High School; Lincroft
21. Academy for Allied Health Sciences; Scotch Plains
23. Academy for Information Technology; Scotch Plains
27. Communications High School; Wall
31. Middlesex County Academy for Allied Health & Biomedical Sciences; Woodbridge
40. Chatham High School; Chatham
41. Bergen County Technical High School - Teterboro; Teterboro
112. Moorestown High School; Moorestown