Median Calculator
Find the middle of an ordered set without giving every value equal weight in the result.
Result
How to use Median Calculator
- Enter values separated by commas or spaces.
- Select Calculate to see the result.
- Check the result against your units and the worked example.
How it works
Find the middle of an ordered set without giving every value equal weight in the result. Sort the values and take the middle value, or the mean of the two middle values for an even-sized list.
Formula or processing rules
Sort the values and take the middle value, or the mean of the two middle values for an even-sized list.
Worked example
For 2, 5, 9, and 20, the middle values are 5 and 9. Their mean is 7.
| Measure | Value |
|---|---|
| Values separated by commas or spaces | 2, 5, 9, 20 |
| Result | 7 |
Pros and cons
Pros
Find the middle of an ordered set without giving every value equal weight in the result. The sample provides an immediate check of the expected output.
Cons
A median need not occur in the input when the list contains an even number of entries.
Troubleshooting
Check that numeric fields contain numbers and that the selected formula applies to your inputs. A median need not occur in the input when the list contains an even number of entries.
Frequently asked questions
What do I enter?
Values separated by commas or spaces. Use consistent units where the same type of measurement appears.
How is the answer calculated?
Sort the values and take the middle value, or the mean of the two middle values for an even-sized list.
Can I check an example?
For 2, 5, 9, and 20, the middle values are 5 and 9. Their mean is 7.
Why might a result look unexpected?
A median need not occur in the input when the list contains an even number of entries.
Are the inputs submitted to TechKTimes?
The calculator runs in the page and sends no calculation inputs to a TechKTimes server.