A new report has found that 84 of Scotland’s primary schools ensure that almost ever primary seven pupil is up to standard in reading, writing, numeracy, listening and talking.
The Sunday Times report used data submitted by schools in each of the four categories to come up with a mark out of a maximum of 400.
Read more: Prestigious international school that claimed steady pupil numbers could shut over falling roll
A total of 1,197 primary schools provided data for the annual Achievement in Curriculum for Excellence Levels publications, with the remaining 729 on the government database not participating, either because no children were up to standard, the school roll was too small or the data was not collected centrally.
Schools with a higher proportion of deprived pupils were weighted to rise up the league table to recognise their achievement in delivering a good education despite the challenges of poverty.
The schools were then placed in a league table according to how well they were performing.
In the area covered by Scottish Borders Council a total of 10 primaries received at least 350 points - with none earning full marks.
Here are the top 10 best performing primary schools in the Scottish Borders.
Make sure you don't miss a moment of breaking news from across Scotland by signing up to our free newsletter here.

1. West Linton Primary School
Located in the village of the same name, West Linton Primary School is one of only two Borders primaries that scored a near-perfect 390 points in the report - dropping 10 marks in the writing category. As is the case with all the schools on this list, fewer than 10 per cent of its pupils are classed as being 'very deprived'. | Google Maps

2. St Boswells Primary School
Another village primary, St Boswells Primary School also scored 390 out of 400 points in the report - just dropping 10 marks in the numeracy category. The school has an average class size of 22.7. | Google Maps

3. Priorsford Primary School
Priorsford Primary School in Peebles is one of three Scottish Borders primaries to school 380 point in the report - dropping 10 marks in each of the numeracy and writing categories. The school's 328 pupils are taught by 18 teachers. | Google Maps

4. Broomlands Primary School
Broomlands Primary School in Kelso dropped 10 points in each of the numeracy and writing categories to finish with 380 points. The school has an impressive pupil attendance rate of 95 per cent. | Google Maps

