The newspaper's yearly secondary schools league table for Scotland is based on the percentage of pupils achieving the “gold standard” of five highers in the last two years.
A full, searchable performance table for all Scottish state secondary schools can be found on The Times website.
David McCann, deputy editor of The Times and Sunday Times Scotland, said: “By publishing this information in an accessible and fully searchable guide, we seek to empower parents with information around the performance of their local schools.”
Scroll through our picture gallery to see how Edinburgh's 22 state secondary schools compare against each other, and where they rank on a national level.

1. Edinburgh's 22 state secondary schools compared
Scroll through our gallery to see how Edinburgh's 22 state secondary schools compare against each other, and where they rank on a national level. Photo: Pixabay. Photo: Pixabay

2. Boroughmuir High School
Rank for Edinburgh: 1st. Overall rank for Scotland: 5th Photo: Third Party

3. The Royal High School
Rank for Edinburgh: 2nd. Overall rank for Scotland: 19th Photo: Third Party

4. Firrhill High School
Rank for Edinburgh: 3rd. Overall rank for Scotland: 24th Photo: Third Party