Median Formula

The median is the middle value when all data points are arranged in order from smallest to largest.

The Formula

median position=n+12\text{median position} = \frac{n+1}{2}

When to use: If you lined up your whole class by height, the median height is the person standing exactly in the middle. It's not affected by whether the tallest kid is 5'5" or 7 feet - the middle person stays the same.

Quick Example

Heights: 4'8", 5'0", 5'2", 5'4", 6'2". Median = 5'2" (the middle). The 6'2" outlier doesn't affect it.

Notation

The median is denoted x~\tilde{x} or MM. It equals the 50th percentile (P50P_{50}) and the second quartile (Q2Q_2).

What This Formula Means

The median is the middle value when all data points are arranged in order from smallest to largest. Half the values lie above it and half below. For an even number of values, the median is the average of the two middle values.

If you lined up your whole class by height, the median height is the person standing exactly in the middle. It's not affected by whether the tallest kid is 5'5" or 7 feet - the middle person stays the same.

Formal View

For sorted data x(1)x(2)x(n)x_{(1)} \leq x_{(2)} \leq \ldots \leq x_{(n)}, the median is x~=x((n+1)/2)\tilde{x} = x_{((n+1)/2)} when nn is odd, or x~=x(n/2)+x(n/2+1)2\tilde{x} = \frac{x_{(n/2)} + x_{(n/2+1)}}{2} when nn is even.

Worked Examples

Example 1

medium
Eight scores: 60,65,70,75,80,85,90,9560, 65, 70, 75, 80, 85, 90, 95. Find the median and explain which positions you used.

Answer

77.577.5

First step

1
n=8n=8; the middle pair are positions 44 and 55: 7575 and 8080.

See the full worked solution + why-it-works coaching

SetupKey insightWhy it worksCommon pitfallConnection

Unlock answer keys One Family plan — every worked solution, all subjects

Example 2

hard
Twelve test scores have median 8080. After the teacher adds 55 bonus points to each score, what is the new median?

Example 3

challenge
Seven distinct positive integers have median 1010. What is the smallest possible value of their sum?

Common Mistakes

  • Forgetting to order data first - The safer move is to ask "Do I need one number that represents the center of the data, and have I checked whether extreme values change that choice?" and then state the data source, denominator, or variable before interpreting the result.
  • Confusing with mean - The safer move is to ask "Do I need one number that represents the center of the data, and have I checked whether extreme values change that choice?" and then state the data source, denominator, or variable before interpreting the result.
  • Not averaging two middle values for even-sized data - The safer move is to ask "Do I need one number that represents the center of the data, and have I checked whether extreme values change that choice?" and then state the data source, denominator, or variable before interpreting the result.
  • Choosing median from a keyword alone - Keywords like average, typical, middle are only clues; the data structure must match the concept.

Common Mistakes Guide

If this formula feels simple in isolation but keeps breaking during real problems, review the most common errors before you practice again.

Why This Formula Matters

Median gives students a disciplined way to summarize where data is centered. It is especially useful when two data sets look different but need a compact comparison, because the center tells where values tend to sit before students discuss spread, shape, or unusual values.

Frequently Asked Questions

What is the Median formula?

The median is the middle value when all data points are arranged in order from smallest to largest. Half the values lie above it and half below. For an even number of values, the median is the average of the two middle values.

How do you use the Median formula?

If you lined up your whole class by height, the median height is the person standing exactly in the middle. It's not affected by whether the tallest kid is 5'5" or 7 feet - the middle person stays the same.

What do the symbols mean in the Median formula?

The median is denoted x~\tilde{x} or MM. It equals the 50th percentile (P50P_{50}) and the second quartile (Q2Q_2).

Why is the Median formula important in Statistics?

Median gives students a disciplined way to summarize where data is centered. It is especially useful when two data sets look different but need a compact comparison, because the center tells where values tend to sit before students discuss spread, shape, or unusual values.

What do students get wrong about Median?

Students often know a procedure related to median but skip the recognition step: Do I need one number that represents the center of the data, and have I checked whether extreme values change that choice? That leads to a calculation or graph that looks reasonable but answers a different question.

What should I learn before the Median formula?

Before studying the Median formula, you should understand: mean fair share.