Median Calculator

Find the middle of an ordered set without giving every value equal weight in the result.

Numeric inputsList calculationRuns in your browser

Enter your values

Result

Enter values to calculate the result.

How to use Median Calculator

  1. Enter values separated by commas or spaces.
  2. Select Calculate to see the result.
  3. 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.

Worked example
MeasureValue
Values separated by commas or spaces2, 5, 9, 20
Result7

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.