Variance Calculator

Sample or population • Raw list or value:count

Inputs

Separators: comma, space, newline, semicolon. Frequency format: value:count, where count must be a positive integer.
Turn this off to calculate population variance using n.
Large datasets are previewed in compressed form.

Action

Updating…

Use this Variance Calculator to calculate sample or population variance from a numeric dataset. Variance measures how spread out values are around their mean.

Calculation Method

Population variance:

σ² = Σ(x − μ)² ÷ N

Sample variance:

s² = Σ(x − x̄)² ÷ (n − 1)

Example

For:

2, 4, 6, 8

The mean is:

(2 + 4 + 6 + 8) ÷ 4 = 5

The sum of squared deviations is:

9 + 1 + 1 + 9 = 20

Population variance = 20 ÷ 4 = 5

Sample variance = 20 ÷ 3 ≈ 6.67

Important Note

Use population variance when the entered values represent the entire population being described. Use sample variance when the data are a sample used to estimate variability in a larger population.

Source

View Sponsored Offers →

Related Tools

Z-test Calculator

Use our Z-Test Calculator to compute z statistic, p-value, standard error, and critical z for one-sample or two-sample mean tests when sigma is known.

Margin of Error Calculator

Use our Margin of Error Calculator to find margin of error for a mean or proportion from sample size, confidence level, and z value.

IQ PERCENTILE CALCULATOR

Use our IQ Percentile Calculator to convert an IQ score into percentile rank, percent above, and percent below using SD 15 or SD 16 normal-distribution scales.

p-value Calculator

Use our P-value Calculator to calculate one-tailed or two-tailed p-values for Z, t, chi-square, and F test statistics.

Median Calculator

Use our Median Calculator to find the middle value of any data set. Supports raw numbers, value:count input, sorted preview, and instant live results.

Power Analysis Calculator

Use our Power Analysis Calculator to estimate sample size per group, statistical power, and minimum detectable effect for a two-sample mean test with alpha and standard deviation.

Confidence Interval Calculator

Use our Confidence Interval Calculator to find confidence intervals for a mean or proportion with standard error, critical value, margin of error, and lower and upper bounds.

Standard Deviation Calculator

Use our Standard Deviation Calculator to find sample or population standard deviation from a data set. Get variance, mean, range, and sorted values fast.

Chi-Square Calculator

Use our Chi-Square Calculator to run goodness-of-fit and independence tests, or find right-tail p-values and critical χ² values from df and alpha.