How it works
Calculate variance when the list is the entire population of interest. The squared deviations are divided by N, not N−1.
Inputs and units
| Input | Example value | What to enter |
|---|---|---|
| Numbers | 2 4 4 4 5 5 7 9 | Separate numbers with spaces or semicolons; use a decimal point. |
Worked example
Show example inputs and results
This example is generated by the same calculation engine using the starting values in the form. Your own inputs produce your own result.
- Numbers
- 2 4 4 4 5 5 7 9
Complete example results
- Population variance
- 4
Reading the result
Keep the list to one kind of measurement. Outliers can affect the mean; sample and population formulas use different denominators. The tool applies its stated method and does not establish the quality of your data.
Calculate squared distances from the mean
For the complete population 2, 4 and 6, the mean is 4. The deviations are −2, 0 and 2; their squares add to 8. Dividing by all 3 observations gives population variance 8/3 ≈ 2.66666667. Squaring prevents positive and negative deviations from cancelling each other.
Decide whether the list is the whole population
The denominator is N because the entries represent the entire population you want to describe. When a list is a sample used to estimate a larger population, the sample method uses n − 1 instead. Variance has squared units: for inputs in metres, variance is in square metres. Standard deviation takes the square root to return to the original unit.
Questions and answers
Can I use the example values for my own calculation?
The example values illustrate the calculation. Replace every input with your own information, especially dates, rates and the selected operation.
Why are some results rounded?
Results display up to 8 decimal places. Calculations use the unrounded values; very small values use scientific notation. JavaScript floating-point arithmetic can introduce tiny rounding differences.
Are my inputs sent to a server?
The calculator processes inputs in your browser. Its code does not send your values to a server.