Variance Calculator
Calculate variance using your data.
Loading calculator…
What this tool does
Calculate variance using your data. Variance is in squared units. Use the sample form (n−1) for a sample, the population form (N) when the data are the whole population.
How to use the Variance Calculator
- Enter or select numbers (comma or whitespace separated).
- Read the calculated result; change any measurement to compare alternatives.
Formula
population variance σ² = Σ(x−μ)²/N; sample variance s² = Σ(x−x̄)²/(n−1)
- data
- Numbers (comma or whitespace separated)
Variance is in squared units. Use the sample form (n−1) for a sample, the population form (N) when the data are the whole population.
Worked example
For variance calculator, the following measurements illustrate the exact method: Numbers (comma or whitespace separated): 2,4,4,4,5,5,7,9.
Inputs
- Numbers (comma or whitespace separated)2,4,4,4,5,5,7,9
Result
- Sample variance (s²)4.57
- Population variance (σ²)4
- Sample standard deviation2.14
- Population standard deviation2
- Mean5
- Count8
Results explained
- Sample variance (s²)
- Sample variance (s²) from the formula above. Variance is in squared units. Use the sample form (n−1) for a sample, the population form (N) when the data are the whole population.
- Population variance (σ²)
- Population variance (σ²) from the formula above. Variance is in squared units. Use the sample form (n−1) for a sample, the population form (N) when the data are the whole population.
- Sample standard deviation
- Sample standard deviation from the formula above. Variance is in squared units. Use the sample form (n−1) for a sample, the population form (N) when the data are the whole population.
- Population standard deviation
- Population standard deviation from the formula above. Variance is in squared units. Use the sample form (n−1) for a sample, the population form (N) when the data are the whole population.
- Mean
- Mean from the formula above. Variance is in squared units. Use the sample form (n−1) for a sample, the population form (N) when the data are the whole population.
- Count
- Count from the formula above. Variance is in squared units. Use the sample form (n−1) for a sample, the population form (N) when the data are the whole population.
Frequently asked questions
population variance σ² = Σ(x−μ)²/N; sample variance s² = Σ(x−x̄)²/(n−1)
Variance is in squared units. Use the sample form (n−1) for a sample, the population form (N) when the data are the whole population.
Enter numbers only, in the units and format each label describes. Remove missing values rather than substituting zero, unless zero is a real observation.
No. Results describe the numbers you entered. Statistical inference also depends on sampling design, independence, model fit and interpretation; a p-value is not the probability that a hypothesis is true.
No. Every calculation, including the distribution algorithms, runs entirely in your browser.