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.

17. Forrester High School
Rank for Edinburgh: 16th. Overall rank for Scotland: 250th Photo: Third Party

18. Liberton High School
Rank for Edinburgh: 17th. Overall rank for Scotland: 287th Photo: Third Party

19. St Augustine's High School
Rank for Edinburgh: 18th. Overall rank for Scotland: 288th Photo: Third Party

20. Craigroyston Community High School
Rank for Edinburgh: 19th. Overall rank for Scotland: 331st Photo: Third Party