Skip to content

Median Calculator

comma-separated

Result

Median5
Count9
Sorted Values1, 2, 3, 4, 5, 6, 7, 8, 9
↗ Math

Median Calculator — free online calculator.

Formula

Median=middle sorted value, for even n the average of two middle values
  • Median calculator. Use the calculator to evaluate the stated statistic and compare it with the worked example.
  • The main inputs are Numbers. Enter them in the units and format shown in the calculator.
  • Keep comparable quantities in compatible units whenever the formula combines or compares them.
  • Changing any input above recalculates the result with the same calculation engine used by this page.

Example: Median

Inputs
  • Numbers: 3,7,1,9,4,6,8,2,5 comma-separated

For 2, 5, 8, 12: median = (5 + 8) ÷ 2 = 6.5.

Sample result: Calculating…

Frequently asked questions

What does the Median calculate?

The median is the central value of an ordered data set and is less sensitive to extreme values than the mean.

Which values should I enter?

Enter Numbers using the units and format shown beside each field.

What formula does this calculator use?

The calculator uses the following relationship: Median=middle sorted value, for even n the average of two middle values.

Why might my result differ from another source?

Results can differ when another source uses different units, rounding rules, conventions or assumptions. Compare the inputs and definitions before comparing results.

Does the result update automatically?

Yes. Changing an input updates the result using the same calculation engine shown on this page.

Page information

Updated: October 10, 2026