Median Calculator
Find the middle value of a dataset
How the Median Is Calculated
Values are sorted from smallest to largest. For odd counts, the median is the middle value. For even counts, it's the average of the two middle values.
Enter your numbers
Type or paste numbers separated by commas. Spaces are ignored. Example: "5, 2, 8, 1, 9"
Click Calculate
The calculator sorts your values and finds the median automatically.
View results
See the median value and the sorted list of all your numbers.
The median is the middle value in a sorted dataset. Half the values fall below it, half above. Unlike the mean (average), the median is not affected by extreme outliers.
| Measure | Best For | Affected by Outliers |
|---|---|---|
| Median | Skewed distributions | No |
| Mean | Symmetric distributions | Yes |
| Mode | Categorical data | No |
Example: Incomes of $30k, $35k, $40k, $45k, $1M. Mean = $230k (misleading). Median = $40k (more representative).
Skewed data
When your data has a long tail on one side, the median gives a better sense of the "typical" value.
Data with outliers
Extreme values don't pull the median up or down like they do the mean.
Ordinal data
For ranked data (like survey responses), the median makes sense even when the mean doesn't.
Frequently Asked Questions
Other Free Tools
Average Calculator
Average Calculator – Calculate Mean, Median & More
Mode Calculator
Mode Calculator
Weighted Average Calculator
Weighted Average Calculator
Range Calculator
Range Calculator
Standard Deviation Calculator
Standard Deviation Calculator
Variance Calculator
Variance Calculator – Calculate Population and Sample Variance