<link rel="stylesheet" type="text/css" href="/mirawhite.css">

Standard deviation calculator

Paste or type your numbers, separated by commas, spaces or new lines. This free calculator gives the mean, median, mode, quartiles, and the variance and standard deviation of both the population and a sample, in a table you can copy.

Free, no sign-up, no limit Runs in your browser: your text and files are never sent or saved.

Standard deviation calculator

Separators: new line, space, semicolon or comma. Decimals with a dot (12.5).
Quartile method

Statistics

Paste or type at least one number to see the statistics.

How to use it

  1. Paste your numbers, one per line or separated by commas, spaces or semicolons. Use a dot for decimals: 12.5.
  2. If your data is grouped, tick "Values with counts" and write one value per line with its count: "12 x3" or two columns.
  3. Choose the quartile method, then read or copy the results table.

Example

Input

2, 4, 4, 4, 5, 5, 7, 9

Output

Mean 5 · standard deviation 2 (population) · 2.14 (sample)

Good to know

  • Population or sample? Divide by n when your numbers are the whole group you care about (every student in the class). Divide by n − 1 when they are a sample used to estimate a larger group: the sample standard deviation is slightly larger.
  • On this English page, a comma separates values, so write 1000 rather than 1,000. Decimals use a dot.
  • Quartiles have several definitions. Linear interpolation matches Excel QUARTILE.INC; the rank method (used in French schools) takes the value at rank ⌈n/4⌉. Results can differ on small data sets.
  • Text that is not a number is ignored and listed above the results, so check it if you pasted a header or a unit.
  • The coefficient of variation is the population standard deviation divided by the mean; it has no meaning when the mean is 0 or values mix signs.

Frequently asked questions

How do you calculate standard deviation by hand?

Find the mean, subtract it from each value and square the result, add the squares, divide by n (population) or n − 1 (sample), then take the square root. For 2, 4, 4, 4, 5, 5, 7, 9: the mean is 5, the squares add up to 32, 32 ÷ 8 = 4 so σ = 2, and 32 ÷ 7 = 4.57 so s = 2.14.

Should I use the sample or the population standard deviation?

Use the population formula (divide by n) when your data covers the whole group, such as every score in one class. Use the sample formula (divide by n − 1) when the data is a sample used to estimate a larger group, the usual case in lab work and surveys. The calculator shows both.

How do I find standard deviation on a TI-84?

Press STAT, choose 1:Edit and type the values in L1, then press STAT, go to CALC and choose 1:1-Var Stats. Sx is the sample standard deviation and σx the population one. Paste the same list here to check the result and get the quartiles and variance as well.

What is the Excel formula for standard deviation?

=STDEV.S(A2:A20) gives the sample standard deviation and =STDEV.P(A2:A20) the population one; =VAR.S and =VAR.P return the variances. The older STDEV function matches STDEV.S. Google Sheets uses the same names.

How do I calculate standard deviation from a frequency table?

Tick “Values with counts” and type each value with its count on one line, such as “12 x3”, or paste two columns from a spreadsheet. Each value is weighted by its count, exactly as if you had typed it that many times.

What does the standard deviation tell me?

It measures how far values typically are from the mean, in the same unit as the data. In a roughly normal distribution, about 68% of values lie within one standard deviation of the mean and about 95% within two. To compare spreads across different scales, use the coefficient of variation shown in the table.

← Back to all tools