Median Calculator

Calculate the median of any data set. The median is the middle value when data is sorted, useful for skewed distributions.

Find the median (middle value) of a data set.

About This Calculator

The Median Calculator finds the middle value of your data set. Unlike the mean, the median is not affected by outliers, making it ideal for skewed distributions like income or housing prices.

How to Find Median

  • Sort data from smallest to largest
  • Odd count: median is the middle value
  • Even count: median is average of two middle values

Frequently Asked Questions

How is median calculated?

Sort values low→high. Odd count: middle value. Even count: average of two middle values. Example: {3,7,9} → median = 7. {2,4,6,8} → median = (4+6)/2 = 5.

Why use median instead of mean?

Median resists outliers. Income example: 5 workers earn 30K, 40K, 50K, 60K, 1M. Mean = $236K (misleading). Median = $50K (represents typical worker). Use for skewed data.

How to find median of even numbers?

Average the two middle values. Sort data, find positions n/2 and (n/2)+1, then average them. Example: {1,3,5,7} → positions 2 and 3 → (3+5)/2 = 4 is median.