Math · Statistics

Median Calculator

Find the middle value of any dataset. Also get quartiles, min, max, range and a step-by-step explanation of how the median is found.

Median
—
Median rule: sort the data. If n is odd, the median is the middle value x(n+1)/2. If n is even, it is the average of the two middle values (xn/2 + xn/2+1)/2.
Quartiles: Q1 is the median of the lower half, Q3 the median of the upper half. IQR = Q3 − Q1.

Odd or even data

Handles both odd and even counts with the correct rule.

Quartiles included

Q1, Q3 and the interquartile range shown automatically.

Step explanation

Shows exactly which positions were used to compute the median.

Instant results

Every keystroke recalculates everything in real time.

More Stats Tools

Explore statistics and data analysis calculators.