Statistics Calculator

Paste a list of numbers. You get the count, sum, mean, median and mode, and the spread: range, variance and standard deviation, for a sample and for a whole population.

How it works

The numbers are read from your text. Commas, spaces, semicolons and line breaks all separate them. A comma followed by exactly three digits, as in 1,000, is read as a thousands separator, so 1,000 is one number and 1,2,3 is three.

The mean is the sum divided by the count. The median is the middle value once the list is sorted, or the mean of the two middle values when the count is even. The mode is the value that appears most often. When every value appears the same number of times, there is no mode.

Variance is worked out in two passes: the mean first, then the squared distance of each number from it. This keeps every digit for large values that sit close together. Everything runs on this page.

How to use it

  1. 1 Type your numbers, or paste a column from a spreadsheet.
  2. 2 Read the Centre section for the count, sum, mean, median and mode.
  3. 3 Read the Spread section for the range, variance and standard deviation.
  4. 4 Use the sample rows when your numbers are part of a larger group, and the population rows when they are the whole group.

Good to know

  • Results show 10 significant digits with no thousands separators, so you can paste them straight into a spreadsheet cell.
  • A single wrong item, such as a stray letter, stops the calculation. The message names the item number so you can find it.
  • If the mean and the median are far apart, a few extreme values are pulling the mean. The median is often the better summary then.
  • For every step of the standard deviation, or for quartiles and outliers, use the related tools below.

Browser support

  • Chrome 94 and later
  • Firefox 93 and later
  • Safari 16.4 and later
  • Edge 94 and later

These are the oldest versions with everything the tool uses. They are worked out from the tool itself, so they change when it does.

Version numbers checked on 2026-09-04.

Centre and spread: what each number in the summary tells you

A list of numbers is hard to read as it stands. Descriptive statistics squeeze it into a few figures that answer two questions: where is the middle, and how far do the values wander from it. Take ten test scores: 72, 85, 90, 66, 85, 78, 94, 85, 70 and 88. Their sum is 813, so the mean is 81.3. Sorted, the two middle scores are 85 and 85, so the median is 85. The score 85 appears three times, more than any other, so it is also the mode.

The mean, the median and the mode each describe the middle in a different way, and the gaps between them tell you something. The mean uses every value, so one extreme value moves it. The median only cares about order, so it barely moves at all. Add one score of 0 to the list above and the mean drops to about 73.9, while the median stays at 85. When house prices or salaries are reported, the median is usually the figure quoted for exactly this reason. The mode is most useful for values that repeat, such as shoe sizes or ratings out of five.

Spread starts with the range, the largest value minus the smallest. It is easy to read but depends on only two numbers. Variance uses all of them. Take the mean away from each value, square the result so negative and positive distances do not cancel, and average the squares. The standard deviation is the square root of the variance. It is back in the same unit as the data, so for test scores it is a number of points. For the ten scores above, the sample standard deviation is about 9.3 points.

There are two versions of variance and standard deviation, and this tool shows both. The population version divides the sum of squares by n, the count. The sample version divides by n − 1. The reason is that a sample usually spreads a little less than the whole group it came from, and dividing by a smaller number corrects for that. If your numbers are every value you care about, use the population figure. If they are a sample, which is the usual case in surveys, experiments and quality checks, use the sample figure. Excel calls them STDEV.P and STDEV.S, and this tool matches both.

Some limits are worth knowing. The tool reads plain numbers, including decimals, negative numbers and scientific notation such as 1.5e3. It does not read currency signs, percent signs or units, so remove them first. It takes up to 1 MB of text, which is about 150,000 numbers. Results are rounded to 10 significant digits for display, but the calculation itself keeps full precision, and the variance is computed in two passes so large, close values such as sensor readings do not lose their digits.

Frequently asked questions

Should I use the sample or the population standard deviation?

Use the population figure when your numbers are the whole group you care about, such as every sale this month. Use the sample figure when they are some of a larger group, such as 50 customers out of thousands. The sample figure divides by n − 1 and is slightly larger. In Excel these are STDEV.P and STDEV.S.

Why does the mode say None?

Every value in your list appears the same number of times, so no value is more common than another. If two or more values tie for most common, all of them are listed as modes.

How do I paste numbers from Excel or Google Sheets?

Select the cells in one column and copy them. Paste into the box. Each cell arrives on its own line, and line breaks separate numbers, so it works as is.

Are my numbers sent anywhere?

No. The calculation runs in this page, and nothing is sent to YappyKit or anyone else.

Related tools

Your files are processed on your device and are not uploaded. You can verify this in your browser’s developer tools under the Network tab.