# Mean, Median, Mode and Range Calculator

> Enter a list of numbers and get the mean, median, mode, range, count and sum, with the sorted list shown.

- Live calculator: https://opuscalculator.com/calculators/mean-median-mode-calculator/
- Category: Statistics
- Last updated: 2026-11-22

## Inputs

| Input | Default | Allowed |
| --- | --- | --- |
| Numbers (separated by commas, spaces or new lines) | 4, 8, 6, 5, 3, 8, 9, 5, 8 | - |

## Result with the default inputs

- Mean: 6.2222
- Median: 6
- Mode: 8
- Range: 6
- Count: 9
- Sum: 56

## How it is calculated

Mean = sum ÷ count. Median = the middle value of the sorted list, or the average of the two middle values if the count is even. Mode = the most frequent value(s). Range = maximum − minimum.

## Worked example

4, 8, 6, 5, 3, 8, 9, 5, 8: sum 56, count 9, mean 6.2222; sorted 3, 4, 5, 5, 6, 8, 8, 8, 9 so the median is 6 and the mode is 8; range 6.

## Frequently asked questions

### Which average should I use?

The mean uses every value but is pulled by outliers; the median resists them; the mode suits categories.

### What if two values tie for most common?

Both are listed, and the data is called bimodal.

### Why does the median average two numbers?

With an even count there is no single middle value, so the two middle ones are averaged.

## Sources

- [2.5 Measures of the Center of the Data (Introductory Statistics 2e)](https://openstax.org/books/introductory-statistics-2e/pages/2-5-measures-of-the-center-of-the-data), OpenStax, Rice University, checked 2026-11-29. The mean (the sum divided by the count), the median (the middle value, or the two middle values added and divided by two when n is even) and the mode (the most frequent value, with more than one mode possible). The range output is not covered by this page.

## Cite this page

- APA: Opus Calculator. (2026, November 22). Mean, Median, Mode and Range Calculator [Online calculator]. https://opuscalculator.com/calculators/mean-median-mode-calculator/
- Plain: Mean, Median, Mode and Range Calculator, Opus Calculator, https://opuscalculator.com/calculators/mean-median-mode-calculator/

Numbers on this page come from the same code as the live calculator, using exact decimal arithmetic. Source: Opus Calculator, https://opuscalculator.com/calculators/mean-median-mode-calculator/
