Data set from Schools, pupils and their characteristics

Class sizes - state-funded primary and secondary schools

Latest data
API data set version 1.0
Published
Last updated
Number of pupils and classes in England, by class type, including average class size and class size distribution in state-funded primary and secondary schools.

Data set details

Theme
Pupils and schools
Publication
Schools, pupils and their characteristics
API data set ID
019e7401-70d1-73ca-9855-bd7258e5a1ca
How do I use this ID?
Release type
Number of rows
45,552
Geographic levels
Local authority, National, Parliamentary constituency, Regional
Indicators
  • Average class size
  • Number of classes
  • Number of pupils
Filters
  • Size of class
  • Type of class
Time period
2015/16 to 2025/26

Data set preview

Table showing first 5 rows, from underlying data
time_periodtime_identifiergeographic_levelcountry_codecountry_nameregion_coderegion_nameold_la_codenew_la_codela_namepcon_namepcon_codeclass_typeclass_sizeclass_countpupil_countclass_size_average
201516Academic yearLocal authorityE92000001EnglandE12000001North East390E08000020GatesheadInfant (Reception plus KS1)1 to 30220563225.600000000000000
201516Academic yearLocal authorityE92000001EnglandE12000001North East390E08000020GatesheadInfant (Reception plus KS1)31 to 35927931.000000000000000
201516Academic yearLocal authorityE92000001EnglandE12000001North East390E08000020GatesheadInfant (Reception plus KS1)36 plus00z
201516Academic yearLocal authorityE92000001EnglandE12000001North East390E08000020GatesheadInfant (Reception plus KS1)Total229591125.812227074235807
201516Academic yearLocal authorityE92000001EnglandE12000001North East390E08000020GatesheadKS21 to 30262651324.858778625954198

Variables in this data set

Table showing all 5 variables
Variable nameVariable description
class_countNumber of classes
class_sizeSize of class - Class size (1 to 30, 31 to 35, 36 plus)
class_size_averageAverage class size
class_typeType of class - Type of class (Infant (Reception plus KS1), KS2, Primary or Secondary)
pupil_countNumber of pupils

Footnotes

  1. Totals include state-funded nursery, primary, secondary, alternative provision (AP) schools and special schools, and non-maintained special schools. Does not include independent schools nor general hospital schools. This is because independent and hospital schools submit an aggregate school level census that does not include characteristics breakdowns such as ethnicity, age and language.

Using this data

  • Download the underlying data as a compressed ZIP file

  • View or create your own tables

    View tables that we have built for you, or create your own tables from open data using our table tool


Using the API

  • API documentation

    This data set is available via an API, follow the link to get all the information to get started. The documentation provides full guidance and examples on how to make the most from our data sets.

  • Building API integrations

    To support building integrations on top of the explore education statistics API, software development kits (SDKs) are provided to streamline common tasks and communication with the API.

API data set details

API data set name
Class sizes - state-funded primary and secondary schools
API data set ID
019e7401-70d1-73ca-9855-bd7258e5a1ca
API data set version
1.0

Download data set as CSV

Get familiar with the data. The CSV response will render its categories and column headers in a human-readable format (instead of machine-readable IDs).

Guidance: Download data set as CSV

Data set metadata

Look up human-readable labels and their corresponding machine-readable IDs to help you create data set queries.

Guidance: Get data set metadata

Query data set using GET

Quickly test the machine-readable IDs in a range of basic queries.

Guidance: Query data set (GET)

Query data set using POST

The POST endpoint is recommended for production level pipeline queries. POST requires a query to be built and supplied in JSON format using third party software such as Postman and Insomnia or programming languages such as Python, R, etc.

Guidance: Query data set (POST)

Get data set summary

Guidance: Get data set summary


API data set version history

API data set updates come in 3 forms: Major, Minor and Patch.

  • Major update (e.g. 1.x.x to 2.0.0): a breaking change meaning the removal of columns or rows from the data set.
  • Minor update (e.g. 1.1.x to 1.2.0): non-breaking changes made as part of a new release (likely with new / additional data).
  • Patch update (e.g. 1.1.0 to 1.1.1): a non-breaking change made as part of a release amendment (e.g. data corrections).

More detailed information on versioning can be found in our Versioning - Explore education statistics API.


Contact us

If you have a specific enquiry about Class sizes - state-funded primary and secondary schools statistics and data:

Schools and Pupils Statistics Team

Email: schools.statistics@education.gov.uk
Contact name: Schools and Pupils Statistics Team