Math & Statistics

Statistics calculator

Standard Deviation Calculator

A standard deviation calculator measures how spread out a set of numbers is around their mean. Enter your values and choose how many to use; it returns the sample standard deviation (s, divides by n−1) and the population standard deviation (σ, divides by n), plus the mean, both variances, and the range. A step-by-step table shows each value minus the mean and its squared deviation, and the chart marks the mean ± one standard deviation. A small standard deviation means values cluster near the average; a large one means they scatter widely. You can download the full breakdown as an Excel file.

Updated 3 June 2026No sign-in requiredMath & Statistics calculator

Enter Your Numbers

1
2
3
4
5

5 values · zero is treated as real data.

Sample Standard Deviation (s)

2.5884

Use when data is a sample from a larger population (divides by n−1).

Population Std Dev (σ)

2.3152

Use when data is the entire population (divides by n).

Mean (Average)

11.2000

Sum of all values divided by count.

Sample Variance (s²)

6.7000

Standard deviation squared (sample version).

Population Variance (σ²)

5.3600

Standard deviation squared (population version).

Range

7.0000

Maximum minus minimum value.

Minimum

8.0000

Smallest value in the dataset.

Maximum

15.0000

Largest value in the dataset.

Report an issue

Mean ± Standard Deviation

Add your numbers to see the visual breakdown.

Step-by-step deviation table

Each value minus the mean, then squared. The squared column sums to Σ(xᵢ − x̄)², which the formula divides by N (population) or N−1 (sample) before taking the square root.

Value (xᵢ)Deviation (xᵢ − x̄)Squared deviation (xᵢ − x̄)²
10-1.21.44
120.80.64
8-3.210.24
153.814.44
11-0.20.04
Σ (sum)26.8

How It Works

Standard deviation measures how spread out values are from the mean — a larger SD means more variability.

σ = √(Σ(xᵢ − x̄)² / N) | s = √(Σ(xᵢ − x̄)² / (N−1))
  • Population SD (σ) divides by N — use when you have data for the entire group being studied.
  • Sample SD (s) divides by N−1 (Bessel’s correction) — use when your data is a sample representing a larger population.
  • Most practical applications (surveys, experiments, quality control) use sample SD because full population data is rarely available.
  • Variance is the square of standard deviation; SD is in the same units as the data while variance is in squared units.

Worked Example

Dataset: 10, 12, 8, 15, 11 (n = 5).

Mean

(10+12+8+15+11) / 5 = 11.2

Squared deviations

(10−11.2)² + (12−11.2)² + (8−11.2)² + (15−11.2)² + (11−11.2)²

Sum of sq. dev

1.44 + 0.64 + 10.24 + 14.44 + 0.04 = 26.80

Population variance

26.80 / 5 = 5.36 → σ = 2.315

Sample variance

26.80 / 4 = 6.70 → s = 2.588

Range

15 − 8 = 7

The dataset has a sample SD of 2.588, meaning values typically deviate from the mean (11.2) by about 2.6 units.

Understanding Standard Deviation

Measuring the spread around the mean

This tool measures how spread out a set of numbers is. You enter your values and a count, and it returns the sample and population standard deviation, the matching variances, the mean, and the range. In short, it tells you not just where the data centers but how widely it scatters around that center.

Spread matters as much as the average in surveys, lab results, test scores, quality control, and finance. Two datasets can share the same mean yet behave completely differently — the standard deviation is the number that captures that difference.

How standard deviation is calculated

The method has four steps: find the mean, subtract it from each value to get the deviations, square those deviations and average them (that average is the variance), then take the square root to return to the original units. The square root is what makes the standard deviation directly comparable to your data.

Squaring is the key step. It removes negative signs so deviations do not cancel out, and it gives extra weight to values that sit far from the mean. That is also why a single outlier can move the standard deviation a lot.

Sample versus population

Use the population standard deviation (σ) when your data is the entire group you care about — every item, with nothing left out. Use the sample standard deviation (s) when your data is a sample meant to represent a larger group, which is the usual case in research.

