We use cookies.This website uses essential cookies to operate core features. With your consent, we also use analytics cookies to understand traffic and improve the service. For more details, see our .
If this tool helped you, you can buy us a coffee ☕
Free online variance calculator to quickly find sample variance, population variance, standard deviation, and mean. Easily evaluate data volatility and dispersion.
Enter at least 2 numbers. Supports separation by commas, spaces, newlines, or semicolons. Non-numeric input will be ignored.
Enter at least 2 numbers to calculate variance.
Students checking grade stability: You took 5 exams and scored 85, 92, 78, 90, and 88. Want to know if your grades fluctuate wildly or remain relatively stable? Enter these numbers into our calculator, select "Sample Variance," and the result will show the degree of fluctuation. For example, a variance of 60.8 and a standard deviation of about 7.8 points mean most scores fall within ±7.8 points of the average—not too much fluctuation.
Factory quality inspectors monitoring product weight: You sample 10 bags of potato chips labeled 50g, but the actual weights are 48.5, 51.2, 49.8... A high variance indicates the packaging machine is inaccurate and needs adjustment. Enter the data into our calculator to instantly get the dispersion.
Investors evaluating return volatility: Look at a fund's monthly return rates over the past 12 months; a higher variance means higher risk. Use our calculator, select "Population Variance," and compare the risk levels of different funds.
Variance measures how far a set of numbers is spread out from their average value. The calculation is simple: subtract the mean from each number, square the result, sum them up, and divide by the count (or count minus one).
Population Variance (used when you have the complete set of data):
σ² = Σ(xᵢ - μ)² / N
Where μ is the population mean and N is the total number of data points.
Sample Variance (used when estimating the population from a sample):
s² = Σ(xᵢ - x̄)² / (n - 1)
Here, x̄ is the sample mean and n is the sample size. The denominator uses n-1 instead of n because it provides an unbiased estimate of the population variance (known as "Bessel's correction" proven by statisticians), making it more accurate.
Pro Tip: In our calculator, simply enter your numbers in the "Data" box (separated by commas or spaces), choose "Sample Variance" or "Population Variance," and click calculate. The mean, variance, standard deviation, and sample size will instantly appear on the right.
Example Data: A student's 5 math quiz scores: 85, 92, 78, 90, 88 (in points).
Steps: In our calculator, enter 85 92 78 90 88, select "Sample Variance" as the calculation type, and click calculate.
Calculation Process (you can follow along manually):
Result Interpretation: The calculator shows a mean of 86.6 points, a variance of 29.8, and a standard deviation of 5.46 points. This means their scores deviate from the average by about 5.5 points. If they score 70 on the next test, it would be about 3 standard deviations below the mean, which is an extreme anomaly.
Comparison 1: Extreme case with identical data. Enter five 100s: 100, 100, 100, 100, 100, and select sample variance. Result: Mean 100, variance 0, standard deviation 0. This indicates zero fluctuation. This rarely happens in reality (e.g., theoretically zero deviation for parts produced consecutively by the same machine in the same batch).
Comparison 2: Difference between population and sample variance. If the test scores of all 30 students in a class are known (population), calculate the population variance directly. Select "Population Variance" in our calculator, enter the class scores, and you'll get σ². However, if you randomly sample 5 students, the sample variance will usually be slightly larger than the population variance (on average), providing a closer estimate of the population variance. You can toggle the calculation type with the same dataset to compare.
| Variance Size | Standard Deviation Size | Meaning |
|---|---|---|
| 0 | 0 | All data points are identical; no fluctuation. |
| Small (< 10% of mean) | Small (< 10% of mean) | Data is clustered around the mean; low fluctuation (e.g., height measurement errors). |
| Medium (10%~30% of mean) | Medium | Normal fluctuation range (e.g., daily stock returns). |
| Large (> 30% of mean) | Large | Data is highly dispersed; severe fluctuation (e.g., gambling wins/losses). |
Note: "Small" and "Large" are relative to the magnitude of the data itself. For example, housing price variance might be in the millions, which is common for the real estate market. Always interpret results within the specific context.
1. Why is the denominator for sample variance n-1 in your calculator?
Because using n-1 yields a sample variance closer to the true population variance. Using just n would, on average, underestimate the volatility (statistically called a biased estimator). This is the international statistical standard.
2. Can variance be a negative number?
No. Squares are always non-negative, so variance ≥ 0. If you get a negative number, there's an error in the input data (like non-numeric characters).
3. I have 10,000 numbers. Will this calculator lag?
Our calculator runs in your browser and smoothly handles hundreds of numbers. If you have over 5,000, we recommend processing them in batches or using professional software.
4. What is the relationship between variance and standard deviation?
Standard deviation = the square root of variance. Variance is used for mathematical operations (additivity), while standard deviation is used for everyday descriptions (consistent units).
5. How can I verify the results in Excel?
In Excel, use VAR.P(data range) for population variance and VAR.S(data range) for sample variance. The calculated numbers will match our tool.
6. What if I enter non-numeric characters?
The calculator automatically ignores non-numeric characters (like letters or parentheses). We recommend entering only pure numbers and separators.
Now you can try your own numbers in the calculator above.

Least Common Multiple (LCM) Calculator
Quickly calculate the least common multiple (LCM) of two or more integers. Supports space-separated number list input.

Prime and Composite Number Calculator
Instantly identify prime, composite, or special numbers. Supports batch checking and mathematical property analysis.

Trigonometry Calculator
Calculate six trigonometric functions from radian values with custom decimal precision.

Inverse Trigonometric Function Calculator
Accurately calculate radian values for inverse trig functions like arcsin and arccos. Supports 6 function types and custom decimal precision.

Least Common Multiple (LCM) Calculator
Quickly calculate the least common multiple (LCM) of two or more integers. Supports space-separated number list input.

Prime and Composite Number Calculator
Instantly identify prime, composite, or special numbers. Supports batch checking and mathematical property analysis.

Trigonometry Calculator
Calculate six trigonometric functions from radian values with custom decimal precision.

Inverse Trigonometric Function Calculator
Accurately calculate radian values for inverse trig functions like arcsin and arccos. Supports 6 function types and custom decimal precision.

Circle Area Calculator
Quickly calculate the area of a circle by entering the radius, diameter, or circumference. Supports custom units and precision settings.