📊 Calculate Mean, Median & Mode
Mean, Median and Mode Explained
Mean, median and mode are the three measures of central tendency — each tells you something different about a set of numbers. Understanding when to use each one is essential for correct data analysis.
When to Use Mean vs Median
Use the mean when your data has no extreme outliers — it works well for normally distributed data like test scores or temperatures. Use the median when your data has outliers or is skewed — for example median household income is more meaningful than mean income because a few billionaires would dramatically skew the mean upward making it unrepresentative of typical people.
When Is Mode Most Useful?
Mode is most useful for categorical data or when you need to know the most common value. For example a shoe store would use mode to know which shoe size to stock most of. Mode is the only measure of central tendency that can be used with non-numerical data.
Average Calculator — Mean, Median, Mode and Weighted Average Explained
The word "average" in everyday language almost always means the arithmetic mean — the sum of all values divided by the count. But in statistics, average encompasses several distinct measures of central tendency, each appropriate for different situations. Understanding when to use mean, median, mode and weighted average helps you interpret data correctly and avoid the misleading statistics that result from using the wrong measure for the context.
The Four Types of Average — When to Use Each
Arithmetic mean: sum all values and divide by the count. Best for symmetric data without extreme outliers — exam scores, heights, temperatures. Median: the middle value when sorted. Best for skewed distributions or data with outliers — household incomes, house prices, where a few extreme values would distort the mean. Mode: the most frequently occurring value. Best for categorical data — most common shoe size, most popular product. Weighted average: each value multiplied by its weight before averaging — best when values have different levels of importance, like GPA calculations where each course has different credit hours. Use our standard deviation calculator alongside averages to understand how spread out your data is.
| Measure | Formula | Best For | Limitation |
|---|---|---|---|
| Mean | Sum ÷ Count | Symmetric data | Distorted by outliers |
| Median | Middle value | Skewed data, incomes | Ignores most values |
| Mode | Most frequent | Categorical data | May not exist or be multiple |
| Weighted Mean | Σ(value × weight) ÷ Σweights | GPA, finance | Requires known weights |
Mean vs Median — Why the Difference Matters
The mean and median diverge significantly when data is skewed. US household income illustrates this perfectly. In 2024, US median household income was approximately $78,000 — meaning half of households earned above and half below this amount. The mean (average) household income was approximately $105,000 — far higher, because a small number of extremely high incomes pull the mean upward. When politicians or news reports cite average income, they may be using the mean (which sounds higher) or the median (which better represents the typical household). Always ask which measure is being used and whether the distribution is skewed, as this determines which is more informative.
| Data Set: 2, 3, 4, 5, 100 | Value | Interpretation |
|---|---|---|
| Mean | 22.8 | Pulled high by outlier (100) |
| Median | 4 | True middle of the distribution |
| Mode | None | All values appear once |
Weighted Average — The GPA and Finance Application
A weighted average assigns different importance to different values. GPA is the classic example: a 3-credit A contributes more to the GPA than a 1-credit A. Weighted mean = Sum of (value × weight) ÷ Sum of weights. Three courses: 3-credit A (4.0), 4-credit B (3.0), 2-credit C (2.0): Numerator = (4.0×3) + (3.0×4) + (2.0×2) = 12 + 12 + 4 = 28. Denominator = 3+4+2 = 9. Weighted GPA = 28÷9 = 3.11. The simple mean would give (4.0+3.0+2.0)÷3 = 3.0 — wrong because it ignores credit hours. In finance, portfolio returns are weighted by the value of each holding. In statistics, survey responses are weighted to reflect population proportions. Use our GPA calculator for the specific weighted average calculation for academic performance.
How Outliers Affect the Mean
An outlier is a value dramatically different from the rest of the dataset. A single extreme value can shift the mean substantially while leaving the median unchanged. In the dataset 10, 11, 12, 13, 500: mean = 109.2, median = 12. The mean of 109.2 is not representative of the typical value at all — every actual data point is far from the mean. The median of 12 accurately represents the central tendency. This is why median is preferred for income data, house prices, time-to-completion data and any other distribution where a few extreme values occur naturally. Before using an average in any analysis, always check whether outliers are present and whether they represent real data or measurement errors.
Moving Average — Smoothing Trends Over Time
A moving average calculates the mean of a rolling window of data points, updating as new data arrives. A 7-day moving average of daily COVID cases averages the last 7 days of data — smoothing out daily fluctuations to reveal the underlying trend. In financial markets, the 50-day and 200-day simple moving averages are widely followed as trend indicators. Moving averages eliminate noise from day-to-day variation to show directional momentum. The choice of window length trades off smoothness (longer windows) against responsiveness to recent changes (shorter windows). Exponential moving averages (EMA) give more weight to recent data, making them more responsive than simple moving averages of the same length.
Practical Average Calculations — Common Scenarios
Test score averaging: sum all scores and divide by the number of tests — straightforward arithmetic mean. Fuel economy averaging: if you got 28 MPG, 32 MPG and 30 MPG on three tanks, the average is not (28+32+30)÷3 = 30 MPG. If the tanks held different amounts of fuel, you need a harmonic mean or weighted average based on distance. Sports batting averages: hits ÷ at-bats, which is a proportion rather than a true mean. Salary averages: the median is more meaningful than the mean for benchmarking your salary against peers, since a few high earners in the industry inflate the mean significantly. Investment portfolio average return: use geometric mean (not arithmetic) for multi-year returns, because compounding means years multiply rather than add. Our average calculator handles arithmetic mean for any set of numbers — for the specialised averages, use the specific calculator for each context. Whether you are averaging a set of exam scores to find your course grade, calculating the mean of financial data, finding the median of a dataset with outliers or computing a weighted average for GPA or portfolio performance, our average calculator gives you the arithmetic mean, count and sum instantly for any set of numbers. Enter your values separated by commas or on separate lines and see your average calculated in real time.
Statistical vs Common Usage — Why Context Always Matters
The word "average" carries different meanings depending on context, and failing to specify which measure is used can mislead even careful readers. Political and economic statistics frequently exploit this ambiguity — mean income sounds higher than median income for the same population, making economic conditions appear better or worse depending on which figure is chosen. In scientific papers, the specific measure used (mean, median, mode) is always stated explicitly and accompanied by a measure of spread (standard deviation or interquartile range) so readers can assess the distribution. In everyday reporting, always look for which average is cited and consider whether the data might be skewed in ways that make the mean unrepresentative. For most practical purposes — splitting bills, calculating school grades, finding typical values in non-skewed data — the arithmetic mean calculated by our average calculator is exactly the right tool. For skewed distributions, always check the median as a cross-reference.