📊 Enter Your Data

🎯 Z-Score Calculator

Calculate how many standard deviations a value is from the mean. First calculate SD in the Calculator tab, or enter values manually.

📋 Z-Score Reference Table

Z-ScorePercentileInterpretation

📐 Standard Deviation Formulas

Population Standard Deviation (σ)

Use when you have data for the ENTIRE population.

σ = √(Σ(xᵢ - μ)² / N)

Where:
μ = population mean = Σx / N
N = total number of values
Σ(xᵢ - μ)² = sum of squared deviations

Sample Standard Deviation (s)

Use when your data is a SAMPLE from a larger population. Uses (n-1) - Bessel's correction.

s = √(Σ(xᵢ - x̄)² / (n-1))

Why n-1? → Bessel's correction makes sample SD
an unbiased estimator of population SD.
With n-1, sample SD is slightly larger → accounts
for the fact that a sample underestimates spread.

Step-by-Step Process

1. Find mean: x̄ = Σx / n
2. Find deviations: (xᵢ - x̄) for each value
3. Square each: (xᵢ - x̄)²
4. Sum squares: Σ(xᵢ - x̄)²
5. Divide by n (pop) or n-1 (sample) → Variance
6. Take square root → Standard Deviation

Z-Score Formula

Z = (x - μ) / σ

Z tells you how many standard deviations
a value is above (+) or below (-) the mean.

|Z| < 1 → within 1 SD (common)
|Z| 1-2 → somewhat unusual
|Z| 2-3 → unusual (only 4.5% of data)
|Z| > 3 → very unusual (only 0.27% of data)

The Empirical Rule (68-95-99.7)

In a normal distribution:
68.27% of data falls within μ ± 1σ
95.45% of data falls within μ ± 2σ
99.73% of data falls within μ ± 3σ

This is why anything beyond 3σ is called
an "outlier" - only 0.27% chance naturally!

Coefficient of Variation (CV)

CV = (σ / |μ|) × 100%

CV measures relative variability.
Low CV → data is tightly clustered
High CV → data is widely spread

Useful for comparing variability across
datasets with different units or scales.

❓ Frequently Asked Questions

🤖
AI Insights - Coming Soon!
AI-powered data interpretation, outlier detection, and personalized statistical insights.
Coming Soon - Stay Tuned!

Standard Deviation Calculator - What It Is, How It Works, and When to Use It

Standard deviation is the most widely used measure of spread in statistics. It appears in school exams, scientific research, financial risk analysis, quality control, polling, and machine learning. Understanding what it means - not just how to calculate it - is what separates someone who can describe data from someone who can actually reason about it. This calculator does the full calculation with a step-by-step table so you can see exactly how each number is derived.

How to use this calculator: Type or paste your numbers separated by commas, spaces, or new lines. Select Population SD (σ) if you have data for every member of the group, or Sample SD (s) if your data is a subset. Click Calculate and get SD, variance, mean, median, range, CV, standard error, a deviation table, and a bell curve - all instantly.

Standard Deviation - The Core Idea

The mean tells you the centre of your data. Standard deviation tells you how far the data typically strays from that centre. Two datasets can have the exact same mean but completely different standard deviations - and that difference tells a completely different story.

  • Dataset A: 49, 50, 51 → Mean = 50, SD ≈ 0.82 (very tightly clustered)
  • Dataset B: 10, 50, 90 → Mean = 50, SD ≈ 32.7 (wildly spread out)

Same mean, completely different distributions. SD is what reveals which one you're dealing with.

Population SD vs Sample SD - Which One to Use

σ Population SD - Divide by N

  • Use when you have data for the entire group (complete population)
  • Examples: all test scores in a specific class, temperatures every day of one year, heights of all 30 students in a room
  • Formula: σ = √(Σ(xᵢ − μ)² / N)
  • Result is slightly smaller than sample SD
  • No estimation needed - you have all the data

s Sample SD - Divide by (n−1)

  • Use when your data is a sample drawn from a larger unknown population
  • Examples: survey responses from 200 out of 10,000 customers, 50 product measurements from a production run, clinical trial participants
  • Formula: s = √(Σ(xᵢ − x̄)² / (n−1))
  • The (n−1) is Bessel's correction - prevents underestimating population spread
  • This is the default for most real-world statistical analysis

The Step-by-Step Calculation - Exactly What the Table Shows

Every standard deviation calculation follows these six steps - the table in the results section shows you each one for your data:

  1. Find the mean (x̄): Add all values and divide by count. For [10, 20, 30]: mean = 60/3 = 20
  2. Find each deviation (xᵢ − x̄): Subtract the mean from each value. Results: −10, 0, +10
  3. Square each deviation (xᵢ − x̄)²: Makes all values positive and amplifies larger gaps. Results: 100, 0, 100
  4. Sum the squares Σ(xᵢ − x̄)²: Add all squared deviations. Total: 200
  5. Divide by N (population) or n−1 (sample): Get the variance. Population: 200/3 ≈ 66.67. Sample: 200/2 = 100
  6. Take the square root: Get standard deviation. Population SD ≈ 8.165. Sample SD = 10

What the Other Statistics Mean

The full summary this calculator provides goes beyond just SD:

  • Variance: SD squared. Harder to interpret directly (it's in squared units) but mathematically useful in many formulas. SD = √Variance.
  • Coefficient of Variation (CV): SD divided by mean, expressed as a percentage. Lets you compare variability across datasets with different scales. A stock with CV of 5% is far more stable than one with CV of 40%.
  • Standard Error (SE): SE = SD / √n. Measures how precisely your sample mean estimates the true population mean. Smaller samples have larger standard error - more uncertainty about the true mean.
  • Median: The middle value when sorted. When the median and mean are very different, your data is skewed - the normal distribution bands on the bell curve may not apply perfectly.
  • Range: Max minus min. Quick but easily distorted by a single outlier - one extreme value blows up the range while SD remains informative.

The Empirical Rule - 68, 95, 99.7

For data that follows a normal distribution (the classic bell curve), the relationship between SD and the spread of data is precise and predictable:

  • μ ± 1σ contains 68.27% of the data - roughly 2 out of 3 values
  • μ ± 2σ contains 95.45% of the data - roughly 19 out of 20 values
  • μ ± 3σ contains 99.73% of the data - nearly all values

This is why values beyond 3σ are called statistical outliers - there's only a 0.27% natural probability of landing there. In manufacturing, "Six Sigma" quality control targets defect rates below 6 standard deviations - roughly 3.4 defects per million.

Where Standard Deviation Is Used in the Real World

  • Finance: Volatility of stocks and portfolios is measured as annualised SD of returns. Higher SD = higher risk. A fund with 20% annual SD is far more volatile than one with 5% SD.
  • Education: Standardised test scores (SAT, IQ) are designed so that mean = 100 (or 500) and SD = 15 (or 100). Z-scores tell you exactly where a student ranks.
  • Manufacturing / Quality Control: Six Sigma processes aim to keep defects within 6 standard deviations of the mean - 3.4 defects per million opportunities.
  • Medicine: Clinical trial results are evaluated by how many standard deviations the treatment effect lies from zero. This is the basis of p-values and statistical significance.
  • Weather forecasting: Forecast uncertainty is expressed as a range around the predicted value - often ± 1 SD of model ensemble spread.
  • Machine learning: Feature normalisation (standardisation) converts values to Z-scores (mean=0, SD=1) so that features with different scales don't dominate model training.