The only difference is the divisor: population divides by n, while sample divides by n−1. That smaller divisor makes the sample value slightly larger, correcting for the tendency of a sample to understate the true spread of the whole population.

What an SD value tells you

Standard deviation is in the same units as your data, so an SD of 2.6 on test scores means values typically sit about 2.6 points from the mean. A small SD means the data clusters tightly; a large one means it is widely scattered.

For roughly bell-shaped data, the empirical rule helps: about 68% of values fall within one SD of the mean, about 95% within two, and about 99.7% within three. That turns a single number into a quick map of where most of your data lives.

A worked example

For the dataset 10, 12, 8, 15, 11, the mean is 11.2. The squared deviations are 1.44, 0.64, 10.24, 14.44, and 0.04, which sum to 26.8. Dividing by n (5) gives a population variance of 5.36 and σ ≈ 2.315.

For the sample version, divide the same 26.8 by n−1 (4) to get a variance of 6.70 and s ≈ 2.588. So the typical value lies about 2.6 units from the mean of 11.2 — and notice the sample SD is a bit larger, exactly as the n−1 divisor predicts.

Outliers, skew, and the eight-value cap

Standard deviation assumes meaningful numeric data and at least two values; a single value has no spread. It is also sensitive to outliers and can be misleading for heavily skewed distributions, where the median and interquartile range often describe the data better.

This calculator handles up to eight values, which is plenty for learning and quick checks but not for large datasets — use a spreadsheet or statistics package for those. Always set the count to match exactly how many values you entered.

Assumptions & Best Uses

  • Values are numerical and quantitative (not categorical).
  • The "count" field must match the number of values filled in.
  • Values left at 0 are treated as actual data points only if they are within the count range — set count carefully.

Limitations

  • This calculator supports up to 8 values. For larger datasets, use a spreadsheet (Excel STDEV function) or statistical software.
  • SD can be misleading for heavily skewed distributions — consider also examining the median and IQR.
  • Outliers significantly inflate standard deviation — always inspect raw data for anomalies before reporting SD.

Frequently Asked Questions

When should I use population vs sample standard deviation?

Use population SD (σ, divide by N) when your data IS the entire group you’re studying — e.g., scores for all 30 students in a specific class. Use sample SD (s, divide by N−1) when your data is a sample representing a larger population — e.g., a survey of 500 voters representing millions. In most real-world research, use sample SD.

What does standard deviation mean in plain English?

SD tells you "on average, how far are the data points from the mean?" A small SD means data clusters tightly around the average; a large SD means values are spread out. For a normal distribution: ~68% of data falls within 1 SD of the mean, ~95% within 2 SDs, and ~99.7% within 3 SDs.

What is the difference between variance and standard deviation?

Variance is the average of squared deviations from the mean. Standard deviation is the square root of variance. SD is easier to interpret because it’s in the same units as the original data (e.g., dollars, not dollars²). Variance is used in statistical formulas; SD is used to communicate results.

What is a "good" or "normal" standard deviation?

There is no universal "good" SD — it depends entirely on context. For a dataset of heights in inches, an SD of 3 is normal. For daily stock returns, an SD of 1–2% is typical. For manufacturing tolerances, you want the smallest possible SD. Always interpret SD relative to the mean and the domain.

Why is the sample standard deviation larger than the population version?

The sample formula divides by n−1 instead of n, and dividing by a smaller number produces a larger result. This deliberate "Bessel’s correction" compensates for the fact that a sample tends to underestimate the spread of the full population it came from.

How does an outlier affect the standard deviation?

A single extreme value can inflate the SD sharply, because the formula squares each distance from the mean — so a far-off point contributes a very large squared term. Always inspect your data for typos or anomalies before trusting an SD, and consider the median and IQR for skewed data.

Sources & References

Figures on this page are checked against primary, authoritative sources. Links open in a new tab.

Related Calculators

Note

This calculator is an educational tool. For graded coursework, exams, or professional work, double-check the method and rounding against your own requirements.

Built and maintained by Calculator Matters, an independent calculator project. Method checked against published formulas and primary sources · Last reviewed 3 June 2026 · How we calculate · Found an error? corrections@calculatormatters.com