Statistics Calculator

Paste or type a list of numbers to get the mean, median, mode, range, quartiles and standard deviation, with every step shown. For example, the scores 85, 92, 78, 92, 88, 95, 70, 85, 92, 81, 44 have a mean of 82, a median of 85 and a mode of 92.

  • Free
  • No sign-up
  • Shows the working
  • Works on phones

Separate values with commas, spaces or new lines. Decimals and negatives are fine. Write 1200, not 1,200. Up to 10,000 values.

Mean, median and mode
Mean 82Median 85Mode 92
Count (n)
11
Sum (Σx)
902
Mean (x̄)
82
Median
85
Mode
92
Range
51
Minimum
44
Maximum
95
Q1 (lower quartile)
78
Q3 (upper quartile)
92
IQR (Q3 − Q1)
14
Sample std dev (s)
14.587666
Population std dev (σ)
13.908794
Sample variance (s²)
212.8
Population variance (σ²)
193.454545
Outliers (1.5 × IQR)
44
5060708090
Box plot: whiskers reach the smallest and largest values that are not outliers; circles are outliers. The green line is the median.

Quartiles use the median-of-halves method taught in most US schools (the same one TI-83/84 calculators use): the median is left out of both halves when n is odd. Results are rounded to 6 decimal places.

Mean

  1. Add all 11 values: 85 + 92 + 78 + 92 + 88 + 95 + 70 + 85 + 92 + 81 + 44 = 902
  2. Divide by how many values there are: x̄ = 902 ÷ 11 = 82

Median

  1. Sort the values from smallest to largest: 44, 70, 78, 81, 85, 85, 88, 92, 92, 92, 95
  2. There are 11 values (an odd number), so the median is the middle one, the 6th value: 85.

Mode

  1. Count how many times each value appears. The highest count is 3.
  2. 92 appears 3 times, more than any other value, so the mode is 92.

Quartiles and IQR (median of halves)

  1. Split the sorted data into a lower half and an upper half, leaving out the median (85) because n is odd.
  2. Lower half: 44, 70, 78, 81, 85. Its median is Q1 = 78.
  3. Upper half: 88, 92, 92, 92, 95. Its median is Q3 = 92.
  4. IQR = Q3 − Q1 = 92 − 78 = 14
  5. Outlier fences: Q1 − 1.5 × IQR = 57 and Q3 + 1.5 × IQR = 113. Values outside them are outliers: 44.

Standard deviation

  1. Subtract the mean from each value, square each result and add them up: Σ(x − x̄)² = 2,128
  2. Sample variance: s² = 2,128 ÷ (11 − 1) = 212.8. Population variance: σ² = 2,128 ÷ 11 = 193.454545
  3. Take the square root: s = 14.587666 and σ = 13.908794. See every row in the standard deviation calculator.

Sorted data (11 values)

44, 70, 78, 81, 85, 85, 88, 92, 92, 92, 95

How to use the statistics calculator

  1. Type or paste your data into the box. Separate values with commas, spaces or new lines.
  2. Read the mean, median and mode at the top, then the full list of statistics below it.
  3. Check the box plot and the outlier list to see how the data is spread out.
  4. Follow the step-by-step working for the mean, median, mode and quartiles to check your own work.
  5. Press Copy results to paste the answers into your homework or a spreadsheet.

How do you find the mean, median and mode?

The mean is the average: add up all the values and divide by how many there are. The median is the middle value once the data is sorted. The mode is the value that appears most often. All three are "measures of center" that describe a typical value in a data set.

mean x̄ = Σx ÷ n   (Σx = sum of the values, n = number of values)

Worked example

Eleven students took a quiz and scored 85, 92, 78, 92, 88, 95, 70, 85, 92, 81, 44.

  1. Mean: the scores add up to 902, and 902 ÷ 11 = 82.
  2. Median: sorted, the scores are 44, 70, 78, 81, 85, 85, 88, 92, 92, 92, 95. With 11 values the median is the 6th one: 85.
  3. Mode: 92 appears 3 times, more than any other score, so the mode is 92.
  4. Range: 95 − 44 = 51.

The mean (82) is lower than the median (85) because one low score, 44, pulls the average down. That score is an outlier, which is why the median often gives a fairer picture of a "typical" student.

