The Standard Deviation Calculator computes population and sample standard deviation, variance, z-scores, and the empirical rule for any dataset. Enter numbers separated by commas or spaces — toggle between population (÷n) and sample (÷n−1) mode with a single click. The step-by-step table shows every...
Commas, spaces, or new lines
n = 8
POPULATION STD DEV (σ)
2.537223
POPULATION VARIANCE (σ²)
6.4375
MEAN (μ)
6.25
COUNT (n)
8
SUM (Σ)
50
Population σ (÷n)
2.537223
var = 6.4375
Sample s (÷n−1)
2.712405
var = 7.357143
EMPIRICAL RULE (68–95–99.7)
Z-SCORES (z = (x−μ)/σ)
x=2
-1.68
x=4
-0.89
x=4
-0.89
x=6
-0.1
x=8
0.69
x=8
0.69
x=8
0.69
x=10
1.48
QUICK EXAMPLES
POPULATION STATISTICS
FORMULA USED
σ = √( Σ(x−x̄)² / n )
= √( 51.5 / 8 )
= √6.4375
= 2.537223
Enter your numbers in the text box, separated by commas, spaces, or new lines. The calculator accepts integers, decimals, and negative numbers. At least 2 values are required.
Toggle between Population (÷n) and Sample (÷n−1) using the buttons. Use population when you have complete data; use sample when your data is a subset of a larger group.
The standard deviation and variance appear instantly. Both population and sample values are shown side by side for comparison.
Click Show Step-by-Step to see the full deviation table: each value x, its deviation from the mean (x−x̄), and the squared deviation (x−x̄)². The sum of squared deviations and final formula are shown below.
Check the bell curve — your data points appear as red dots along the baseline, and the three shaded regions show the ±1σ, ±2σ, and ±3σ ranges. The empirical rule panel compares your actual data distribution to the theoretical 68-95-99.7% rule.
Dataset: 2, 4, 4, 6, 8, 8, 8, 10 (n=8, mean=6.25). Deviations²: 18.0625, 5.0625, 5.0625, 0.0625, 3.0625, 3.0625, 3.0625, 14.0625. Sum=52. Population: σ²=52/8=6.5, σ=√6.5≈2.5495. Sample: s²=52/7≈7.4286, s≈2.7261. Z-scores: x=2→z=−1.67, x=8→z=+0.69.
| NAME | FORMULA | DESCRIPTION |
|---|---|---|
| Population std dev | σ = √(Σ(x−μ)² / n) | Use when data is the entire population |
| Sample std dev | s = √(Σ(x−x̄)² / (n−1)) | Use when data is a sample; n−1 is Bessel correction |
| Population variance | σ² = Σ(x−μ)² / n | Average squared deviation from mean |
| Sample variance | s² = Σ(x−x̄)² / (n−1) | Bessel-corrected variance for sample data |
| Deviation | d = x − x̄ | Distance of each value from the mean |
| Z-score | z = (x − μ) / σ | Number of std devs from the mean |
| Empirical rule | μ ± σ: ~68%, μ ± 2σ: ~95%, μ ± 3σ: ~99.7% | For normal distributions only |
| Coefficient of variation | CV = (σ/μ) × 100% | Relative spread as percentage of mean |
Mean Median Mode Calculator
Calculate instantly →
Probability Calculator
Calculate instantly →
Combination Calculator (nCr)
Calculate instantly →
Permutation Calculator (nPr)
Calculate instantly →
Grade Calculator
Calculate instantly →
GPA Calculator
Calculate instantly →
Final Grade Needed Calculator
Calculate instantly →
Test Grade Calculator
Calculate instantly →
Last updated: April 29, 2026 · Formula verified by EagleCalculator team · Eagle-eyed accuracy for every calculation.