Home · Statistics · Descriptive Statistics · Grouped Data Standard Deviation Calculator
Grouped Data Standard Deviation Calculator
The sample standard deviation of data that survives only as a frequency table: each class is represented by its midpoint and weighted by its frequency.
What this calculator does
The sample standard deviation of data that survives only as a frequency table: each class is represented by its midpoint and weighted by its frequency. Every figure on this page is computed from the standard definition stated below — the same definition used in textbooks and reference tables — with no hidden rounding steps, and the method notes name the exact convention where more than one exists.
The formula and method
Each class is represented by its midpoint m: every observation in the class is treated as if it sat at the midpoint, and the two lists must have the same length, paired in order.
The mean x̄ is the frequency-weighted mean of the midpoints, Σ f·m / Σ f.
This is the sample form: the weighted squared deviations are divided by Σ f − 1, not by Σ f. Because midpoints stand in for the raw values, the result is an approximation whose accuracy depends on the class width.
Worked example
With the example inputs this page opens with, the result is 10.9065. Change any figure and the result updates with the same formula.
Quick reference
| Figure | Value |
|---|---|
| Result | 10.9065 |
| Grouped mean | 23.125 |
| Grouped sample variance | 118.951613 |
| Total frequency | 32 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
Why use midpoints instead of the real values?
Grouped data has already lost the individual values — only the class and its count survive. The midpoint is the standard stand-in for every value in its class, which is why the result is an estimate, not the exact standard deviation of the raw data.
Should I divide by N or N − 1?
This calculator uses the sample convention, dividing by Σ f − 1, matching how grouped textbook data is usually a sample. Dividing by Σ f instead would give the slightly smaller population figure.
How does the Grouped Data Standard Deviation Calculator work?
The sample standard deviation of data that survives only as a frequency table: each class is represented by its midpoint and weighted by its frequency. Class midpoints (list) · Frequencies (list) → Grouped sample standard deviation. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Grouped Data Standard Deviation Calculator need?
Class midpoints (list) · Frequencies (list) → Grouped sample standard deviation. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.