How do you find quartiles and the IQR?

Quartiles split sorted data into four equal parts. Q1 is the median of the lower half, the median is Q2, and Q3 is the median of the upper half. The interquartile range (IQR) is Q3 − Q1, the spread of the middle 50% of the data.

This calculator uses the median-of-halves method taught in most US schools and used by TI-83/84 calculators. When n is odd, the median is left out of both halves. For the quiz scores, the lower half is 44, 70, 78, 81, 85, so Q1 = 78. The upper half is 88, 92, 92, 92, 95, so Q3 = 92, and the IQR is 92 − 78 = 14. Spreadsheets such as Excel use other quartile formulas, so their answers can differ a little.

What is the 1.5 × IQR rule for outliers?

A value is an outlier if it is more than 1.5 × IQR below Q1 or above Q3. For the quiz scores the fences are 78 − 1.5 × 14 = 57 and 92 + 1.5 × 14 = 113. The score 44 is below 57, so it is an outlier. On the box plot, outliers are drawn as separate dots and the whiskers stop at the last value that is not an outlier.

Which measure should you use?

MeasureWhat it tells youQuiz example
MeanThe balance point. Uses every value, so outliers move it.82
MedianThe middle value. Not affected much by outliers.85
ModeThe most common value. Works for categories too.92
RangeTotal spread, max − min.51
IQRSpread of the middle half. Ignores outliers.14
Standard deviation (s)Typical distance of values from the mean.14.587666

Use the median and IQR when the data is skewed or has outliers, such as house prices or incomes. For 32, 35, 38, 40, 41, 250, the mean is 72.666667 but the median is 39, which is much closer to most of the values. Use the mean and standard deviation when the data is roughly symmetric.

Common mistakes

  • Forgetting to sort before finding the median. The median is the middle of the sorted list, not the middle of the list as you typed it.
  • Saying the mode is 0 when nothing repeats. If every value appears once, there is no mode.
  • Picking only one mode. If two values tie for most common, both are modes. For 3, 5, 5, 8, 9, 9, 12, the modes are 5, 9.
  • Dividing by the wrong count. Count every value, including zeros and repeats, when you find n.
  • Mixing up sample and population standard deviation. Sample divides by n − 1, population divides by N.

Working out your grade average? The GPA calculator handles credits and weighting, and the final grade calculator tells you the score you need on your exam.

Frequently asked questions

How do you find the mean, median and mode?

Add the values and divide by how many there are to get the mean. Sort the values and take the middle one (or the average of the two middle ones) to get the median. The mode is the value that appears most often. For 85, 92, 78, 92, 88, 95, 70, 85, 92, 81, 44, the mean is 82, the median is 85 and the mode is 92.

What if no number repeats?

If every value appears exactly once, the data set has no mode. A data set can also have more than one mode: in 3, 5, 5, 8, 9, 9, 12 both 5 and 9 appear twice, so the modes are 5 and 9 (the data is bimodal).

How do you find the median of an even number of values?

Sort the values and take the mean of the two middle values. For 4, 7, 9, 10 the middle values are 7 and 9, so the median is (7 + 9) ÷ 2 = 8.

Why are my quartiles different from Excel or another calculator?

There are several accepted ways to calculate quartiles. This calculator uses the median-of-halves method taught in most US schools and used by TI-83/84 calculators, which leaves the median out of both halves when n is odd. Excel's QUARTILE.INC and QUARTILE.EXC functions interpolate between values instead, so they can give slightly different Q1 and Q3 for the same data.

Should I use sample or population standard deviation?

Use the sample standard deviation (divide by n − 1) when your data is a sample taken from a bigger group, which is the usual case in class surveys and experiments. Use the population standard deviation (divide by N) when you have every member of the group, such as all the test scores in one class. The standard deviation calculator shows both methods step by step.

What is the range in statistics?

The range is the largest value minus the smallest value. For the example scores it is 95 − 44 = 51. Because it only uses two values, a single outlier can make the range much bigger, so the IQR is often a better measure of spread.

How many numbers can I enter?

You can enter up to 10,000 values, including decimals and negative numbers. Paste a column straight from a spreadsheet or type values separated by commas, spaces or new lines.

Last reviewed November 27, 2026 by the ChalkStation team.