Statistics Calculator

Mean, median, mode, range, variance and standard deviation

Mean
--
--
Count
--
Sum
--
Median
--
Mode
--
Std Dev (sample)
--
Range

Statistics Calculator — Complete Guide

A column of numbers says very little until it is summarised. The five numbers this calculator returns — mean, median, mode, range and standard deviation — are the vocabulary in which nearly every report, study and dashboard describes a dataset, and computing them by hand is exactly the kind of arithmetic that produces silent mistakes.

What this calculator does

Paste any list of numbers — from a spreadsheet column, a quiz, a sensor log — in any order with any separators. You get the count and sum, the three centres (mean, median, mode), the range, and the sample standard deviation with the variance behind it.

The definitions

mean = Σx ÷ n median = middle value of the sorted list mode = the most frequent value (or values) range = maximum − minimum s² = Σ(x − x̄)² ÷ (n − 1) s = √s²

The variance divides by n − 1 (Bessel's correction) because a sample underestimates the spread of the population it came from. The mode column shows "none" when every value occurs exactly once.

A worked example

Quiz scores: 4, 8, 15, 16, 23, 42. Count 6, sum 108, mean 18. Sorted: 4, 8, 15, 16, 23, 42 — the median is (15 + 16) ÷ 2 = 15.5. Every value is unique, so the mode is "none". The range is 42 − 4 = 38, and the sample standard deviation works out to ≈ 13.5 — typical scores sit roughly 13–14 points from the mean.

DatasetMeanMedianTakeaway
3, 4, 50194outlier drags the mean up
2, 4, 4, 1054mode = 4
10, 10, 101010SD = 0, no spread

Which centre should you quote?

A useful habit: report the mean together with the standard deviation, or the median together with the range — a centre without a spread always tells half the story.

Frequently Asked Questions

What is the difference between mean, median and mode?

The mean is the arithmetic average (sum ÷ count), the median is the middle value when sorted, and the mode is the most frequent value. Medians resist outliers — for salaries of 3, 4 and 50 (thousand), the mean 19 is misleading while the median 4 is not.

Which standard deviation formula is used?

The sample formula: the square root of the sum of squared deviations divided by n − 1. Use it when your data is a sample of a larger population. For a complete population, divide by n instead — the result is slightly smaller.

How should I separate the numbers?

Any separator works: spaces, commas, semicolons or new lines — you can paste straight from a spreadsheet column or a sentence. Values with percent signs or other symbols are read by their numeric part, so "45%" counts as 45.

Last reviewed: October 5, 2026 · How we calculate · Sources: Standard statistical formulas (sample statistics)