Mean, Variance and Standard Deviation Calculator (statistics)

Paste numbers and get the mean, median, variance, standard deviation and more right away.

🔒 Your input is never sent to a server.

How to use

Separate the numbers with commas, spaces or line breaks and the result appears immediately. You can also paste a spreadsheet column. Show solution shows the working, including the deviation table.

Formulas and terms
  • Mean m = (x₁ + x₂ + … + xₙ) / n
  • Population variance σ² = Σ(x − m)² / n, population standard deviation σ = √σ²
  • Sample variance s² = Σ(x − m)² / (n − 1), sample standard deviation s = √s²
  • Median: the middle value when sorted (the average of the two middle values if the count is even)
  • Mode: the value that appears most often
  • Quartiles: Q1 is the median of the lower half and Q3 the median of the upper half (if the count is odd, the median is excluded from both halves). Programs use different methods, so values can differ slightly.
FAQ

Population variance or sample variance?

If you have all the data, use the population variance (divide by n). If you are estimating from a sample, use the sample variance (divide by n−1). School math usually uses the population variance.

What if there is only one value?

The sample variance cannot be shown because it would divide by n−1 = 0.

Results are for reference only and accuracy is not guaranteed. Terms & disclaimer