Understanding your average
The mean is one of several measures of central tendency. The table below compares them on the example data 12, 15, 18, 22, 9.
| Measure | Value for 12, 15, 18, 22, 9 | Notes |
|---|---|---|
| Mean (average) | 15.2 | Sum / count; uses every value; sensitive to outliers |
| Median | 15 | Middle value of the sorted list 9, 12, 15, 18, 22 |
| Minimum | 9 | Smallest value |
| Maximum | 22 | Largest value |
| Range | 13 | Maximum minus minimum; a simple measure of spread |
- The mean is sensitive to extreme values: one very large or very small number can move it substantially. Compare the mean with the median to detect skew.
- The mean of a sample estimates the mean of the population the sample was drawn from, but sampling variation means they generally differ; see the confidence interval calculator.
- Averaging percentages or rates is only valid when they share the same base; otherwise a weighted mean is required.
What is an average?
The average — formally the arithmetic mean — is the most widely used measure of the center of a data set. It is calculated by adding all the values and dividing by the number of values. The mean balances the data: the deviations of the values above the mean exactly cancel the deviations below it.
The arithmetic mean uses every value in the data set, which makes it efficient but also sensitive to outliers. A single extreme value can pull the mean far from the bulk of the data — for example, adding the value 100 to the list 12, 15, 18, 22, 9 raises the average from 15.2 to about 29.3. For skewed data such as incomes or house prices, the median is often reported alongside or instead of the mean.
The word 'average' is sometimes used loosely for other measures of center, including the median (the middle value) and the mode (the most frequent value). In statistics texts and in this calculator, average means the arithmetic mean unless stated otherwise.
How to use this average calculator
- Enter your numbers separated by commas, for example: 12, 15, 18, 22, 9. Decimals and negative numbers are accepted.
- Read the average (arithmetic mean), which is the sum divided by the count.
- Check the supporting statistics — sum, count, minimum and maximum — to confirm the calculator parsed your list as intended.
- To verify by hand, add all the values and divide the total by how many values you entered.
The average formula
The arithmetic mean of n values x1, x2, ..., xn is their sum divided by n.
Worked example: the values 12, 15, 18, 22, 9. Step 1 — add them: 12 + 15 + 18 + 22 + 9 = 76. Step 2 — count them: n = 5. Step 3 — divide: 76 / 5 = 15.2. The average is 15.2.
The mean always lies between the minimum and maximum of the data. It equals the value every observation would take if the total were shared out equally — sharing 76 equally among 5 gives each 15.2.
Common mistakes
- Averaging averages without weighting: the mean of two group means equals the overall mean only when the groups are the same size.
- Using the mean for strongly skewed data (incomes, house prices) where a few large values dominate — the median is usually more representative.
- Forgetting a value when counting n — the divisor must be exactly the number of values summed.
- Averaging rates such as speeds over equal distances with the arithmetic mean — that situation calls for the harmonic mean (see the mean calculator).
Domande frequenti
How do I calculate an average?
Add all the numbers, then divide the total by how many numbers there are. For example, for 12, 15, 18, 22 and 9: the sum is 76 and there are 5 numbers, so the average is 76 / 5 = 15.2.
What is the difference between average, mean and median?
In everyday use, 'average' usually means the arithmetic mean: the sum divided by the count. The median is the middle value of the sorted data, and the mode is the most frequent value. All three are measures of central tendency, but they can differ substantially when the data are skewed or contain outliers.
When is the average misleading?
When the data are skewed or contain outliers. Because the arithmetic mean uses every value, one extreme observation can shift it far from where most of the data lie. For example, the mean income of a group is pulled upward by a single very high earner, while the median income is unaffected. Reporting both mean and median gives a fuller picture.
Can an average be a number that is not in the list?
Yes, and it usually is. The average of 12, 15, 18, 22 and 9 is 15.2, which does not appear in the list. The mean is a balance point of the data, not necessarily an observed value — the average number of children per family being 1.9 is a classic example.
How do outliers affect the average?
Each value contributes equally to the sum, so a value far from the others pulls the mean toward it. Adding 100 to the list 12, 15, 18, 22, 9 changes the mean from 15.2 to (76 + 100) / 6 = 29.33 (rounded). The median moves much less, which is why it is preferred for outlier-prone data.
Fonti
- National Institute of Standards and Technology (NIST). NIST/SEMATECH e-Handbook of Statistical Methods, Section 1.3.5.1: Measures of Location. nist.gov.
- Moore DS, McCabe GP, Craig BA. Introduction to the Practice of Statistics. W. H. Freeman (standard coverage of the arithmetic mean).
- Weisstein, Eric W. "Arithmetic Mean." MathWorld — A Wolfram Web Resource. mathworld.wolfram.com.