Median Calculator
Find the median (middle value) of any set of numbers. Works for both odd and even sized data sets.
Median
—
How to Find the Median
- Sort the numbers in ascending order.
- If n is odd: median = the middle value at position (n+1)/2.
- If n is even: median = average of the two middle values.
Data: 3, 1, 4, 5, 2 → Sorted: 1, 2, 3, 4, 5 → Median = 3
Data: 1, 2, 3, 4 → Median = (2+3)/2 = 2.5
Data: 1, 2, 3, 4 → Median = (2+3)/2 = 2.5
Related Calculators
Last updated: 2026-08-08