Calculate population variance.
Sample Variance Calculator
Quick answer
If values are 12, 15, 15, 18, 22, 27, 31, the sample variance is 48.6667.
Sample variance: s² = Σ(x − mean)² ÷ (n − 1).
Enter your values
- 12
- 15
- 15
- 18
- 22
- 27
- 31
Sample Variance
48.6667
The average of the squared differences from the mean — the basis for standard deviation, in squared units.
More in Dispersion
All Dispersion calculators- DispersionOpen
Calculate sample standard deviation.
DispersionOpenCalculate population standard deviation.
DispersionOpenCalculate coefficient of variation.
DispersionOpenCalculate mean.
DescriptiveOpenCalculate median.
DescriptiveOpen
About the Sample Variance Calculator
Sample variance measures how spread out a sample of values is around its mean. It divides by n − 1 rather than n, which corrects for the fact that a sample tends to understate the spread of the whole group. Use it when your numbers are a sample, as in most surveys and experiments.
For 12, 15, 15, 18, 22, 27 and 31, the mean is 20 and the sample variance is about 48.67.
Sample variance
s² = Σ(x − mean)² ÷ (n − 1)
Things to keep in mind
- It needs at least two values.
- Variance is in squared units; take the square root to get the sample standard deviation.
- If you have the entire group rather than a sample, use population variance.
A quick guide to Sample Variance
Use it to get an accurate sample variance in seconds — free, with no sign-up.
Instant results
See your sample variance the moment you enter your numbers.
Free, no sign-up
Every calculator here is free to use, with no account required.
Accurate & transparent
The same standard formula runs on our server for every calculation.
How to Use the Sample Variance Calculator
Enter Values
Provide your values.
View Your Results
Get your sample variance instantly, calculated on our server.
What is Sample Variance?
This statistics & probability tool works out your sample variance instantly, so you don't have to do the math by hand.
“One quick calculation, so you always know your sample variance before you decide.”
What Affects Your Sample Variance
Your sample variance depends on the values below.
Values
Changing your values changes your sample variance.
Example Result
Here's what you can expect from a sample variance calculation:
- Sample Variance
- 48.6667
Frequently Asked Questions
- How to calculate sample variance?
- Fill in values in the Sample Variance Calculator above and your sample variance is calculated instantly. Change any value to see how the result responds.
- What does an example sample variance calculation look like?
- If values are 12, 15, 15, 18, 22, 27, 31, the sample variance is 48.6667.
- Is this calculator free to use?
- Yes — every calculator on this site is completely free, with no sign-up or account required.
- How accurate is this calculator?
- It uses the standard formula and calculates on our server for every request, so results are precise for the values you enter.
- Is my data saved anywhere?
- No. Nothing you enter is stored or sent anywhere unless you choose to share a link with your values included.
Customize this calculator
Pick a look, copy the code, and this Sample Variance calculator — with its inputs and results — runs on your own website.
Theme color
Match your brand's colors
Corner style
Sharp, soft or fully rounded
Widget width
Compact, standard or full width
Live preview
Full widthThe same inputs, result and chart as the calculator above, styled with your choices.