The Scottish government's ‘gold standard’ of academic performance is five highers, which is the minimum entry requirement for many top universities.
A full, searchable performance table for all Scottish state secondary schools can be found on The Times and Sunday Times website, who compiled the data.
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 Edinburgh's 15 best-performing state high schools, and see where they rank on a national level.

1. Edinburgh's 15 top-rated high and secondary schools
Scroll through our gallery to see Edinburgh's 15 top-rated high and secondary schools - based on Scottish government's 'gold standard'. 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