Worked Example: 9-Observation Dataset: 12, 15, 18, 22, 22, 25, 29, 34, 41
Compute mean, median, sample SD, and population SD for the 9 values.
- Sum = 218 → Mean x̄ = 218 ÷ 9 = 24.2222.
- Sorted middle (5th) observation → Median = 22.
- Sum of squared deviations Σ(x_i − x̄)² = 695.5556.
- Sample SD s = √(695.5556 ÷ 8) = 9.3244; Population SD σ = √(695.5556 ÷ 9) = 8.7911.
Result: Mean = 24.2222, Median = 22, Sample SD (s) = 9.3244, Population SD (σ) = 8.7911.
Mathematics & Statistics · Descriptive Statistics & Distributions
Statistics & Standard Deviation Calculator: inputs, method, and how to read the result
Calculate sample SD (s), population SD (σ), variance, mean, median, IQR, and Z-score with a frequency histogram.
Choose inputs for the case you are checking
The defaults are illustrative. Replace them with values for your case and keep the units shown beside each field.
- Observation x for Z-Score Check: Computes how many sample standard deviations x is from the mean.
What the calculation includes
With the default values shown, Sample Mean (x̄) & Sample Standard Deviation (s) is x̄ = 24.2222 • s = 9.2436. The calculation follows Sample (Bessel-Corrected) vs. Population Standard Deviation; the formula and variable definitions above show how the inputs combine.
A question to settle before using the estimate
When should I use Sample Standard Deviation (s) vs. Population Standard Deviation (σ)? Use Sample SD (s, dividing by n − 1) whenever your numbers represent a sample drawn from a larger population (the standard in scientific research and quality control). Use Population SD (σ, dividing by n) only when your dataset contains every member of the entire population.
Where to use caution
- Uses linear interpolation between order statistics for Q1 (25th percentile) and Q3 (75th percentile).
- Requires at least n = 2 observations so sample variance (dividing by n − 1) is well-defined.
Scope: Global Check the assumptions and limitations against your situation before relying on the estimate.
More in Mathematics & Statistics: Scientific Calculator, Percentage Calculator, GPA & Final Grade Calculator.