The maximum number of students in a class varies depending on the age of the student.
In the classes at IES Uppsala:
Year 4-5: 30 per class
Year 6-9: 32 per class