Part of the Math & Statistics suite · 235 calculators

Grouped Data Standard Deviation Calculator

Mean and standard deviation from a frequency table — when you have counts per class rather than the raw observations.

With grouped data you no longer know the individual values, only how many fell in each class.

Comma-separated
Same count as midpoints
Results update as you type
Results
Standard deviation (sample)
10.582815
Mean
Population standard deviation
Sample variance
Total observations
Modal class midpoint
Class containing the median
Classes
Reviewed September 2026. Pure mathematics: the result does not depend on where you are. Terminology follows US usage (math, parentheses, decimal point).
No account required · Google Analytics off unless allowedCalculator arithmetic runs in your browserResults update as you type
All calculations run 100% in your browser. The calculator code does not submit your figures to GlobalCalc to obtain a result.
About grouped data standard deviation

How the grouped data standard deviation calculator works

With grouped data you no longer know the individual values, only how many fell in each class. The standard approach treats every observation in a class as sitting at its midpoint, then computes a weighted mean and variance from those midpoints.

That introduces grouping error, which is small when the classes are narrow relative to the spread and can be material when they are wide. The result is an estimate, and should be quoted as one.

Formula: x̄ = Σfx / Σf; s² = Σf(x − x̄)² / (Σf − 1)

Worked examples

InputsStandard deviation (sample)Note
Five classes, 32 observations10.582815mean 24.4, SD 10.3
One class only0SD = 0
Two equal classes5.270463mean 5

Frequently asked questions

What is grouped data?

Data recorded as counts per class — "12 people aged 20 to 30" — rather than as individual values.

How accurate is the estimate?

Good when classes are narrow relative to the spread. The midpoint assumption introduces grouping error that grows with class width.

Why use the midpoint?

Because it is the best single guess for a class when you know nothing about the distribution inside it. If the data is heavily skewed within a class, it will be slightly off.

Can I find the exact median?

Not from grouped data — only the class it falls in, or an interpolated estimate. This calculator reports the containing class.

Should I divide by n or n − 1?

By Σf − 1 if the table is a sample, by Σf if it is the whole population. Both are shown.

Where these figures come from

Last checked: September 2026. Formulas are fixed by mathematics and do not change with tax years or regulations.