Math / Mean, Median & Mode

Mean, Median & Mode calculator

Enter a list of numbers and get their arithmetic mean, with decimals handled precisely.

Your answer will appear here.

Formula: Arithmetic mean = sum of all values ÷ number of values.

The basics

Mean, median, and mode side by side

The mean is the sum divided by the count, the median is the middle value once the numbers are sorted, and the mode is the value that appears most often. Showing all three together makes it easy to spot when an outlier is pulling the average away from the typical value.

For comparing two quantities as a proportion rather than a central value, the Ratio Simplifier reduces them to their smallest whole-number form.

How the formula works

mean = sum ÷ count

Add every value and divide by how many there are. The median sorts first and picks the middle (or averages the two middle values); the mode is the most frequent entry.

Outliers

A single very large number raises the mean but barely moves the median.

No mode

If every value appears once, the set has no mode.

In practice

Worked examples

Input

12, 18, 24

Answer

18

Input

4.5, 7.5, 10.5

Answer

7.5

Good to know

Frequently asked questions

Add every number together and divide the total by how many numbers there are.

Keep going