Everything Student

Statistics Calculator

Paste a list of numbers to get the mean, median, mode, range, quartiles, standard deviation and variance, with the five-number summary for box plots.

  • Math
  • Instant Results
  • Works Offline

A list of numbers says little until you summarize it. Paste your data and this calculator gives the center (mean, median, mode), the spread (range, interquartile range, standard deviation, variance) and the five-number summary you need for a box plot.

How to Use It

  1. Paste or type your Numbers, separated by commas, spaces or new lines.
  2. Press Calculate.
  3. Read the mean at the top, the other statistics below it, and the five-number summary table at the end.

How It Works

The mean is the sum divided by the count, and the median is the middle value of the sorted list (the average of the two middle values when the count is even). Q1 and Q3 are the medians of the lower and upper halves; with an odd count, the median is left out of both halves.

The standard deviation measures how far values typically sit from the mean. For a whole population of NN values:

σ=∑(x−μ)2N\sigma = \sqrt{\frac{\sum (\vA{x} - \vB{\mu})^2}{N}}

For a sample of nn values standing in for a bigger group, divide by n−1n - 1 instead:

s=∑(x−xˉ)2n−1s = \sqrt{\frac{\sum (\vA{x} - \vB{\bar{x}})^2}{n - 1}}

The variance is the standard deviation squared.

Worked Example

For 2, 4, 4, 4, 5, 5, 7, 9: the sum is 40 and the count 8, so the mean is 5. The middle two values are 4 and 5, so the median is 4.5, and 4 appears most, so it’s the mode.

The squared distances from 5 add up to 9+1+1+1+0+0+4+16=329 + 1 + 1 + 1 + 0 + 0 + 4 + 16 = 32, so:

σ=32÷8=2s=32÷7≈2.138\sigma = \sqrt{32 \div 8} = 2 \qquad s = \sqrt{32 \div 7} \approx 2.138

The halves are 2, 4, 4, 4 and 5, 5, 7, 9, so Q1 = 4, Q3 = 6 and the IQR is 2.

Tips and Common Mistakes

  • Sample or population? Most class data sets and experiments are samples; use s unless you truly have every member of the group.
  • Outliers pull the mean. When one value is far from the rest, the median and IQR describe the data better.
  • Sort before finding the median by hand. The middle of an unsorted list isn’t the median.
  • Quartile methods vary. Other software can give slightly different Q1 and Q3; check which method your class uses.
  • Check the count. If it’s not the number of values you meant to enter, look for a missing separator.

Frequently Asked Questions

What's the difference between mean, median and mode?

The mean adds everything and divides by how many there are. The median is the middle value once they're in order. The mode is the value that appears most often.

Should I use the sample or the population standard deviation?

Use the population value (σ) when your list is every member of the group you care about, such as every score in your class. Use the sample value (s) when it's a sample standing in for a bigger group, like a survey. The sample version divides by n − 1, so it's slightly bigger.

How are the quartiles found?

Q1 is the median of the lower half of the sorted numbers and Q3 the median of the upper half. With an odd count, the middle value is left out of both halves. This is the method in most intro statistics textbooks, including OpenStax; some software uses other methods and can give slightly different answers.

What is the interquartile range?

Q3 − Q1: the spread of the middle half of the data. Unlike the range, one extreme value barely changes it.

What does a mode of "None" mean?

Every value appears exactly once, so no value is more common than another. When several values tie for most common, they're all listed.

Can I paste numbers from a spreadsheet?

Yes. Copy a column and paste it; new lines, commas and spaces all separate numbers. If something can't be read as a number, the calculator names it.

Sources

Home