Variance Calculator

Enter your data set as comma-separated numbers, choose Sample or Population, and the Variance Calculator returns the variance, standard deviation, mean, count (n), and sum of squares — all computed from your values in one step.

Use 'Sample' if your data is a subset of a larger population. Use 'Population' if you have data for the entire group.

Enter numbers separated by commas, spaces, or line breaks.

Results

Variance

--

Standard Deviation

--

Mean

--

Count (n)

--

Sum of Squares (SS)

--

Data Distribution

Results Table

Frequently Asked Questions

What is variance?

Variance is a statistical measure of how spread out data points are from their mean. A low variance means data points are clustered close to the mean, while a high variance means they are widely dispersed. It is calculated as the average of the squared differences from the mean.

What is the difference between sample variance and population variance?

Population variance (σ²) divides the sum of squared differences by n (the total count), and is used when you have data for an entire population. Sample variance (s²) divides by n−1 instead, applying Bessel's correction to produce an unbiased estimate when your data is a subset of a larger population.

Which should I use — sample variance or population variance?

Use population variance only if your data set represents the complete population you are studying. In most real-world research and analysis, you are working with a sample, so sample variance (dividing by n−1) is the appropriate choice. When in doubt, use sample variance.

How is variance calculated step by step?

First, find the mean by summing all values and dividing by n. Then subtract the mean from each data point and square each result. Sum all those squared differences to get the Sum of Squares (SS). Finally, divide SS by n for population variance or by n−1 for sample variance.

What is the relationship between variance and standard deviation?

Standard deviation is simply the square root of variance. While variance expresses spread in squared units (which can be hard to interpret), standard deviation is expressed in the same units as your original data, making it more intuitive for practical interpretation.

How do I enter data into the variance calculator?

Type or paste your numbers into the Data Set field, separated by commas, spaces, or line breaks. You can copy data directly from a spreadsheet or document. Non-numeric values and empty entries are automatically ignored.

What is the Sum of Squares (SS)?

The Sum of Squares is the total of all squared deviations from the mean: SS = Σ(xᵢ − x̄)². It is an intermediate step in computing variance — variance equals SS divided by n (population) or n−1 (sample). A larger SS indicates greater overall spread in the data.

Can variance be negative?

No. Variance is always zero or positive because it is based on squared differences, and squaring any real number always produces a non-negative result. A variance of zero means all data points are identical.

More Statistics Tools