Calculate or sort first
An arithmetic mean requires numerical data in the same unit.[1]
For an odd count, the median is the value at rank (n+1)/2 in the sorted list. For an even count of numerical data, average the two middle values. The rank itself is not the median value. Repeated values must remain in the sorted list and count.[1]
x(k) denotes the kth value after sorting in ascending order.[1]
Outliers and unequal group sizes
One very large value pulls the mean upward but often leaves the middle rank unchanged. The median is not automatically concealing bad data; it answers a different question. Spread and the distribution may also be needed for a complete description.[1]
For a robust overview of location, spread and unusual values, use quartiles and boxplots for data comparisons; specify the quartile convention.
Two group means can be averaged directly only when group sizes are equal. Otherwise weight them by their group sizes. Ordinal categories can have a meaningful rank median, while averaging numerical category codes is not automatically meaningful.[1]
Standard deviation additionally describes spread around the mean. A small or large mean alone says nothing about how similar the observations are. Location and spread answer different questions.[1]
An outlier and a weighted mean
Five study times
- Given
- Times: 8, 10, 10, 12 and 60 minutes.
- Find
- Compare the mean and median.
Sum all values and divide by their count.
Read the third value in the sorted list.
Result: Mean 20 minutes and median 10 minutes.
Check: The long individual time raises the mean above four of the five observations.
Two groups of different sizes
- Given
- Group A: 8 people with mean 70; group B: 12 people with mean 80.
- Find
- Find the combined mean.
Recover each group total.
Weight by group sizes.
Result: The combined mean is 76.
Check: The result is closer to 80 because the second group is larger.
Recall the method later with the formula’s flashcards.
10 flashcards · English materials
Already have an account? Sign in for flashcardsAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Five exercises on location measures
Calculate · Foundation
Find the mean and median of 2, 4, 9.
Show hint
The sum and middle rank are different methods.
Learning goal: Calculate mean and median separately.
Show solution and calculation
Mean 5; median 4.
Calculate · Foundation
Find the median of 7, 1, 4, 10.
Show hint
Sort the four values first.
Learning goal: Find the median of an even-sized dataset.
Show solution and calculation
Sorted: 1,4,7,10; median (4+7)/2=5.5.
Interpret · Application
The largest value in 3,4,5,6,100 changes to 1000. What happens to the median?
Show hint
The middle position stays the same.
Learning goal: Explain robustness against an extreme value.
Show solution and calculation
The median remains 5; the mean rises substantially.
Error analysis · Application
A group of 2 has mean 10 and a group of 8 mean 20. Is the overall mean 15?
Show hint
The group sizes are unequal.
Learning goal: Correct unweighted averaging of unequal groups.
Show solution and calculation
No.
(2·10+8·20)/10=18.
Transfer · Application
Four values have mean 12. Add a fifth value of 17. Find the new mean.
Show hint
Recover the original sum.
Learning goal: Update a mean after adding an observation.
Show solution and calculation
The sum rises from 48 to 65, giving a new mean of 13.
Check your understanding with the formula’s reference test.
8 test questions · English materials
Already have an account? Sign in for the testAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Sources for this explanation
Quanta · Updated November 5, 2026
Editorial responsibility: Quanta Study editorial team
Review scope
This explanation, 2 worked examples and 5 exercises are available in German and English. Structure, source references and mathematical notation undergo automated checks. Calculations, model assumptions and both language versions receive a separate AI review.
An independent, named human subject review has not yet been documented. Our exercise numbers are worked examples, rather than measurements published by the cited sources.
Editorial responsibility, sources and methodsChange history
- Added contextual links to relevant next learning steps.
- Added a school-oriented German-English article with original examples, varied solved exercises and subject-specific references.
Cite this reference page
Quanta. Arithmetic mean and median. Updated November 5, 2026. https://quanta-study.de/en/formula-sheet/mittelwert-median
When citing a specific scientific statement, also cite the specialist source linked to that statement.