To find the median of a data set with an even number of values, first arrange the numbers from smallest to largest. Then find the two middle values, add them together, and divide the result by 2.
For example, in the sorted data set 3, 5, 7, 9, the two middle values are 5 and 7:
Median = (5 + 7) ÷ 2 = 6
Unlike a data set with an odd number of values, an even-sized data set does not have one single number in the middle. Instead, you calculate the average of the two middle numbers.
Online Caculator to Find Median
Median “Even vs Odd” Calculator
Enter your data to see the step-by-step logic
How to Find the Median of an Even Number of Values
Finding the median of an even number of values takes just three steps.
Step 1: Arrange the Numbers from Smallest to Largest
Always sort the values before finding the median.
For example:
9, 3, 7, 5
becomes:
3, 5, 7, 9
The position of each number matters when finding the median, so using an unsorted list can give you the wrong answer.
Step 2: Find the Two Middle Numbers
When there is an even number of values, there are always two numbers in the middle.
For example:
3, 5, 7, 9
The middle two numbers are:
5 and 7
If there are n values in total, the two middle positions are:
n ÷ 2 and (n ÷ 2) + 1
Step 3: Add the Two Middle Numbers and Divide by 2
Once you find the two middle values, calculate their average.
Median = (Middle Value 1 + Middle Value 2) ÷ 2
For the numbers 5 and 7:
Median = (5 + 7) ÷ 2 = 6
Therefore, the median is 6.
Median Formula for an Even Number of Values
For a sorted data set with an even number of values:
Median = (Value at position n/2 + Value at position n/2 + 1) ÷ 2
Where n is the total number of values.
For example, if there are 8 numbers:
- The first middle position is 8 ÷ 2 = 4
- The second middle position is 4 + 1 = 5
Find the 4th and 5th values, then calculate their average.
Worked Examples of Finding the Median with Even Numbers
Example 1: Median of 4 Quiz Scores
Four students score 7, 3, 9, and 5 on a pop quiz.
- Sorted: 3, 5, 7, 9
- With n = 4, the middle positions are 2 and 3, holding the values 5 and 7
- Median = (5 + 7) ÷ 2 = 6
Example 2: Median of 6 Values (Books Read)
Six kids read the following number of books over summer break: 12, 8, 15, 8, 20, 10.
- Sorted: 8, 8, 10, 12, 15, 20
- With n = 6, the middle positions are 3 and 4, holding the values 10 and 12
- Median = (10 + 12) ÷ 2 = 11
Example 3: Median of 8 Values (Weekly Temperatures)
A student records the high temperature in °F for 8 consecutive days: 74, 68, 81, 70, 76, 79, 72, 77.
| Step | Result |
|---|---|
| Sorted list | 68, 70, 72, 74, 76, 77, 79, 81 |
| Middle two values (positions 4 and 5) | 74 and 76 |
| Median | (74 + 76) ÷ 2 = 75 |
The median high temperature for the week is 75°F. The same method applies to any even-sized numeric data set — test scores, allowance amounts, or grocery totals — whenever a single value needs to summarize the “typical” middle of the set.
Why Do You Average the Two Middle Numbers?
With an odd number of values, one number sits exactly in the middle.
For example:
2, 4, 6, 8, 10
The middle value is 6.
However, with an even number of values, there is no single middle number.
For example:
2, 4, 6, 8
The two middle values are 4 and 6.
To find the value exactly halfway between them, calculate their average:
(4 + 6) ÷ 2 = 5
That is why the median of an even-sized data set is the average of the two middle values.
Median of an Even Number of Values vs. an Odd Number of Values
The method changes depending on whether the data set contains an even or odd number of values.
| Number of Values | How to Find the Median |
|---|---|
| Odd number of values | Sort the numbers and choose the one middle value |
| Even number of values | Sort the numbers, find the two middle values, and calculate their average |
For example:
Odd number of values:
1, 3, 5, 7, 9
Median = 5
Even number of values:
1, 3, 5, 7
Median = (3 + 5) ÷ 2 = 4
Common Mistakes When Finding the Median
Forgetting to Sort the Numbers
The median is based on the position of numbers after they are arranged from smallest to largest.
For example:
9, 2, 7, 4
You should not choose 2 and 7 simply because they appear in the middle of the original list.
First sort the values:
2, 4, 7, 9
Then calculate:
(4 + 7) ÷ 2 = 5.5
Choosing Only One Middle Number
An even number of values always has two middle positions.
You need to use both middle values.
For example:
3, 5, 7, 9
Do not choose only 5 or only 7.
The correct calculation is:
(5 + 7) ÷ 2 = 6
Confusing the Median with the Mean
The median is based on the middle position of a sorted data set.
The mean is calculated by adding all values and dividing by the total number of values.
These are different measurements and can produce different answers.
Median vs. Mean vs. Mode: How the Three Measures Compare
| Measure | Definition | How it’s found | Affected by outliers? |
|---|---|---|---|
| Median | The middle value of a sorted data set | Sort the data; for even sets, average the two middle values | Minimally — depends on position, not size |
| Mean | The arithmetic average of all values | Sum all values, divide by the count | Yes — a single extreme value shifts it |
| Mode | The value that appears most often | Count frequency of each value | Not directly |
Because the median depends on position rather than magnitude, it changes little when a data set includes an outlier, which is why the median is often preferred over the mean for skewed data such as household income or home prices.
FAQs About Finding the Median with Even Numbers
What do you do if there are an even number of values?
Sort the values from smallest to largest, find the two middle numbers, add them together, and divide by 2.
What is the formula for the median when there are an even number of values?
Median = (Middle Value 1 + Middle Value 2) ÷ 2
Can the median be a decimal?
Yes. For example, if the two middle numbers are 7 and 8:
(7 + 8) ÷ 2 = 7.5
Is the median always one of the numbers in the data set?
No. With an even number of values, the median can be a new number created by averaging the two middle values.
For example:
3, 5, 7, 9
The median is 6, even though 6 does not appear in the original data set.
What happens if the two middle numbers are the same?
The median is that same number.
For example:
2, 4, 4, 8
The two middle numbers are 4 and 4.
Median = (4 + 4) ÷ 2 = 4
Summary
To find the median of an even number of values:
- Sort the numbers from smallest to largest.
- Find the two middle values.
- Add the two middle values together.
- Divide by 2.
For example:
3, 5, 7, 9
The middle values are 5 and 7.
Median = (5 + 7) ÷ 2 = 6
Once you remember this simple process, you can find the median of any data set with an even number of values.
Discovering the maths whiz in every child,
that’s what we do.
Suitable for students worldwide, from grades K-12.
Get started free!Nathan, a graduate of the University of New South Wales, brings over 9 years of expertise in teaching Mathematics and Science across primary and secondary levels. Known for his rigorous yet steady instructional style, Nathan has earned high acclaim from students in grades 1-12. He is widely recognized for his unique ability to blend academic rigor with engaging, interactive lessons, making complex concepts accessible and fun for every student. Nathan also has extensive experience helping students prepare for the AMC 8 and Math Kangaroo competitions, guiding them to achieve outstanding results in international math contests.
