The Scottish Government says P1s and composite classes should be no bigger than 25 pupils, P2 and P3s no larger than 30 and P4s to P7s no greater than 33.
But classes can breach the maximum size if there are children in special education who receive part of their schooling in a mainstream school. There should still be a maximum of 30 pupils per teacher.
In Edinburgh City, there are five schools which have classes over maximum capacity.
This article lists all the primary schools which have the largest class sizes in Edinburgh City.
In Edinburgh City, there are five schools which have classes over maximum capacity.