Statistics Calculator

Paste numbers separated by commas, spaces or new lines and get the full descriptive set: mean, median, mode, minimum, maximum, range, variance, standard deviation, quartiles and interquartile range, plus any values the 1.5 × IQR rule flags as outliers. The sample-versus-population toggle is front and centre because it changes the answer and most calculators never ask: a sample divides by n−1 and a population by n, and on the small sets people usually paste the difference is several percent, not a rounding error. Mode reports every tied value, and reports none when everything occurs equally often — which is the correct answer rather than listing every number. Quartiles interpolate the way spreadsheets do, so figures checked against Excel agree.

For 2, 4, 4, 4, 5, 5, 7, 9

MeasureValue
Mean5
Median4.5
Mode4
Std dev (population)2
Std dev (sample)2.138
Range7

When to use it

  1. Summarise a column of measurements or survey responses.
  2. Get a standard deviation for a lab report or a homework problem.
  3. Find the median of a set where the mean is skewed by extremes.
  4. Spot values worth double-checking in a data set.
  5. Check a result you computed by hand or in a spreadsheet.

How to Use

  1. Paste your numbers, separated however you like.
  2. Choose sample or population.
  3. Copy the full set of results.

Features

  1. Mean, median, every tied mode
  2. Variance and standard deviation, sample or population
  3. Quartiles and IQR, matching spreadsheet output
  4. Outliers flagged by the 1.5 × IQR rule
  5. Accepts commas, spaces, tabs or new lines
  6. 100% client-side

FAQs

Sample or population — which should I choose?

Population if these numbers are the entire group you care about: every student in the class, every day last month. Sample if they are a subset drawn from something larger and you want to say something about that larger thing. If you are unsure, sample is the more conservative choice, because it gives a slightly larger spread.

Why do the two standard deviations differ?

A sample's mean sits closer to its own values than the true population mean does, so dividing by n underestimates the real spread. Dividing by n−1 instead — Bessel's correction — compensates. With eight values the sample figure is about seven percent larger, which is not a rounding error.

Why does it say there is no mode?

Because every value appears the same number of times, so none is more common than the others. Reporting all of them as modes is technically defensible and tells you nothing. When there is a genuine tie between some values, all the tied values are listed.

Which quartile method is used?

Linear interpolation between surrounding values, which is what Excel, Google Sheets and most statistics packages produce. There are several defensible definitions that disagree on small sets, so matching the one you are most likely to compare against is the useful choice.

What makes something an outlier?

More than 1.5 times the interquartile range beyond the nearer quartile — the standard rule of thumb. It flags values worth a second look, not errors. A genuinely extreme measurement is still a real measurement, and removing it because a rule flagged it is how data gets quietly falsified.

Is my data uploaded?

No. Everything is computed in your browser.

Technical Details

The sample-versus-population distinction is the one thing a statistics calculator has to get right, and it is the thing most get wrong by not asking. A population standard deviation divides by n; a sample divides by n−1, Bessel's correction, because a sample's own mean sits closer to its own points than the true population mean does, so dividing by n systematically underestimates the spread. The two differ most on exactly the small data sets people paste into a web page — with eight values the sample figure is about seven percent larger — so the toggle is explicit and the current choice is stated in words beneath it rather than hidden in a label. A sample variance of a single value returns zero rather than dividing by zero and rendering Infinity. Mode reports every tied value rather than an arbitrary first one, and reports none at all when every value occurs equally often, which is the mathematically correct answer and also the one people expect — listing all eight values as modes of an eight-value set is technically defensible and useless. Quartiles use linear interpolation between the surrounding values, matching what spreadsheets produce, so a figure checked against Excel agrees; there are several defensible quartile definitions and picking the one people will compare against matters more than picking a favourite. Outliers use the standard 1.5 × IQR rule and are described as candidates for a look rather than errors, because a genuine extreme value is still genuine.

Calculators & Converters

Calculators & Converters

  • Area & Perimeter Calculator
  • Volume & Surface Area Calculator
  • Permutation & Combination Calculator
  • Equation Solver
  • Quadratic Equation Solver
  • Exponent & Logarithm Calculator
  • Fraction Calculator
  • GCD & LCM Calculator