Median Calculator
Test cases replayed : 2 of 2 match · Methodology · No outside source listed
Paste or type a list of numbers to find the median, the middle value once the numbers are sorted.
Result
Median
Mean
- Minimum
- Maximum
- Count
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Numbers (separated by commas, spaces or new lines): type or paste your values.
- Read the result: Median; the panel also shows Mean, Minimum, Maximum and Count.
Data plot
Table of values
| Value | Count |
|---|
How this calculator works
Sort the numbers from smallest to largest. With an odd count n, the median is the value in position (n + 1)/2. With an even count, it is the average of the two middle values, in positions n/2 and n/2 + 1.
Worked example
| Numbers (separated by commas, spaces or new lines) | 7, 3, 9, 1, 5, 8 |
|---|
| Median | 6 |
|---|---|
| Mean | 5.5 |
| Minimum | 1 |
| Maximum | 9 |
| Count | 6 |
Frequently asked questions
How do you find the median of an even set of numbers?
Average the two middle values. For 1, 3, 5, 7, 8, 9 the middle values are 5 and 7, so the median is 6.
Why use the median instead of the mean?
The median is not pulled by a few very large or very small values, so it describes a typical value better for skewed data such as incomes or home prices.