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.

5. St Thomas Of Aquin's High School
Rank for Edinburgh: 4th. Overall rank for Scotland: 30th Photo: Third Party

6. Craigmount High School
Rank for Edinburgh: 5th. Overall rank for Scotland: 31st Photo: Third Party

7. Balerno Community High School
Rank for Edinburgh: 6th. Overall rank for Scotland: 32nd Photo: Third Party

8. James Gillespie's High School
Rank for Edinburgh: 7th. Overall rank for Scotland: 35th Photo: Third Party