Standard Deviation Calculator tool

Standard Deviation Calculator

A standard deviation calculator computes the spread of a dataset around its mean.

What is a standard deviation calculator?

A standard deviation calculator measures how far data points spread from the mean. Paste numbers and it returns population standard deviation (divide by n) and sample standard deviation (divide by n−1), plus mean, median, range, and a chart of points within one SD of the mean.

How to use the Standard Deviation Calculator

  1. Enter numbers separated by commas or spaces.
  2. Review the distribution chart around the mean.
  3. Read count, mean, median, and range.
  4. Compare population σ and sample s side by side.
  5. Use blue tags to see values within one SD.

About this calculator

A standard deviation calculator computes the spread of a dataset around its mean. A low standard deviation means values are clustered close to the mean; a high standard deviation indicates values are spread widely.

Standard deviation is used in statistics, quality control, finance (measuring investment volatility), and science. The calculator provides both population standard deviation (for complete datasets) and sample standard deviation (for a sample from a larger population).

How the math works

σ=∑i=1N(xi−μ)2N\sigma = \sqrt{\frac{\sum_{i=1}^{N}(x_i - \mu)^2}{N}}
  • μ\mu: Mean of the dataset
  • xix_i: Each individual data point
  • NN: Total number of data points
  • σ\sigma: Population standard deviation

Standard deviation example: six Lost-style numbers

Data: 4, 8, 15, 16, 23, 42 (n = 6). Mean = (4+8+15+16+23+42) ÷ 6 = 18. Squared deviations from 18 sum to 910. Population variance = 910 ÷ 6 ≈ 151.67, so σ ≈ 12.3153. Sample variance = 910 ÷ 5 = 182, so s ≈ 13.4907.

Values within one population SD lie roughly between 5.68 and 30.32; only 4 and 42 fall outside that band on the chart.

If these were marks for the whole class, report σ. If they were a random sample of students, report s because n−1 correction better estimates spread in the full school. Factory QC teams watch when readings exceed two SD from the batch mean.

Common uses

  • Measure the variability of test scores in a class
  • Calculate investment return volatility for portfolio analysis
  • Assess manufacturing consistency through process standard deviation
  • Identify outliers more than 2–3 standard deviations from the mean

Frequently asked questions

What is the difference between population and sample standard deviation?

Population SD divides by N (total observations) and is used when you have data for the entire population. Sample SD divides by N−1 (Bessel's correction) and is used when your data is a sample from a larger population. Sample SD is slightly larger, which corrects for underestimation when working with samples.

What is the standard deviation of 2, 4, 6, 8, and 10?

Mean = 6. Population SD = 2.8284 because variance = 8 when dividing by 5. Sample SD = 3.1623 dividing by n−1 = 4. Enter the list to see both σ and s with four decimal places.

When should I report sample SD instead of population SD?

Use sample SD when your list is a sample from a bigger group, such as one section's marks out of the whole school. Use population SD only when the list is the entire population you care about.

Why is sample standard deviation slightly larger?

Dividing by n−1 instead of n (Bessel's correction) compensates for using the sample mean in place of the unknown population mean. With only a few points the gap is visible; with large n the two SD values converge.

What is the standard deviation of marks 10, 12, 14, 16, and 18?

Mean = 14. Deviations are −4, −2, 0, 2, 4 with sum of squares 40. Population SD = √(40/5) = 2.8284. Sample SD = √(40/4) = 3.1623. Enter the five marks to see both on the cards.

Related calculators

Maintained by J Jaya Prakash · Last updated: October 2026