How The Post ranked them: The Top 50 is based on the latest data for 4-year-graduation rate (weight: 10%); percent of students scoring over 85 on Regents Integrated Algebra and ELA exams (20%); number taking AP exams (7.5%) and percent scoring 3,4, or 5 (22.5%); number taking SAT (10%) and average total SAT scores (30%). Adjustments made for schools that offer college-level courses instead of AP and schools that assess students by portfolios instead of Regents exams.
Here is a PDF for all 417 NYC public schools by the numbers: