Sample & Population Variance Standalone Solver

Sample & Population Variance / Standard Deviation Calculator

Calculate sample variance (s² with Bessel's n-1 correction), population variance (σ²), standard deviation, sum of squares (SS), and CV.

Found 8 valid numerical observation(s) | Sample Mean (x̄) = 21.25

Dispersion Statistics Client-Side Execution
Sample Variance (s²)

39.07

s = 6.25 (Std Dev)
Population (σ²)

34.19

σ = 5.85 (Std Dev)
Sum of Squares (SS)

273.5

Σ (x - x̄)²
Coeff of Variation (CV)

29.4%

Relative dispersion

At a Glance

Category
Statistics
Best For
Students and analysts who need the variance and spread of a data set
Privacy
100% in your browser: nothing you enter is uploaded
Time Required
Under a minute
Cost
Free
Updated
November 2026

Quick Overview

What This Tool Does

Finds the mean of your numbers, adds up the squared distances from the mean, and divides by n − 1 for the sample variance or by n for the population variance. It also gives the standard deviations and the coefficient of variation.

Who Should Use It

Statistics students, researchers, quality analysts and anyone comparing the consistency of data sets.

When to Use It

When you need the variance itself, for example for an exam question, an ANOVA step or a measure of risk.

Why It Is Useful

Variance quantifies spread in a single number, and the coefficient of variation lets you compare spread across data with different units or averages.

Key Features & Capabilities

Sample and population versions

Both variances are shown, so you can choose the right one.

Sum of squares included

The intermediate sum of squared deviations is displayed for checking your work.

Coefficient of variation

Standard deviation as a percentage of the mean, for comparing spread across data sets.

Private

Calculated in your browser.

How to Use This Tool

1

Enter your numbers

Type or paste the values separated by commas or spaces. Tip: A spreadsheet column pastes directly.

2

Choose sample or population

Use sample variance for a subset of a larger group and population variance when you have every value. Tip: When unsure, use the sample variance.

3

Read the dispersion statistics

Variance, standard deviation, sum of squares and the coefficient of variation are shown. Tip: Variance is in squared units; the standard deviation is in the original units.

4

Check the count

Make sure the number of values is what you intended. Tip: Sample variance needs at least two values.

Worked Real-World Example

Eight values

A data set contains 12, 15, 18, 20, 22, 25, 28 and 30.

Sample Inputs
Numbers12, 15, 18, 20, 22, 25, 28, 30
Sample variance39.071 (standard deviation 6.251; population variance 34.188)
Calculation Breakdown
Mean: (12 + 15 + 18 + 20 + 22 + 25 + 28 + 30) ÷ 8 = 170 ÷ 8 = 21.25
Sum of squares: sum of the eight squared deviations from 21.25 = 273.50
Variances: 273.5 ÷ 7 and 273.5 ÷ 8 = Sample 39.071; population 34.188
Standard deviations and CV: √39.071 and √34.188; 6.251 ÷ 21.25 = Sample 6.251; population 5.847; CV 29.4%
A typical value sits about 6.3 from the mean of 21.25, which is roughly 29% of the mean. The population variance is smaller because it divides by 8 instead of 7.

How It Works (Math & Calculation Logic)

Mean = sum ÷ n. Sum of squares SS = Σ(x − mean)². Population variance = SS ÷ n. Sample variance = SS ÷ (n − 1), which corrects for estimating the mean from the sample. Standard deviation is the square root of the variance. Coefficient of variation = sample standard deviation ÷ mean × 100.

Formula / Algorithms² = Σ(x − x̄)² ÷ (n − 1) σ² = Σ(x − μ)² ÷ n
Variable & Logic Definitions
xᵢEach value - One number in the data set (same as the data)
x̄ or μMean - Sum of values ÷ n (same as the data)
nCount - Number of values (count)

How to Interpret Your Results

Typical Benchmarks

There is no universal good or bad variance: it depends on the units and the scale of the data. Use the coefficient of variation to compare relative spread across data sets.

Evaluating Your Output

A coefficient of variation under about 15% is often considered low relative spread, and above 30% high, although what counts as high depends on the field.

Recommended Next Action

Report variance or standard deviation with the mean and the number of observations, and state whether you used the sample or population formula.

Frequently Asked Questions

How do you calculate variance?
Find the mean, square each value's distance from the mean, add the squares and divide by n − 1 for a sample or n for a population.
What is the difference between variance and standard deviation?
Standard deviation is the square root of variance. It is in the original units, so it is easier to interpret.
Why divide by n − 1 for a sample?
A sample tends to understate the spread of the full population because its own mean is used. Dividing by n − 1 (Bessel's correction) compensates.
Can variance be negative?
No. It is a sum of squares divided by a positive number, so it is zero or positive. Zero means all values are identical.
What is the coefficient of variation?
The standard deviation divided by the mean, as a percentage. It shows relative spread and allows comparing data sets with different units.

Complementary QuickForma Utilities

Mathematics & Statistics

Descriptive Statistics Calculator

Calculate mean, median, mode, range, variance, standard deviation, quartiles, IQR, and MAD from data.

Open Tool
Mathematics & Statistics

Z-Score Calculator

Calculate standard score Z = (X - mu) / sigma and percentile rank under standard normal curve.

Open Tool
Mathematics & Statistics

Sample & Population Standard Deviation Solver

Solves sample (s) and population (σ) standard deviation with variance steps.

Open Tool
Mathematics & Statistics

One-Way & Two-Way ANOVA F-Test Calculator

Computes Analysis of Variance (ANOVA) table, Sum of Squares, Mean Squares, and F-statistic.

Open Tool
Mathematics & Statistics

Paired & Unpaired Two-Sample Student's t-Test

Calculates 1-sample, 2-sample independent, and paired t-test statistics and p-values.

Open Tool
Mathematics & Statistics

p-Value Calculator from Z, t, F & Chi-Square Statistics

Converts test statistics (Z, t, F, chi²) into one-tailed and two-tailed p-values.

Open Tool
Mathematics & Statistics

Pearson r & Spearman Rank Correlation

Computes Pearson product-moment correlation coefficient r and Spearman rank correlation.

Open Tool
Mathematics & Statistics

IQR, Box Plot Quartiles & Outlier Detector

Solves Q1, Q2 (Median), Q3, Interquartile Range (IQR), and identifies mild/extreme outliers (1.5 × IQR).

Open Tool
Mathematics & Statistics

Polar vs Rectangular Complex Number Calculator

Online client-side Polar vs Rectangular Complex Number Calculator tool.

Open Tool
Mathematics & Statistics

Factorial n! & Permutation Formula Solver

Online client-side Factorial n! & Permutation Formula Solver tool.

Open Tool