Standard Deviation Calculator
Enter a data set to calculate mean, median, mode, range, variance, and standard deviation (both population and sample).
How to Use
Type or paste your numbers into the input box, separated by commas, spaces, or semicolons. The calculator computes all key statistics including quartiles, variance, and standard deviation.
The Extended Calculator adds a histogram with bell curve overlay, summary stats mode (from n/mean/sd), and a set comparison tool. The Professional Calculator adds confidence intervals, z-score analysis, hypothesis testing, and IQR outlier detection.
Standard Deviation Formulas
Mean (x̄): Σx / n
Population variance (σ²): Σ(x − x̄)² / n
Sample variance (s²): Σ(x − x̄)² / (n − 1) — Bessel's correction
Std deviation: σ = √(σ²) or s = √(s²)
IQR: Q3 − Q1; Outlier fence: Q1 − 1.5×IQR to Q3 + 1.5×IQR
Worked Example
Data: 2, 4, 4, 4, 5, 5, 7, 9
n = 8, Mean = 5
Deviations²: 9, 1, 1, 1, 0, 0, 4, 16 → Sum = 32
Population σ = √(32/8) = 2
Sample s = √(32/7) ≈ 2.14