Skip to content

Class Width Calculator

comma-separated

Result

Class Width5
Range22
Minimum8
Maximum30
Class 1[8, 13) — 3 value(s)
Class 2[13, 18) — 1 value(s)
Class 3[18, 23) — 3 value(s)
Class 4[23, 28) — 2 value(s)
Class 5[28, 33] — 1 value(s)
↗ Math

Class Width Calculator (Frequency Distribution) Class Width Calculator (Frequency Distribution) is a mathematics calculator that helps you calculate class width calculator (frequency distribution) values from your input data. The formula used is: Class Wi — free online calculator.

Formula

Class Width = ⌈Range / Number of Classes⌉ · Range = Max − Min
  • Class Width Calculator calculates its result from Data Values (comma-separated), Number of Classes. It uses the formula Class Width = ⌈Range / Number of Classes⌉ · Range = Max − Min. Change any input to recalculate the result instantly.
  • The main inputs are Data Values, Number of Classes. Enter them in the units and format shown in the calculator.
  • Keep comparable quantities in compatible units whenever the formula combines or compares them.
  • Changing any input above recalculates the result with the same calculation engine used by this page.

Example: Class Width

Inputs
  • Data Values: 10,15,22,18,25,30,12,8,19,27 comma-separated
  • Number of Classes: 5

With data 10,15,22,18,25,30,12,8,19,27 and 5 classes: min=8, max=30, range=22, class width=ceil(22/5)=5. Frequency bins are [8,13):3, [13,18):1, [18,23):3, [23,28):2, [28,33]:1.

Sample result: Calculating…

Frequently asked questions

What does the Class Width calculate?

Class Width Calculator (Frequency Distribution) Class Width Calculator (Frequency Distribution) is a mathematics calculator that helps you calculate class width calculator (frequency distribution) values from your input data. The formula used is: Class Wi — free online calculator.

Which values should I enter?

Enter Data Values, Number of Classes using the units and format shown beside each field.

What formula does this calculator use?

The calculator uses the following relationship: Class Width = ⌈Range / Number of Classes⌉ · Range = Max − Min.

Why might my result differ from another source?

Results can differ when another source uses different units, rounding rules, conventions or assumptions. Compare the inputs and definitions before comparing results.

Does the result update automatically?

Yes. Changing an input updates the result using the same calculation engine shown on this page.

Page information

Updated: October 10, 2026