Average Calculator: Mean, Median, Mode & Weighted Average Explained
- "Average" in everyday speech means arithmetic mean — but median is more accurate for income, house prices, and anything with outliers. Using mean when you should use median is one of the most common statistical errors.
- Weighted average is different from simple average — it accounts for the fact that not all numbers contribute equally (exam marks with different credit weights, mutual fund portfolio returns).
- Mode is the most underused average — it's the only one that works for non-numeric data, and it tells you the most common value, which is often more useful than the "middle" value.
- The fastest way to get the wrong answer from an average: mix percentages and raw numbers in the same calculation.
Use our free Average Calculator to compute mean, median, mode, range, and weighted average from any list of numbers — with step-by-step working shown.
The Four Types of Average: What Each One Tells You
The word "average" is imprecise. It refers to a family of measures — each designed for a different purpose. Using the wrong one produces a number that is technically calculated correctly but completely misleading.
1. Arithmetic Mean (The Everyday "Average")
Formula: Sum of all values ÷ Count of values
When to use it: When all values are roughly similar in magnitude, and there are no extreme outliers.
Example: Test scores: 72, 85, 91, 68, 79 Mean = (72 + 85 + 91 + 68 + 79) ÷ 5 = 395 ÷ 5 = 79
When NOT to use it: When extreme values distort the picture.
Classic example of mean misleading: 5 employees earning: ₹25,000 / ₹30,000 / ₹28,000 / ₹32,000 / ₹5,00,000 (the CEO) Mean salary = (25,000 + 30,000 + 28,000 + 32,000 + 5,00,000) ÷ 5 = ₹1,23,000
That "average salary" of ₹1.23 lakh represents nobody in the room. Four employees earn ₹25,000–₹32,000. The mean is destroyed by one outlier.
2. Median (The Middle Value)
Formula: Sort all values in order. The median is the middle value (odd count) or the average of the two middle values (even count).
When to use it: Income data, house prices, any data with outliers or skewed distribution.
Example (same employees): Sorted: ₹25,000 / ₹28,000 / ₹30,000 / ₹32,000 / ₹5,00,000 Median = ₹30,000 (the middle value)
₹30,000 accurately represents the typical employee's salary. The ₹5 lakh CEO doesn't distort it.
Even number of values — take the average of the two middle: Values: 12, 15, 18, 22, 25, 31 Middle two: 18 and 22 Median = (18 + 22) ÷ 2 = 20
Why government income statistics use median: India's median household income and median home prices are reported using median — not mean — precisely because a small number of very high earners would pull the mean far above what most households actually experience.
3. Mode (The Most Frequent Value)
Formula: The value that appears most often in the dataset.
When to use it: Finding the most common size, most popular product, most frequent score.
Example — shoe sizes sold in a week: Sizes: 7, 8, 8, 9, 9, 9, 10, 10, 11 Mode = 9 (appears 3 times)
A retailer needs to know which size to stock most — and mode tells you exactly that. Mean (8.78) and median (9) are less useful for this decision.
Multiple modes: A dataset can have two modes (bimodal) or more. Values: 2, 3, 3, 5, 7, 7, 9 → modes are 3 and 7. No mode: If every value appears exactly once, there is no mode.
Mode for non-numeric data: Mode is the only average that works for categories. Survey responses: "Very Satisfied" × 45, "Satisfied" × 30, "Neutral" × 15, "Dissatisfied" × 10 Mode = "Very Satisfied" — you cannot compute mean or median for text categories.
4. Weighted Average
Formula: Σ (Value × Weight) ÷ Σ Weights
When to use it: When different values contribute unequally to the final result — exam scores with different credit weights, portfolio returns on different invested amounts, GPA from subjects with different credit hours.
Example — student exam scores with different weights:
| Subject | Score | Weight (Credits) | Score × Weight |
|---|---|---|---|
| Maths | 85 | 4 | 340 |
| Science | 72 | 3 | 216 |
| English | 90 | 2 | 180 |
| Sports | 95 | 1 | 95 |
Simple average = (85 + 72 + 90 + 95) ÷ 4 = 85.5 Weighted average = (340 + 216 + 180 + 95) ÷ (4 + 3 + 2 + 1) = 831 ÷ 10 = 83.1
The weighted average is lower because Maths (high weight, lower score) pulls it down more than Sports (low weight, high score) pulls it up.
Portfolio weighted average return:
| Investment | Amount (₹) | Return % | Amount × Return |
|---|---|---|---|
| Equity fund | 5,00,000 | 14% | 70,000 |
| Debt fund | 3,00,000 | 7% | 21,000 |
| Gold | 2,00,000 | 10% | 20,000 |
Simple average return = (14 + 7 + 10) ÷ 3 = 10.33% ← wrong Weighted average = (70,000 + 21,000 + 20,000) ÷ 10,00,000 = 11.1% ← correct
The portfolio's actual return is 11.1% — equity's higher weight dominates.
Step-by-Step: How to Calculate Each Average
Calculating Mean — Step by Step
1. Add all values together 2. Divide by the count of values
Example: 34, 67, 45, 89, 23, 56, 78 Step 1: 34 + 67 + 45 + 89 + 23 + 56 + 78 = 392 Step 2: 392 ÷ 7 = 56
Calculating Median — Step by Step
1. Sort all values from smallest to largest 2. Count the values (n) 3. If n is odd: median = value at position (n+1)/2 4. If n is even: median = average of values at positions n/2 and n/2 + 1
Odd count example: 34, 23, 67, 45, 89 Step 1 (sorted): 23, 34, 45, 67, 89 Step 2: n = 5 (odd) Step 3: Position (5+1)/2 = 3rd value Median = 45
Even count example: 34, 23, 67, 45, 89, 56 Step 1 (sorted): 23, 34, 45, 56, 67, 89 Step 2: n = 6 (even) Step 3: Average positions 3 and 4: (45 + 56) ÷ 2 Median = 50.5
Calculating Mode — Step by Step
1. Count how many times each value appears 2. The value with the highest count is the mode
Example: 4, 7, 2, 7, 9, 4, 7, 3 Counts: 2→1, 3→1, 4→2, 7→3, 9→1 Mode = 7 (appears 3 times)
Calculating Weighted Average — Step by Step
1. Multiply each value by its weight 2. Sum all (value × weight) products 3. Divide by the sum of all weights
Also Useful: Range and Standard Deviation
These aren't "averages" but they answer the next question after you compute the average: how spread out are the values?
Range
Formula: Maximum value − Minimum value
Example: Scores 45, 67, 72, 85, 91 Range = 91 − 45 = 46
Range tells you the spread. A class where everyone scores 70–80 has a range of 10. A class where scores range from 20–95 has range 75 — same mean, very different picture.
Standard Deviation
Standard deviation measures how much values typically deviate from the mean. A low SD means values cluster tightly around the mean; a high SD means they're widely spread.
Computing SD by hand is tedious — use our calculator. But the concept matters:
- Investment A: average return 12%, SD 2% → consistent, predictable
- Investment B: average return 12%, SD 18% → same average but swings from −6% to +30%
Same mean, radically different risk profile. SD captures what mean alone hides.
Real-World Applications: Which Average to Use
Situation Use This Why
Class exam scores Mean or median Mean if distribution is normal; median if a few very high/low scores
Income / salary data Median Outliers (very high earners) destroy mean
House prices in an area Median Same reason — a few luxury homes skew mean
Most popular product size Mode You want the most common, not the middle
GPA across subjects Weighted average Different subjects have different credit weights
Portfolio return Weighted average Different amounts invested in each asset
Survey satisfaction scores Median or mode Mode for categories, median for rating scales
Cricket batting average Mean Total runs ÷ innings — standard use of mean
Run rate in cricket Mean Runs per over
Common Average Calculation Mistakes
| Situation | Use This | Why |
|---|---|---|
| Class exam scores | Mean or median | Mean if distribution is normal; median if a few very high/low scores |
| Income / salary data | Median | Outliers (very high earners) destroy mean |
| House prices in an area | Median | Same reason — a few luxury homes skew mean |
| Most popular product size | Mode | You want the most common, not the middle |
| GPA across subjects | Weighted average | Different subjects have different credit weights |
| Portfolio return | Weighted average | Different amounts invested in each asset |
| Survey satisfaction scores | Median or mode | Mode for categories, median for rating scales |
| Cricket batting average | Mean | Total runs ÷ innings — standard use of mean |
| Run rate in cricket | Mean | Runs per over |
Mistake 1: Averaging percentages directly
Wrong: You scored 80% in test 1 (out of 50 marks) and 60% in test 2 (out of 100 marks). Average = (80 + 60) ÷ 2 = 70% ← incorrect
Correct: Total marks = (80% × 50) + (60% × 100) = 40 + 60 = 100 marks out of 150 Actual percentage = 100 ÷ 150 × 100 = 66.7%
Averaging percentages only works when both percentages are from the same base.
Mistake 2: Using mean for skewed data
The mean household income in India is significantly higher than the median household income — because a small number of very high earners pull the mean up. Quoting the mean as "the average Indian income" misrepresents what most Indians actually earn.
Mistake 3: Forgetting to sort before finding median
Values: 12, 45, 7, 23, 31 If you take the middle value of this unsorted list = 7 ← wrong Sort first: 7, 12, 23, 31, 45 Median = 23 ← correct
Mistake 4: Confusing weighted average with mean
If 3 exams have equal weight, use mean. If they have different credit hours or mark totals, use weighted average. Using mean when weights differ produces wrong final scores — a common source of grade disputes.
Average Calculator for Students: Specific Formulas
Calculating average marks (equal tests): Average = Total marks scored ÷ Number of tests
Calculating percentage when marks and total differ per test: Overall % = (Sum of all marks scored ÷ Sum of all total marks) × 100
Calculating CGPA from semester GPAs (wrong way — simple average): Don't do this: (8.5 + 7.9 + 8.2) ÷ 3 — wrong if credit loads differ Do this: Σ (GPA × Credits) ÷ Σ Credits — weighted by credit hours each semester
See our GPA Calculator for the full CGPA calculation with university-specific formulas.
FAQ
The Right Average for the Right Question
The most common statistical error in everyday life isn't a complex formula mistake — it's using the mean when the median is more appropriate, or using a simple average when a weighted average is needed.
Before calculating: ask what the number will be used for. Finding the "typical" value in skewed data? Use median. Finding the most common category? Use mode. Accounting for different importances? Use weighted average.
Use our free Average Calculator to compute mean, median, mode, range, and weighted average from any list of numbers — with step-by-step working shown for every calculation.
Try the Free Average Calculator
Use ToolMira's calculator — no signup, no ads, works on mobile.
Open Calculator →Disclaimer: This article is for educational purposes only and does not constitute financial, investment, or professional advice. Please consult a qualified professional before making any decisions based on this content.