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.

21. Gracemount High School
Rank for Edinburgh: 20th. Overall rank for Scotland: 333rd Photo: Third Party

22. Wester Hailes High School
Rank for Edinburgh: 21st. Overall rank for Scotland: 338th Photo: Third Party

23. Castlebrae Community High School
Rank for Edinburgh: 22nd. Overall rank for Scotland: 339th Photo: Third Party