Statistics Calculator

Paste numbers to get the mean, median, mode, standard deviation, variance, quartiles, outliers and a histogram.

Runs in your browser. Nothing is uploaded.

Separate with commas, spaces or new lines. You can paste a column from a spreadsheet.

Mean (average)

–

Sorted values

How to use the Statistics Calculator

  1. Paste or type your numbers, separated by commas, spaces or new lines.
  2. Choose whether your data is a sample or a whole population.
  3. Read the mean, median, mode, standard deviation and other statistics.
  4. Check the histogram for the shape of the data and any outliers.

Describe a data set in seconds

Paste a list of numbers, such as test scores, measurements, prices or survey answers, and the calculator summarises it: the centre, the spread, the shape and any unusual values. It’s quicker than building formulas in a spreadsheet and shows everything at once.

Measures of centre

  • Mean: the ordinary average, the sum divided by the count.
  • Median: the middle value when the numbers are sorted. It isn’t pulled around by extreme values, which makes it better than the mean for skewed data like incomes or house prices.
  • Mode: the most frequent value. If no value repeats, there is no mode.

Measures of spread

  • Standard deviation and variance: how far values typically sit from the mean. Choose sample or population to match your data.
  • Range: maximum minus minimum.
  • Quartiles and interquartile range: Q1 and Q3 mark the middle half of the data; the IQR is the distance between them and is resistant to outliers.
  • Standard error of the mean: how precisely the sample mean estimates the population mean.

Shape and outliers

The histogram groups values into bins so you can see whether the data is symmetric, skewed or has more than one peak. Skewness puts a number on the lopsidedness: positive means a long tail of high values, negative a long tail of low ones. Outliers are flagged using the 1.5 × IQR rule.

Accurate on large data

Sums use compensated (Kahan) summation, so even hundreds of thousands of values give an accurate mean.

Private

Your data is analysed in your browser and never uploaded.

Frequently asked questions

Should I choose sample or population?

Choose population when your numbers include every member of the group you care about, such as the marks of everyone in one class. Choose sample when they are a selection from a larger group, such as a survey. The sample standard deviation divides by n − 1, which corrects for estimating from part of the group.

How are quartiles calculated?

By linear interpolation between ranks, the same method as spreadsheet QUARTILE.INC and PERCENTILE.INC. Other textbooks use slightly different rules, so quartiles may differ a little on small data sets.

How are outliers found?

Values more than 1.5 × the interquartile range below Q1 or above Q3 are flagged. That's the rule behind most box plots.

What if my data has words or blank cells?

Anything that isn't a number is skipped and listed above the results, so you can check nothing important was missed.

How much data can it handle?

Up to a million values, calculated in your browser without uploading anything.

Tutorials