tooldeb Online Tools
Categories
Finance & Investing Interest, savings, returns, and inflation. Loans & Property Mortgages, repayment, DSR/DTI/LTV, and jeonse. Tax & Payroll Take-home pay, severance, insurance, and taxes. Shopping & Pricing Discounts, tips, unit price, and margins. Health & Fitness Body metrics, nutrition, and training. Math Percentages, fractions, algebra, and sequences. Geometry Area, volume, and surface of plane and solid shapes. Statistics & Probability Averages, spread, combinations, and odds. Unit Conversion Length, weight, temperature, pressure, and more. IT & Digital Data size, screens, color, and network speed. Engineering & Electronics Circuits, resistance, PCB, and signals. Date & Time Ages, D-day, date math, and time zones. Home & Interior Paint, tile, wallpaper, flooring, and concrete. Automotive Fuel cost, economy, tires, and vehicle tax. Everyday Bills, delivery, photos, and odds and ends.
EN
한국어 English

Standard Deviation & Variance Calculator

Enter up to 8 numbers to get both the sample standard deviation (n−1) and population standard deviation (n), plus mean, variance, and count.

Inputs
More values (optional)
Standard deviation
2.1381
Sample std. dev. (n−1)
2.1381
Population std. dev. (n)
2.0000
Mean
5.0000
Variance (selected mode)
4.5714
Count (n)
8
Blank value fields are ignored — the count only reflects filled-in fields. Sample standard deviation needs at least 2 values; with fewer, it shows "—".

How standard deviation and variance are calculated

Both formulas start the same way: find the mean, then measure how far each value strays from it. Population variance divides that total spread by n; sample variance divides by n−1 instead, a correction that keeps a sample's variance from systematically underestimating the true population variance.

mean = Σxᵢ / n population variance = Σ(xᵢ − mean)² / n sample variance = Σ(xᵢ − mean)² / (n − 1) std. dev. = √variance
  • xᵢ — each entered value
  • n — count of values entered
  • mean — the arithmetic average of all xᵢ

More detail

Why sample variance divides by n − 1

A sample's mean is itself estimated from the same data, which pulls the data slightly closer to that mean than it is to the true population mean — so dividing by n would understate the real spread. Dividing by n − 1 instead (Bessel's correction) counteracts that bias, which is why it only matters when you're inferring a population's variance from a sample rather than measuring a complete population directly.

Which mode to pick. Use "Sample" whenever your numbers are a subset of a larger population you're trying to describe (test scores from some students, not all; a handful of measurements). Use "Population" only when your list is the complete, entire set — nothing left out.

Frequently asked questions

What's the standard deviation of 2, 4, 4, 4, 5, 5, 7, 9?

The mean is 5, and the sum of squared deviations is 32. Population standard deviation (÷8) is exactly 2; sample standard deviation (÷7) is √(32/7) ≈ 2.1381. Both are shown together above with these exact default values.

Why are sample and population standard deviation different numbers?

Sample standard deviation divides the squared deviations by n − 1 instead of n (Bessel's correction), which always produces an equal or larger value — for the default 8-value dataset, sample std. dev. ≈ 2.1381 versus population std. dev. = 2 exactly.

What happens with only 1 number entered?

Population standard deviation is 0 (a single point has no spread from itself), but sample standard deviation shows "—" — Bessel's correction divides by n − 1, which is 0 and undefined when n = 1.

Should I use variance or standard deviation?

They measure the same spread; standard deviation is just variance's square root, so it's back in the original units (e.g. cm rather than cm²) and easier to compare directly against the mean. This calculator shows both.

Related calculators

Browse all Statistics calculators