M

Math & Statistics

Median Calculator

Find the median of exactly five entered values, compare it with their arithmetic mean, and review the minimum and maximum. The page is designed for a compact five-observation check and makes the distinction between central position and average magnitude explicit.

Median-
Arithmetic mean-
Minimum-
Maximum-

Decision view

Ordered observations and the middle position

Ordered observations and the middle positionThe five entered values are sorted on one number line; the third observation is the median and the arithmetic mean is shown separately.
Exact scenario comparisonValue 5 changes while all other entered assumptions remain constant.
Value 5MedianArithmetic meanMinimumMaximum

How to use Median Calculator

  1. Enter five observations measured on the same scale; repeated values, negative values, and decimals are valid.
  2. Compare the median with the arithmetic mean. A wide separation is a useful prompt to inspect skew or an extreme observation rather than choosing one measure automatically.
  3. Read the minimum and maximum with the center measures, then retain the original observations if a fuller distribution analysis may be needed.

Calculator guide

Understanding Median Calculator

The median is a position-based measure: it asks which observation sits in the middle after the values are ordered. That makes it especially useful when one unusually large or small value would pull the arithmetic mean away from a typical observation.

Position, not total The median depends on ordered rank and does not use the distance between adjacent values.
Fixed middle With five valid observations, exactly two lie at or below and two at or above the central ordered position, allowing for ties.
Mean comparison A mean far above or below the median can reveal asymmetry or an influential extreme value.
Endpoint context Minimum and maximum help show whether the same median sits inside a narrow or very wide span.

Calculation method

How the calculation works

Sort the five entered observations and select the central value, while also displaying mean and range context. Sort the five entered observations and select the central value, while also displaying mean and range context.

Measure selection

When median is more informative than mean

The appropriate center depends on what the values represent and how the result will be used.

Skewed prices or incomes A few very high observations can dominate the mean while the median still represents the middle case.
Ordered service times The median describes the middle completed case without allowing one severe delay to determine the center.
Symmetric measurements When observations are balanced and free of influential errors, median and mean may tell a similar story.
Totals and resource planning When the total amount matters, the mean is often indispensable because median multiplied by count does not reconstruct the total.

Report the chosen measure with the observation count and enough distribution context to explain why it is appropriate.

Worked situations

Practical examples

  • For 12, 18, 25, 31, and 90, the ordered middle value is 25 even though the arithmetic mean is 35.2.
  • For 4, 4, 5, 6, and 7, the median is 5; the repeated 4 remains part of the ordering and is not removed.
  • Replacing 90 with 900 leaves the median at 25 but raises the mean sharply, illustrating the median's resistance to one extreme value.

Better inputs

Useful tips

  • Use comparable observations; mixing currencies, time periods, or measurement units makes both median and mean meaningless.
  • Do not discard a value merely because it is far from the others. First determine whether it is a valid extreme observation or a data error.
  • For an even number of observations, the usual median is the average of the two central ordered values; this page intentionally accepts exactly five values.

Before relying on the result

Limitations and common mistakes

  • The calculator is fixed to five observations and does not accept a longer pasted dataset or apply weights.
  • Minimum and maximum show the endpoints but do not provide quartiles, interquartile range, or an outlier rule.
  • A median alone does not describe clusters, gaps, frequency, sampling uncertainty, or the shape of the distribution.

Reference

Key terms

Median
The central ordered observation; with five values it is the third value after sorting.
Arithmetic mean
The sum of all five observations divided by five.
Order statistic
A value identified by its position after the dataset has been sorted.
Resistant measure
A statistic that changes relatively little when one observation becomes extreme.

Important note

Calculated directly from the entered values using the displayed formula and rounding settings.

Frequently asked questions

Must the values be entered in sorted order?

No. The calculator orders the five values internally before selecting the middle observation.

Do repeated values change the median rule?

No. Every observation keeps its place in the ordered list, including duplicates.

Why can the median and mean be very different?

The mean uses every value's magnitude, while the median uses only ordered position; an extreme value therefore affects the mean much more.

Is the median always the most representative value?

No. It is useful for skewed or outlier-prone data, but it can hide spread, multiple clusters, and changes in values away from the center.