Variance Calculator

Sample variance, standard deviation and mean — with worked steps

Enter your data to calculate the variance instantly. The calculator also shows the mean, standard deviation and a full step-by-step breakdown.

Enter Your Data Points

Textbooks differ — pick the method yours uses.

Results

Sample variance3.3333
Mean6

Five Number Summary

Minimum3
Q1 (25th)5
Median6
Q3 (75th)7
Maximum9
Interquartile range (IQR)2
Count (n)10
Outliers (1.5 × IQR rule)None

Additional Statistics

Mean (average)6
Mode5, 6, 7
Range6
Sum60
Std deviation (sample)1.8257
Std deviation (population)1.7321
Variance (sample)3.3333
Mean absolute deviation1.4
Coefficient of variation0.3043
Standard error of the mean0.5774
10th percentile3.9
90th percentile8.1
Lower inner fence (Q1 − 1.5·IQR)2
Upper inner fence (Q3 + 1.5·IQR)10

Box & Whisker Plot

Histogram

Step-by-step solution

Export & Share

The share link reproduces your exact data and settings — paste it in an email, chat, or assignment and anyone who opens it sees the same results.

Saved Datasets

Saved to this device only (browser local storage). Use a share link to move data between devices.

What is variance?

Variance measures how far a set of numbers is spread out from their mean. It is the average of the squared deviations from the mean. Squaring the deviations keeps positive and negative differences from cancelling out and gives extra weight to values that lie far from the centre.

Variance and standard deviation

Variance and standard deviation describe the same spread, just on different scales: the standard deviation is simply the square root of the variance. Variance is expressed in squared units (for example, "dollars squared"), which is why the standard deviation — back in the original units — is often easier to interpret. This page reports both.

Sample vs. population variance

Sample variance divides the sum of squared deviations by n − 1 and estimates the variance of a larger population from a sample. Population variance divides by n and is used when your numbers represent the whole group. The calculator above reports the sample variance; the population variance is the square of the population standard deviation shown in the additional statistics.

Frequently asked questions

What is the difference between variance and standard deviation?

Standard deviation is the square root of variance. Variance is in squared units; standard deviation is in the original units, which usually makes it easier to interpret.

Why divide by n − 1 for sample variance?

Dividing by n − 1 (Bessel’s correction) compensates for the fact that a sample tends to underestimate the true spread of the population it came from.

Can variance be negative?

No. It is an average of squared values, so it is always zero or positive, and it is zero only when every value is the same.

Related calculators

Guides & how-tos