A great education doesn’t have to cost a fortune – especially in high school.

Niche, a company that researches and compiles information on schools, released its 2018 rankings of the best public high schools in the US.

The ranking analyzed 17,867 public high schools and rated schools in areas like academics, teachers, student culture and diversity, and resources and facilities. You can read more about the methodology here.

Here are the top 25 public high schools in America:


25. High Technology High School — Lincroft, NJ

Foto: source High Technology High School

Students: 242

Graduation rate: 95%

Advanced Placement enrollment: 39%


24. Hinsdale Central High School — Hinsdale, IL

Foto: source Hinsdale Central High School

Students: 2,778

Graduation rate: 95%

Advanced Placement enrollment: 36%


23. Maggie Walker Governor's School — Richmond, VA

Foto: source MTK4RVA Wikipedia Commons

Students: 746

Graduation rate: 99%

Advanced Placement enrollment: 63%


22. Massachusetts Academy of Math & Science — Worcester, MA

Foto: source John Phelan Wikipedia Commons

Students: 97

Graduation rate: 90%

Advanced Placement enrollment: N/A


21. Union County Magnet High School — Scotch Plains, NJ

Foto: source UCVTS Wikipedia Commons

Students: 290

Graduation rate: 95%

Advanced Placement enrollment: 48%


20. New Trier Township High School — Winnetka, Illinois

Foto: source Wikipedia

Students: 4,057

Graduation rate: 98%

Advanced Placement enrollment: 27%


19. Canyon Crest Academy — San Diego, California

Foto: source Docnavi Wikipedia Commons

Students: 1,991

Graduation rate: 99%

Advanced Placement enrollment: 55%


18. Henry M. Gunn High School — Palo Alto, CA

Foto: source King of Hearts Wikipedia Commons

Students: 1,897

Graduation rate: 96%

Advanced Placement enrollment: 38%


17. Indiana Academy for Science, Mathematics & Humanities — Muncie, IN

Foto: source Google Maps

Students: 307

Graduation rate: 95%

Advanced Placement enrollment: 50%


16. Bergen County Technical High School — Teterboro, NJ

Foto: source Bergen County Technical High School

Students: 665

Graduation rate: 95%

Advanced Placement enrollment: 53%


15. Charter School of Wilmington — Wilmington, DE

Foto: source Ruokai Chen and Arjun Gopalratnam Wikipedia Commons

Students: 972

Graduation rate: 98%

Advanced Placement enrollment: 43%


14. BASIS Scottsdale — Scottsdale. AZ

Foto: source BASIS Scottsdale/Facebook

Students: 754

Graduation rate: 90%

Advanced Placement enrollment: 93%


13. Bronx High School of Science — Bronx, NY

Foto: source scriptingnews / Flickr

Students: 3,019

Graduation rate: 99%

Advanced Placement enrollment: 65%


12. Liberal Arts & Science Academy — Austin, TX

Foto: source Google Earth

Students: 1,002

Graduation rate: 99%

Advanced Placement enrollment: 74%


11. Bergen County Academies — Hackensack, NJ

Foto: source Google Maps

Students: 1,044

Graduation rate: 95%

Advanced Placement enrollment: 43%


10. Gwinnett School of Mathematics, Science & Technology — Lawrenceville, GA

Foto: source YouTube/Virgil Shah

Students: 976

Graduation rate: 95%

Advanced Placement enrollment: 74%


9. Staten Island Technical High School — Staten Island, NY

Foto: source Screenshot Via YouTube

Students: 1,248

Graduation rate: 99%

Advanced Placement enrollment: 99%


8. The Mississippi School for Mathematics and Science — Columbus, MS

Foto: source The Mississippi School for Mathematics and Science Facebook

Students: 245

Graduation rate: 100%

Advanced Placement enrollment: N/A


7. Stuyvesant High School — New York, NY

Foto: source Via Flickr

Students: 3,297

Graduation rate: 99%

Advanced Placement enrollment: 53%


6. Whitney M. Young Magnet High School — Chicago, IL

Foto: source Whitney M. Young Magnet High School/Facebook

Students: 2,205

Graduation rate: 99%

Advanced Placement enrollment: 44%


5. Illinois Mathematics & Science Academy — Aurora, IL

Foto: source Jauerback Wikipedia Commons

Students: 650

Graduation rate: 99%

Advanced Placement enrollment: 55%


4. Thomas Jefferson High School for Science & Technology — Alexandria, VA

Foto: source Google Maps

Students: 1,820

Graduation rate: 99%

Advanced Placement enrollment: 70%


3. Adlai E. Stevenson High School — Lincolnshire, IL

Foto: source Facebook/stevensonhs

Students: 3,839

Graduation rate: 95%

Advanced Placement enrollment: 47%


2. Northside College Preparatory High School — Chicago, IL

Foto: source Northside Prep

Students: 1,047

Graduation rate: 99%

Advanced Placement enrollment: 57%


1. Walter Payton College Prep — Chicago, IL

Foto: source Facebook/Walter-Payton-Prep-Alumni-Association

Students: 899

Graduation rate: 93%

Advanced Placement enrollment: 52%