Here are the Edinburgh schools that made the list.
5. The Edinburgh Academy
The Edinburgh Academy has secured the number eight spot on the list of the top 10 independent schools in Scotland. 85.3% of students at the prestigious school secured A or B grade Highers and Advanced Highers. Photo: Third Party
6. Stewart's Melville College
Stewart's Melville College, which is twinned with Mary Erskine's school for girls, came in at the number 10 on the list. Many of its pupils secured top grades in 2019, with 85% attaining A or B grades in their Higher and Advanced Higher examinations. Photo: Toby Williams
7. Fettes College
A separate ranking for independent secondary schools, which is based on 2019 results for A-Levels, GCSEs and the International Baccalaureate, has placed Fettes College in the number one spot. The private school, which charges £29,925 per year for day pupils and £36,495 for boarders, has recently been marred with historic allegations of abuse and bullying. Photo: Danny Lawson
8. Merchiston School
Merchiston School secured the number two spot in the rankings of independent secondary schools in Scotland which were decided by pupils A level, GSCE and International Baccalaureate results. Photo: Google Maps