Standard Deviation Calculator

Compare population and sample variance and standard deviation, with the deviation steps shown.

On-device No sign-up Free to use

Calculate the spread controls

Showing an example. Edit to see your own.

?

Write one number per entry, with a decimal point and no thousands separators. Choose the separator used by your list. Blank lines are ignored.

?

Detect counts commas, semicolons, tabs and line breaks and uses the one that appears most often. When none appear, spaces separate values.

Population or sample
?

Use the population calculation when the list is the whole set you are measuring. Use the sample calculation when the list is a part of a larger set.

?

On by default: lists each value with its deviation from the mean and the squared deviation. Available for lists of up to 50 values.

More options

Processed in your browser. Your inputs stay on this device.

Result

Showing an example.

Population standard deviation of 2, 4, 4, 4, 5, 5, 7 and 9.

8 numbers. Population variance 4, standard deviation 2 (divide by n). Sample variance 4.571429, standard deviation 2.13809 (divide by n - 1). The selected population calculation uses n = 8.
Answer: Standard deviation 2
Formula: Standard deviation = √4 = 2

https://usefreetools.net/standard-deviation-calculator · 20 November 2026

Was this helpful?

How to use Standard Deviation Calculator

  1. Paste one numeric list into Numbers to measure. Use decimal points and no thousands separators.
  2. Choose How the numbers are separated, or keep Detect from the text. Fix any unreadable entry named in the error.
  3. Choose Population or sample and Decimal places. The selected convention controls the headline; both spread figures appear in the summary table.
  4. Leave Add the deviation table on to inspect the working for up to 50 values. Turn it off for the summary alone.

Example: Standard Deviation Calculator

Population standard deviation of 2, 4, 4, 4, 5, 5, 7 and 9.

You add
Numbers to measure: 2, 4, 4, 4, 5, 5, 7, 9 How the numbers are separated: Detect from the text Population or sample: Population (divide by n) Decimal places: 6 Add the deviation table: true
You get
8 numbers. Population variance 4, standard deviation 2 (divide by n). Sample variance 4.571429, standard deviation 2.13809 (divide by n - 1). The selected population calculation uses n = 8. Answer: Standard deviation 2 Formula: Standard deviation = √4 = 2

Options

Population or sample
Population (divide by n) treats the list as the whole set. Sample (divide by n - 1) treats it as part of a larger set and needs two values.
Add the deviation table
Lists each value with its deviation from the mean and the squared deviation, for up to 50 values. Longer lists return the summary alone.
How the numbers are separated
Detect from the text takes the separator that appears most often; when none is found, spaces separate values.

Supported inputs and limits

  • Up to 10,000 numbers and 200,000 characters, with up to 80 significant digits per number and a decimal exponent from -999 to 999.
  • Use decimal points without thousands separators.
  • In comma mode, 1,000 is two entries; other separator choices may reject it.
  • Population mode accepts one value; sample mode requires at least two.
  • The selected convention drives the headline, while the summary includes both population and sample figures where defined.
More details

Deviation working is available for at most 50 values.

Arithmetic uses 80 significant digits before display rounding.

This describes the entered list; it is not a confidence interval, hypothesis test or guarantee about a wider population.

Where your input is processed

This tool does not upload your inputs. See the limits for anything saved on your device.

Variance and standard deviation use different units

Squaring each distance from the mean is why variance comes out in squared units, so values in kilograms give a variance in kilograms squared. The standard deviation is its square root and returns to the input unit, which is why it is read beside the mean. The table prints the sum of squared deviations so the arithmetic can be followed.

Why the sample formula divides by n - 1

The mean is estimated from the same sample as the spread. The sample-variance convention sums squared deviations from that sample mean and divides by n - 1 rather than n. Taking its square root gives the displayed sample standard deviation. Choose this when the list is a sample of the population you want to describe; the calculation still cannot establish whether your sample is representative.

Questions about Standard Deviation Calculator

Should I choose population or sample?

Population when the list is the whole set, sample when it is part of a larger set. The only difference is the denominator, n or n - 1.

Why is the sample standard deviation larger?

For 2, 4, 4, 4, 5, 5, 7 and 9 the population figures are variance 4 and standard deviation 2. Sample mode divides by 7, giving variance 4.571429 and standard deviation 2.13809.

Why is variance in different units from the input?

Each deviation is squared before averaging, so variance is in squared units. The standard deviation is its square root and returns to the input unit.

Can the standard deviation be zero?

Yes, when every value is identical. Every deviation is then zero, so the variance and the standard deviation are zero too.

Page updated · Project managed by Tony Hines · Report a problem with Standard Deviation Calculator