Skip to main content

Median and Mode: Finding the True Center

Learn when the middle value or most frequent value gives a truer picture of data than the mean β€” and how to find both.

Lesson 4 of 10 Statistics & Probability Beginner ⏱ 8 min read
πŸ”₯ Why This Matters

The mean isn't always the right answer. When a few extreme values skew the data β€” a handful of billionaires, one record-breaking storm, a single viral product β€” the mean stops representing the typical experience. Real estate agencies report median home prices because one mansion sale would distort the average. Retailers focus on the mode β€” the most popular size or color β€” to decide what to stock. Knowing when to use median vs. mode vs. mean separates thoughtful analysis from misleading statistics.

🎯 What You'll Learn
  • Find the median of both odd-count and even-count datasets by sorting and selecting the middle
  • Identify the mode (or modes) of a dataset, including bimodal and multimodal cases
  • Choose the most appropriate measure of center for a given real-world situation
πŸ“– Key Vocabulary
MedianThe middle value of a sorted dataset. Half of all values lie above it, half below. ModeThe value that appears most frequently. A dataset can have one mode, multiple modes, or no mode. BimodalA dataset with exactly two modes β€” two values tied for most frequent. Skewed DistributionA dataset where the mean is pulled far from the center by outliers; the median is more representative. Measures of CenterStatistics that describe the "typical" value: mean, median, and mode are the three main ones.
Key Concept β€” Median Formulas

Sort the data in ascending order first. Then:

\[ \text{Odd } n: \quad \text{Median} = x_{\left(\frac{n+1}{2}\right)} \] \[ \text{Even } n: \quad \text{Median} = \frac{x_{\left(\frac{n}{2}\right)} + x_{\left(\frac{n}{2}+1\right)}}{2} \]

For the mode: count how often each value appears β€” the value with the highest count is the mode.

Median Finding β€” Odd vs. Even Count

ScenarioSorted DataMedian
Odd count (n=5)3, 7, 12, 18, 2412
Even count (n=6)3, 7, 12, 18, 24, 31\((12+18)/2 =\) 15
With outlier (n=5)3, 7, 12, 18, 98012 (mean = 204)

The median of 12 is unchanged by the outlier 980 β€” the mean jumps to 204.

Worked Example 1 β€” Basic: Median with Odd Count

Find the median of: 9, 3, 15, 6, 12.

Step 1 β€” Sort: 3, 6, 9, 12, 15. Step 2 β€” n=5 (odd), middle position = (5+1)/2 = 3rd value.

\[ \text{Median} = \mathbf{9} \]
Worked Example 2 β€” Intermediate: Mode in a Sales Dataset

A shoe store sells these sizes in one day: 8, 9, 10, 9, 11, 8, 9, 10, 9, 12.

Count frequencies: 8β†’2, 9β†’4, 10β†’2, 11β†’1, 12β†’1.

Size 9 appears 4 times β€” more than any other. Mode = 9.

The store manager orders extra stock of size 9 for next week.

Worked Example 3 β€” Real World: Home Prices

A neighborhood has 7 home sales: $220k, $240k, $235k, $228k, $242k, $231k, $1,850k (estate sale).

\[ \text{Mean} = \frac{220 + 240 + 235 + 228 + 242 + 231 + 1850}{7} = \frac{3246}{7} \approx \$464k \]

Sorted: $220k, $228k, $231k, $235k, $240k, $242k, $1,850k.

\[ \text{Median} = \$235k \]

The real estate report uses $235k β€” 5 of 7 buyers paid close to that. The $464k "average" would mislead anyone shopping in this neighborhood.

✏️ Quick Check
  1. Find the median of: 14, 3, 22, 8, 17, 5.
  2. A dataset is: 4, 7, 4, 9, 7, 4, 2. What is the mode?
  3. When should you prefer the median over the mean?
β–Ά Show Answers
  1. Sorted: 3, 5, 8, 14, 17, 22. Even count: \((8+14)/2 =\) 11.
  2. 4 appears 3 times (most frequent). Mode = 4.
  3. Prefer the median when the data contains outliers or is heavily skewed β€” the median is resistant to extreme values.
⚠️ Common Mistakes
  • Forgetting to sort first: The median of 3, 7, 1 is NOT 7 β€” you must sort to 1, 3, 7 first. The middle of the original order means nothing.
  • Declaring "no mode" too quickly: If every value appears exactly once, the dataset truly has no mode. But if multiple values tie for highest frequency, they are all modes (bimodal, multimodal).
  • Even-count median error: With an even number of values, the median is the mean of the two middle values β€” not just either one of them.
βœ… Key Takeaways
  • Median = middle value of sorted data; use \((n+1)/2\) for odd n, average the two middle values for even n.
  • Mode = most frequent value; a dataset can have zero, one, or multiple modes.
  • The median is resistant to outliers β€” prefer it for skewed data like incomes, home prices, and response times.
  • The mode is best for categorical data β€” "most popular product," "most common diagnosis," "most frequent defect."
πŸ’Ό Career Connection β€” Real Estate Analyst & Retail Buyer

Real estate analysts report median sale prices because a single luxury listing can double the arithmetic mean, creating a false impression of the market. The National Association of Realtors and every major real estate platform uses median as the standard reporting metric. Meanwhile, retail buyers at clothing and footwear companies obsess over the mode β€” the most commonly purchased size β€” to determine inventory allocation. Stocking too much of the wrong size means unsold clearance; stocking too little of the most-needed size means lost sales. Both professionals rely on the right measure of center to make decisions worth thousands or millions of dollars.

Calculator Connection

The Median Calculator sorts any dataset and pinpoints the middle value instantly. The Mode Calculator identifies all modes, including bimodal datasets. The Trimmed Mean Calculator removes a specified percentage of extreme values from both ends before averaging β€” a useful middle ground between mean and median for skewed data.

Try it with the Calculator

Apply what you've learned with these tools.

Median Calculator
Find the middle value in a sorted data set.
Use calculator β†’
Mode Calculator
Find the most frequent value(s) in a data set.
Use calculator β†’
Trimmed Mean Calculator
Calculate the mean after removing a percentage of outliers.
Use calculator β†’
← Previous Lesson
Back to
Calculating the Mean (Average)
Continue Learning
Up Next: Measuring Spread: Range, Variance, and Standard Deviation
Next Lesson →
Test Your Knowledge

Median and Mode: Finding the True Center: Quiz

5 questions per attempt  Β·  Beginner  Β·  Pass at 70%

Start Quiz β†’

More in Statistics & Probability

Understanding Data and Types of Data Organizing Data with Frequency Tables Calculating the Mean (Average)
← All Statistics & Probability lessons