While some of these 128 schools are oversubscribed by just one or two pupils, some schools have hundreds of extra pupils on their registers.
And three fall into this category in Aberdeenshire including Kemnay Academy.
The school has the capacity for 730 pupils, but according to the school roll as of September 2020, 974 young people were attending – making it the second overcrowded school in the country.
Anne-Marie Davies-Macleod, Head of Resources and Performance for Aberdeenshire Council explained: "While a number of our schools may appear to be over capacity on paper, in practice plenty of space is available to all our learners.
“The calculation of capacities for secondary schools is complex. It’s based on an aim for 80% occupancy in Aberdeenshire, so there are always extra teaching spaces available, but we also base it on ensuring we can deliver an effective mix of practical (20 pupil maximum class size) and non-practical (30 max) subjects.
"The stated capacities are what we call ‘published’ capacities which only account for main school buildings, where as our ‘working’ capacities include non-linked units.
"Practical teaching areas like technical often require fixed equipment so it can sometimes be that the overall capacity of a school is limited until we reconfigure spaces. This is where ‘planning’ capacity comes in. From year to year and where there are pinch points in our secondaries, our learning estates team works closely with schools to ensure they have ample space to deliver the right mix of subjects on behalf of their learners. We set annual secondary limits and reserved spaces and will not accept placing requests from those out of area when we need to limit numbers.
“Right now, none of our secondary schools are over working capacity and where we are expecting school rolls to increase we are also planning ahead.
"We’re currently costing plans for works at both Mearns and Kemnay academies, for example, and these will be presented to councillors later this year."