Skip to content
OddsockLocal
Local
Percentile (0–100)
90

Count4

Mean
5
Median
5
Mode
None
Population variance
5
Population SD
2.24
Sample variance
6.67
Sample SD
2.58
Q1
3.5
Q3
6.5
IQR
3
P10
2.6
P90
7.4
P99
7.94
Outliers
None
Count: 4Runs in this browser. Nothing is uploaded.

Ready

How to use

  1. Enter the numbers, separated by commas or spaces.
  2. Read the population SD if the list is the whole group.
  3. Read the sample SD if the list is a sample from a larger group.
  4. The variance lines are the squares of those deviations: 5 and 6.67.

What is Standard deviation?

Population deviation divides the squared spread by the count. Sample deviation divides by the count minus one. On 2, 4, 6, 8 the mean is 5. The deviations are −3, −1, +1, and +3. The squared deviations sum to 20. Divide by 4 and the population variance is 5, so the population standard deviation is the square root of 5, which is 2.24. Divide by 3 and the sample variance is 6.67, so the sample standard deviation is 2.58. The extra division by n − 1 is Bessel's correction: a sample's own mean understates the spread of a larger population.

Read more

Use the population figures when the list is the entire group you care about, these four numbers and no others. Use the sample figures when the four are a sample and you are estimating a wider group. Spreadsheet STDEV.P is the population line. STDEV.S is the sample line. With one number, the sample deviation is undefined, because n − 1 is 0.

The page also prints the mean, median, quartiles, percentiles, and outliers, the same bundle as the statistics page. Open this one when the argument is which deviation you meant. The list can be typed or dropped in as a text file of numbers.

Use cases

  • A student computing both standard deviations of 2, 4, 6, 8 and seeing 2.24 and 2.58.
  • An analyst choosing STDEV.S versus STDEV.P and matching those names to the two lines.
  • A teacher showing that the squared deviations sum to 20 before the division.
  • A lab with the full batch of measurements, who should read the population line.
  • A survey with a sample of four, who should read the sample line and not pretend n is the whole population.

Spread of 2, 4, 6, and 8

Values 2, 4, 6, 8.

Mean 5. Population variance 5, population SD 2.24. Sample variance 6.67, sample SD 2.58.

Why use Oddsock

Oddsock runs this in your browser. It is free, it does not upload the work, and it does not ask for an account.

Related tools

Using this tool

The population standard deviation is 2.24. The sample standard deviation is 2.58. They divide the same sum of squares, 20, by 4 and by 3.