Skip to content

Standard Deviation Calculator

Type or paste a list of numbers, separated by spaces, commas or new lines, and get the count, sum, mean, median, mode, minimum, maximum and range, then the variance and the standard deviation twice: as a population (divide by n) and as a sample (divide by n − 1), together with the standard error of the mean. Sums are compensated, so a list like 0.1, 0.2, 0.3 gives exactly 0.6 rather than a trail of decimals. Use it for a class of marks, a set of measurements or a column copied from a spreadsheet; the numbers stay in your browser.

Up to 5,000 values. They stay in your browser.

Population standard deviation (σ, divides by n)

2

Sample standard deviation (s, divides by n − 1): 2.13808994
Count (n)
8
Sum
40
Mean
5
Median
4.5
Mode
4
Minimum
2
Maximum
9
Range
7
Population variance
4
Sample variance
4.57142857
Standard error of the mean
0.75592895

Use the population value when your list is the whole group, the sample value when it is a sample of a larger group. Standard error = sample deviation ÷ √n. Sums are compensated, so 0.1 + 0.2 shows as 0.3, and every result is shown to at most 8 decimal places (values smaller than 0.000000005 show as 0).

How it works

  1. Paste your numbers in the box, one per line or separated by spaces, commas or semicolons. Use a dot for decimals.
  2. Read the mean, median and mode, then the spread: range, variance and standard deviation.
  3. Pick the right deviation: the population value if your list is everything you care about, the sample value if it is a sample drawn from a larger group.
  4. Copy the summary to paste it in a report or a message.

What people use it for

  • Describing a set of marks or measurements

    See at a glance whether the values are tightly grouped around the mean or widely spread.

  • Checking a lab or survey sample

    Get the sample standard deviation and the standard error of the mean to report how precise your average is.

  • Cleaning a spreadsheet column

    Paste a column and check the median against the mean to spot a few extreme values pulling the average.

Questions

What is the difference between population and sample standard deviation?
Both start from the squared distances of each value to the mean, added together. The population variance divides that sum by n and is right when your list is the whole group. The sample variance divides by n − 1 and is right when your list is a sample used to estimate a larger group, because a sample sits closer to its own mean than to the true one. The standard deviation is the square root of the variance. For 2, 4, 4, 4, 5, 5, 7, 9 the mean is 5, the sum of squares is 32, so the population standard deviation is √(32 ÷ 8) = 2 and the sample one is √(32 ÷ 7) ≈ 2.138.
What are the standard error, the median and the mode?
The standard error of the mean is the sample standard deviation divided by √n; it shrinks as you collect more values and tells how far the average of another sample of the same size might land. The median is the middle value of the sorted list, or the average of the two middle values when n is even. The mode is the value that appears most often; when every value is different the page says there is no mode, and when several tie it lists them all.
Why is a list of one number only partly answered?
With a single value the population deviation is 0, but a sample deviation would divide by n − 1 = 0, which is undefined, so the sample variance, sample deviation and standard error are shown as not available. You need at least 2 values for them.
What are the limits and how are the numbers read?
Up to 5,000 values, at most 100,000 characters, and each value within ±1e15. Values are separated by spaces, commas, semicolons or new lines, so write 2.5 and not 2,5. Scientific notation such as 1.5e3 is accepted. The sum and the sum of squared distances use compensated addition and results are rounded to 12 significant digits, which hides binary rounding noise, and shown with at most 8 decimal places.