Calculate class size from upper and lower class boundaries, data range and number of classes, or total students and classes/teachers.

Statistics: class size (class width) = upper class boundary โˆ’ lower class boundary.

For inclusive limits such as 10โ€“19, use boundaries 9.5 and 19.5 to get a width of 10.

Optional settings


Related Calculators

Calculator Functions

FunctionWhat it doesWhat it requires
Class size from class boundariesFinds the class size, also called the class width, of one class interval, with its midpointRequires the upper and lower class boundaries or limits of the class
Class width from data rangeFinds the class width for a new frequency table, rounded up to a whole numberRequires the largest data value, the smallest data value and the number of classes
Students per class (average)Finds the average number of students in a classRequires the total students and the number of classes
Total studentsFinds how many students a number of classes holds at an average class sizeRequires the number of classes and the average class size
Number of classesFinds how many classes a number of students needs at an average class sizeRequires the total students and the average class size

The first two functions are for grouped data in statistics, where class size means the width of a class interval. The last three are for classes in a school.

Class Size Formula

CS = UL โˆ’ LL
CSClass size, or class width
ULUpper class boundary
LLLower class boundary

Class size from class boundaries

A class with boundaries 9.5 and 19.5 has a class size of 19.5 โˆ’ 9.5 = 10, and its midpoint is (9.5 + 19.5) รท 2 = 14.5. For classes written with whole-number limits, such as 10โ€“19 and 20โ€“29, the boundaries sit half a unit outside the limits, at 9.5 and 19.5 [1]. Subtracting the limits themselves gives 9, one short of the width. Use the boundaries, or subtract the lower limit of one class from the lower limit of the next: 20 โˆ’ 10 = 10.

Class width from data range

CW = (max โˆ’ min) รท k,
rounded up [1]

k is the number of classes. With a largest value of 98, a smallest value of 52 and 6 classes, the range is 46 and 46 รท 6 = 7.67, which rounds up to a class width of 8. The answer is rounded up, not off, so that the classes reach the largest value [1]. When the division comes out exact, the calculator keeps that whole number. Some courses then add one to the width, or use one more class, so the largest value does not land past the last class [1].

Students per class (average)

Average = students รท
classes

63 students in 3 classes is 21 students per class. The result is also shown rounded to a whole student.

Total students

Students = classes ร—
average

4 classes with an average of 25 students hold 100 students.

Number of classes

Classes = students รท
average

130 students at 25 per class is 5.2, so 6 classes are needed to keep the average at or under 25.

How to Find Class Size

In a frequency table, class size is found one of two ways, depending on whether the classes already exist.

  • For a class that is already in the table, subtract its lower boundary from its upper boundary.
  • For a new table, subtract the smallest value from the largest value to get the range.
  • Choose the number of classes, usually between 5 and 20 [1].
  • Divide the range by the number of classes and round the answer up: 3.2 becomes 4 [1].

Limits of This Estimate

  • Class width from data range rounds up to a whole number, which suits whole-number data. Data with decimals may need a width such as 0.5, chosen by hand.
  • The school functions work with an average. Real classes differ in size, and the average does not show the largest one.

Sources

  1. Richland Community College, Math 170 lecture notes, Statistics: Grouped Frequency Distributions: class width from the range and the number of classes, rounding up, and class boundaries