Standard Deviation Calculator — Population & Sample

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...

ENTER YOUR DATA

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)

Within 1σ
6/8 (75%)theory: ~68.3%
Within 2σ
8/8 (100%)theory: ~95.5%
Within 3σ
8/8 (100%)theory: ~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

BELL CURVE

-3σ-2σ-1σμ+1σ+2σ+3σμ=6.25+1σ

POPULATION STATISTICS

Std deviation2.53722289
Variance6.4375
Mean ± 1σ3.7128 to 8.7872
Mean ± 2σ1.1756 to 11.3244
Coefficient of variation40.6%
Sum of sq. deviations51.5

FORMULA USED

σ = √( Σ(x−x̄)² / n )
= √( 51.5 / 8 )
= √6.4375
= 2.537223

Created with❤️byeaglecalculator.com

HOW TO USE

  1. 1

    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.

  2. 2

    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.

  3. 3

    The standard deviation and variance appear instantly. Both population and sample values are shown side by side for comparison.

  4. 4

    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.

  5. 5

    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.

WORKED EXAMPLE

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.

FORMULAS

STANDARD DEVIATION FORMULAS
NAMEFORMULADESCRIPTION
Population std devσ = √(Σ(x−μ)² / n)Use when data is the entire population
Sample std devs = √(Σ(x−x̄)² / (n−1))Use when data is a sample; n−1 is Bessel correction
Population varianceσ² = Σ(x−μ)² / nAverage squared deviation from mean
Sample variances² = Σ(x−x̄)² / (n−1)Bessel-corrected variance for sample data
Deviationd = x − x̄Distance of each value from the mean
Z-scorez = (x − μ) / σNumber of std devs from the mean
Empirical ruleμ ± σ: ~68%, μ ± 2σ: ~95%, μ ± 3σ: ~99.7%For normal distributions only
Coefficient of variationCV = (σ/μ) × 100%Relative spread as percentage of mean

FREQUENTLY ASKED QUESTIONS

RELATED CALCULATORS

MORE STATISTICS CALCULATORS

Was this calculator helpful?

Last updated: April 29, 2026 · Formula verified by EagleCalculator team · Eagle-eyed accuracy for every calculation.