Skip to content
FiftyCalc Free calculators for all 50 states

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

Sample figures

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.

Median Calculator

Numbers (separated by commas, spaces or new lines): type or paste your values. Prefilled example: 7, 3, 9, 1, 5, 8.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Numbers (separated by commas, spaces or new lines): type or paste your values.
  2. Read the result: Median; the panel also shows Mean, Minimum, Maximum and 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
Median6
Mean5.5
Minimum1
Maximum9
Count6

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.

Questions answered

Related calculators