calc.cihat.dev

Mean, median and mode calculator

Paste or type a list of numbers to get the average three ways (mean, median and mode), plus the range, the sum and the numbers in order.

Separate them with spaces, commas, semicolons or new lines. Paste a column from a spreadsheet as it is.

Mean (average)

–

Median

–

Mode

–

How many numbers
–
Sum
–
Smallest
–
Largest
–
Range
–

How to use it

  1. Type or paste the numbers. Spaces, commas, semicolons and new lines all separate them, so a spreadsheet column pastes as it is.
  2. Read the mean, median and mode, each with a line that shows how it was found.
  3. Check the sorted list underneath for a number you typed by mistake, then copy the results.

Three kinds of average

The mean adds every number and divides by how many there are. The median is the middle number once the list is sorted; with an even count it is halfway between the two middle numbers. The mode is the number that appears most often, and a list can have several modes or none.

For 2, 3, 3, 5 and 12 the mean is 25 ÷ 5 = 5, the median is 3 and the mode is 3. One large value, 12, pulls the mean up but leaves the median where it was. That is why typical incomes and house prices are usually given as medians.

Exact, not floating point

Many calculators add 0.1 and 0.2 and get 0.30000000000000004, because computers store decimals in binary. This one keeps every number as an exact fraction, so 0.1 + 0.2 is 0.3 and the mean of 1, 2 and 2 is shown as ≈ 1.666667 with the ≈ telling you it was rounded for display.

Each value can also have a weight, as in grades with credits. For that, use the weighted average calculator.

Questions people ask

How do I find the mean?

Add all the numbers and divide by how many there are. 4, 8 and 9 add up to 21; 21 ÷ 3 = 7.

How do I find the median of an even list?

Sort the numbers and take the two in the middle; the median is halfway between them. For 1, 3, 5 and 9 it is (3 + 5) ÷ 2 = 4.

Can there be more than one mode?

Yes. If two numbers share the highest count, both are modes. If every number appears once, there is no mode.

What is the range?

The largest number minus the smallest. It shows how spread out the list is.

Can I paste from Excel or Google Sheets?

Yes. Copy a column or a row and paste it; new lines and tabs separate the numbers.