The newspaper's annual secondary schools league table for Scotland is based on the percentage of pupils achieving the “gold standard” of five highers in the past two years.
A full, searchable performance table for all Scottish state secondary schools is available 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.”
Take a look through our photo gallery to see how Edinburgh's 22 state secondary schools compare against each other, and where they rank on a national level.

9. Currie Community High School
Rank for Edinburgh: 8th. Overall rank for Scotland: 38th Photo: Third Party

10. Trinity Academy
Rank for Edinburgh: 9th. Overall rank for Scotland: 49th Photo: Third Party

11. Holy Rood RC High School
Rank for Edinburgh: 10th. Overall rank for Scotland: 83rd Photo: Third Party

12. Portobello High School
Rank for Edinburgh: 11th. Overall rank for Scotland: 91st Photo: Third Party