Standard Deviation Calculator

Calculate mean, variance, and standard deviation for any data set.
Returns population (σ) and sample (s) values with step-by-step working for up to 50 values.

Statistical Results

Standard deviation measures how spread out values are around the mean (average). A small standard deviation means values cluster tightly together; a large one means they are spread widely apart.

Population standard deviation formula: σ = √(Σ(xᵢ − μ)² / N)

Sample standard deviation formula: s = √(Σ(xᵢ − x̄)² / (n − 1))

Use population formula when you have all possible data. Use sample formula when your data is a sample from a larger population (the “n−1” corrects for bias).

Step-by-step worked example: Data: 4, 7, 13, 2, 1, 7

Step 1 — Find the mean: (4+7+13+2+1+7)/6 = 34/6 = 5.67

Step 2 — Find each value’s distance from the mean, squared: (4−5.67)² = 2.79 (7−5.67)² = 1.77 (13−5.67)² = 53.69 (2−5.67)² = 13.47 (1−5.67)² = 21.81 (7−5.67)² = 1.77

Step 3 — Average those squares (population): 95.3 / 6 = 15.88

Step 4 — Take the square root: √15.88 = 3.99

What standard deviation tells you: In a normal distribution (bell curve):

  • 68% of values fall within ±1 standard deviation of the mean
  • 95% within ±2 standard deviations
  • 99.7% within ±3 standard deviations

Practical uses:

  • Finance: stock volatility (higher σ = riskier investment)
  • Quality control: product consistency
  • Medicine: identifying outliers in patient data
  • Education: grade distributions and standardised test scoring
  • Sports: consistency of athlete performance

How we build and check this calculator

This calculator runs entirely in your browser, so the numbers you enter stay on your device. The math behind it is written by hand and tested against worked examples and standard references before the page goes live.

SuperGlobalCalculator is independently built and maintained. See how we build and verify our calculators.


Embed This Calculator

Copy the code below and paste it into your website or blog.
The calculator will work directly on your page.