The most common formula for an average is the arithmetic mean: add up all the values and divide by the number of values. For example, the average of 2, 4, and 9 is (2+4+9)/3 = 5. However, “average” can also refer to the median (the middle value) or the mode (the most frequent value), and choosing the right one depends on your data.
What Does “Average” Really Mean?
In everyday language, “average” usually means the arithmetic mean. But in statistics, the term is ambiguous. There are three main measures of central tendency, each summarizing a dataset differently:
- Mean – the sum of all values divided by the count. Sensitive to extreme values (outliers).
- Median – the middle value when data is sorted. Resistant to outliers.
- Mode – the value that appears most often. Useful for categorical or discrete data.
For a symmetric distribution without outliers, the mean and median are close. For skewed data (like incomes), the median often better represents the “typical” value.
The Arithmetic Mean: Step-by-Step
To compute the arithmetic mean:
- Sum all the numbers in the dataset.
- Count how many numbers there are.
- Divide the sum by the count.
Example: Test scores of 5 students: 70, 85, 90, 95, 100. Sum = 440. Count = 5. Mean = 440/5 = 88.
In spreadsheet software like Excel, the function is =AVERAGE(A1:A5) assuming scores are in A1:A5. In Google Sheets, the same function works. The result is 88.
Weighted Average: When Not All Values Count Equally
Sometimes each value has a different importance (weight). The weighted mean formula is:
Weighted Mean = (Σ (value × weight)) / (Σ weight)
Example: A course grade is 40% homework and 60% exam. Homework score = 90, exam score = 80. Weighted mean = (90×0.4 + 80×0.6) / (0.4+0.6) = (36 + 48) / 1 = 84.
In Excel, use =SUMPRODUCT(values, weights)/SUM(weights). For values in A2:A3 and weights in B2:B3, the formula =SUMPRODUCT(A2:A3,B2:B3)/SUM(B2:B3) returns 84.
Median: The Middle Value
The median is the value separating the higher half from the lower half. To find it:
- Sort the data from smallest to largest.
- If the count is odd, the median is the middle number.
- If the count is even, the median is the average of the two middle numbers.
Example: Data: 3, 1, 9, 5, 7. Sorted: 1, 3, 5, 7, 9. Median = 5 (odd count).
Example: Data: 2, 4, 6, 8. Sorted: 2, 4, 6, 8. Even count, middle two are 4 and 6, median = (4+6)/2 = 5.
In Excel, use =MEDIAN(A1:A5). In Google Sheets, same.
Mode: The Most Frequent Value
The mode is the value that occurs most often. A dataset may have one mode, multiple modes, or no mode (if all values are unique).
Example: Data: 2, 3, 3, 5, 7. Mode = 3.
In Excel, use =MODE.SNGL(A1:A5) for a single mode, or =MODE.MULT(A1:A5) for multiple modes (entered as an array formula in older versions; in Excel 365 it spills automatically). In Google Sheets, =MODE(A1:A5) works for single mode.
How to Choose the Right Average
Choosing depends on your data and purpose:
- Use the mean when data is symmetric and no outliers, and you need a measure that uses all values.
- Use the median when data is skewed or has outliers (e.g., house prices, salaries).
- Use the mode for categorical data (e.g., most common shoe size) or when you need the most typical value.
Example: In a neighborhood, most homes cost $300,000, but one mansion costs $3,000,000. The mean price is skewed high, but the median more accurately reflects the typical home price.
Common Misconceptions and Pitfalls
One common mistake is using the mean for skewed data, leading to misleading conclusions. Another is confusing the weighted average with the simple average. Also, when data has missing values, the mean may be biased if missingness is not random.
Another pitfall: In Excel, =AVERAGE ignores text and empty cells, but counts cells with zero. If you want to ignore zeros, use =AVERAGEIF(range,">0").
Frequently Asked Questions
What is the difference between mean, median, and mode?
Mean is the sum divided by count, median is the middle value, and mode is the most frequent value. They all describe the center of data but respond differently to outliers and data shape.
How do I calculate the average in Excel?
Use =AVERAGE(range) for the arithmetic mean. For median, use =MEDIAN(range). For mode, use =MODE.SNGL(range) or =MODE.MULT(range).
When should I use median instead of mean?
Use median when your data has outliers or is skewed, such as income or house prices. The median is not affected by extreme values, giving a better sense of the typical case.
What is a weighted average?
A weighted average assigns different weights to values, reflecting their importance. It’s calculated by summing (value × weight) and dividing by the sum of weights. Use it when some data points contribute more than others, like grades.
Can there be more than one mode?
Yes, a dataset can be bimodal (two modes) or multimodal. For example, in a class where many students score 80 and many score 90, both 80 and 90 are modes.
Does the average always represent the typical value?
No. If the data is skewed or has outliers, the mean can be misleading. The median or mode may better represent the typical value. Always examine the distribution before relying on any single average.
Related
- Button Cell Battery Components: What’s Inside
- Next Tab Shortcut: Windows, Mac & Browser Keys
- Computer Data Entry Operator Resume: Full Guide
Try it: the Formula Explainer: paste any formula and see each function and reference in plain English.
More in Formulas & functions
- Cash Flow Formula Excel Template and SetupA basic cash flow Excel template tracks cash received and cash paid, then calculates net cash flow as…
- Excel Filter for Specific Text: Steps and ExamplesTo filter Excel rows for specific text in Microsoft 365 on Windows, select a cell in your data,…
- Excel: How Many Days Are in a Month? Formula GuideA month can have 28, 29, 30, or 31 days, so Excel needs a year and month—or a…
- Excel Filter Drop-Down Shortcut: Open a Column MenuIn Excel for Microsoft 365 on Windows, select a cell in a filtered column and press Alt+Down Arrow…
- Excel Filter Multiple Criteria: AND, OR, and ExamplesYes. In Excel, use a column’s filter checklist to show several selected values (OR), or apply filters to…
- XLOOKUP Examples for Beginners: Formulas, Tips, and FixesXLOOKUP finds a value in one range and returns the corresponding value from another; for example, with product…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.