Ad Space
Statistics Calculators

Median Calculator

Calculate the median of a dataset — the middle value when the data is sorted from smallest to largest.

Enter numbers separated by commas or spaces.
Median
Count
Sorted values
Ad Space — 300×250

About the Median Calculator

The median is the middle value of a dataset once it's sorted from smallest to largest. If there's an even number of values, the median is the average of the two middle values.

Formula: For odd n, median = value at position (n + 1) ÷ 2 · For even n, median = average of values at positions n ÷ 2 and n ÷ 2 + 1

Unlike the mean, the median is not affected by extreme outliers, which is why it's often preferred for skewed data such as home prices or income.

Ad Space