Average Calculator: Mean, Median, Mode & Weighted Average Explained

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:

SubjectScoreWeight (Credits)Score × Weight
Maths854340
Science723216
English902180
Sports95195

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:

InvestmentAmount (₹)Return %Amount × Return
Equity fund5,00,00014%70,000
Debt fund3,00,0007%21,000
Gold2,00,00010%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:

Same mean, radically different risk profile. SD captures what mean alone hides.


Real-World Applications: Which Average to Use
SituationUse ThisWhy
Class exam scoresMean or medianMean if distribution is normal; median if a few very high/low scores
Income / salary dataMedianOutliers (very high earners) destroy mean
House prices in an areaMedianSame reason — a few luxury homes skew mean
Most popular product sizeModeYou want the most common, not the middle
GPA across subjectsWeighted averageDifferent subjects have different credit weights
Portfolio returnWeighted averageDifferent amounts invested in each asset
Survey satisfaction scoresMedian or modeMode for categories, median for rating scales
Cricket batting averageMeanTotal runs ÷ innings — standard use of mean
Run rate in cricketMeanRuns per over

Common Average Calculation Mistakes

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

What is the difference between mean, median, and mode?
Mean is the sum divided by count — the arithmetic average. Median is the middle value when data is sorted — resistant to outliers. Mode is the most frequent value — useful for categories and finding the most common item. For most everyday data, use mean. For income or prices with extreme values, use median.
When should I use weighted average instead of regular average?
Use weighted average when the values being averaged don't all contribute equally — exam subjects with different credit hours, investments with different amounts, product ratings weighted by number of reviewers. Regular mean treats every number identically regardless of importance.
How do I calculate average percentage?
Don't simply average the percentages — this is wrong when the bases differ. Instead: sum all marks scored across all tests, divide by sum of all marks possible, multiply by 100. Example: 40/50 and 60/100 → average = (40+60)/(50+100) × 100 = 66.7%, not (80%+60%)/2 = 70%.
How do I find the average of negative numbers?
The same way as positive numbers — add all values (including negatives) and divide by count. Example: −5, −3, 2, 8, −1 → sum = 1, count = 5, mean = 0.2. Negative numbers cause no special issue in averaging.
What does "above average" mean?
Strictly, it means above the mean. But whether being "above average" is meaningful depends on the data. If scores are 95, 97, 98, 99, 100, the mean is 97.8 — being "below average" at 96 is hardly significant. Context always matters more than the label.

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 →
AM
Written by Ananya Menon
Ananya writes about personal finance, tax, and investing for ToolMira, breaking down India's money rules into plain language with worked examples.

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.