Standard Deviation Calculator

Free standard deviation calculator: paste any list of numbers to get sample and population SD, variance, mean, median, mode, quartiles and z-scores, with steps.

Paste or type a list of numbers, separated by commas, spaces or new lines, and this calculator returns the standard deviation and variance for both a sample (dividing by n − 1) and a whole population (dividing by N), along with the mean, median, mode, range, quartiles, interquartile range, standard error and z-scores. There is no limit on how many numbers you paste, the sums use compensated arithmetic for accuracy, and the working is shown step by step.

Runs entirely in your browser and works offline. Nothing you enter or upload leaves your device. Free, no sign-up.

Features

How to use Standard Deviation Calculator

  1. Paste your numbers into the box; any mix of commas, spaces, tabs or line breaks works.
  2. Choose whether the data is a sample or the whole population.
  3. Read the standard deviation, variance and the other statistics as you type.
  4. Optionally enter a value to get its z-score, or open the deviation table to see each step.

Frequently asked questions

What is the difference between sample and population standard deviation?

Use population standard deviation (σ, divide by N) when your numbers are every member of the group you care about. Use sample standard deviation (s, divide by n − 1) when the numbers are a sample used to estimate a larger population; dividing by n − 1 (Bessel’s correction) corrects the tendency of a sample to underestimate the spread.

How do you calculate standard deviation by hand?

Find the mean, subtract it from each value, square each difference, and add the squares. Divide that sum by n − 1 for a sample or by N for a population to get the variance, then take the square root. For 2, 4, 4, 4, 5, 5, 7, 9 the mean is 5, the squared deviations sum to 32, and the population SD is √(32 ÷ 8) = 2.

What does the standard deviation tell me?

It measures how spread out the numbers are around the mean, in the same units as the data. A small SD means values cluster near the average; a large one means they vary widely. For roughly normal data, about 68% of values lie within one SD of the mean and about 95% within two.

How are the quartiles calculated?

Quartiles use linear interpolation between the closest ranks, the same method as Excel’s QUARTILE.INC and PERCENTILE.INC and R’s default (type 7). Other textbooks split the data into halves instead, which can give slightly different Q1 and Q3 for small data sets.

What is a z-score?

A z-score says how many standard deviations a value is from the mean: z = (x − mean) ÷ SD. A z-score of 2 means the value is two standard deviations above the mean; negative scores are below it.

Is there a limit on how many numbers I can enter?

No. You can paste hundreds of thousands of values, for example a column copied from a spreadsheet. Text that is not a number, such as a header, is skipped and counted so you can check it.

Related tools

All free tools · This tool as Markdown