Mathematics
Median Calculator
Sort the values and find the centre of the list.
Let’s calculate.
PopularityNo account needed. Your inputs stay in this browser.
THE IDEA, SIMPLY
How it works
Sort the values and find the centre of the list.
FORMULA
Median = middle sorted value, or mean of the two middle values
A worked example
The sorted list 2, 3, 8, 9 has median 5.5.
Formula & detailed explanation
Up to 1,000 finite values; semicolons separate values and commas may be decimals.
Calculations use decimal arithmetic with 40 significant digits internally. Choose 0–8 decimal places for the displayed result. Trailing zeros are omitted. Rounding affects only the displayed and copied result; very small values may round to zero. Accepted inputs have up to 100 characters and magnitudes from 10⁻¹⁰⁰ to 10¹⁰⁰, plus zero.