What Is the Mean?
The mean (also called the arithmetic mean or arithmetic average) is calculated by adding all the values in a dataset and dividing by the number of values. It represents the "balance point" of the distribution Рђћ where the data would balance if placed on a number line.
The mean is the most frequently used measure of central tendency in statistics, appearing in everything from calculating a student's GPA to measuring the average return on an investment portfolio.
The mean uses every value in the dataset. This makes it powerful for symmetric distributions but sensitive to extreme values (outliers). When in doubt about outliers, also report the median.
The Mean Formula
There are two versions of the mean formula depending on whether you're working with a population or a sample:
Where:
╬Бxрхб(sigma) means "the sum of all values"Nis the total number of values in a populationnis the total number of values in a sample╬╝(mu) represents the population meanx╠ё(x-bar) represents the sample mean
Step-by-Step Example
Calculating the Mean of a Small Dataset
Dataset: Monthly sales figures (in thousands): 12, 15, 9, 22, 18, 7, 25, 14
-
1
Add all values together (╬Бxрхб)
12 + 15 + 9 + 22 + 18 + 7 + 25 + 14 = 122
-
2
Count the number of values (n)
n = 8
-
3
Divide the sum by the count
x╠ё = 122 ├и 8 = 15.25
The average monthly sales is $15,250
Types of Mean
While the arithmetic mean is most common, statistics uses several types of mean depending on the situation:
| Type | Formula | Best Used For |
|---|---|---|
| Arithmetic Mean | ╬Бx / n |
Most datasets Рђћ temperature, scores, prices |
| Geometric Mean | (xРѓЂ ┬и xРѓѓ ┬и Рђд ┬и xРѓЎ)^(1/n) |
Growth rates, investment returns, ratios |
| Harmonic Mean | n / ╬Б(1/xрхб) |
Rates and speeds (e.g., average speed over distance) |
| Weighted Mean | ╬Б(wрхб ┬и xрхб) / ╬Бwрхб |
GPA, portfolio performance, surveys with weights |
Mean vs. Median: When to Use Which?
One of the most important practical skills in statistics is knowing when the mean can mislead you. Because the mean uses every value, a single extreme value (outlier) can dramatically shift it.
Outlier Impact on Mean vs. Median
Salaries in a small company (USD):
The CEO earns $800,000 Рђћ the median of $49,500 better represents the typical employee's salary.
For income, housing prices, or any right-skewed distribution, the median is typically a more representative measure than the mean. Always visualize your data first with a histogram or box plot.
Real-World Applications
Business & Finance
- Average revenue per user (ARPU) Рђћ total revenue ├и number of users
- Average order value (AOV) Рђћ critical metric for e-commerce
- Mean stock return Рђћ evaluating investment performance over time
- Quality control Рђћ mean defect rate in manufacturing
Data Science & Machine Learning
- Feature engineering Рђћ computing mean features for models
- Mean imputation Рђћ filling missing values with the column mean
- Loss functions Рђћ Mean Squared Error (MSE) uses the mean of squared errors
- Normalization Рђћ mean-centering data before training
Research & Science
- Clinical trials Рђћ mean treatment effect across participants
- Survey analysis Рђћ average response on Likert scales
- Environmental studies Рђћ mean temperature, rainfall, pollutant levels
Key Properties of the Mean
- Sensitive to outliers: One extreme value changes the mean significantly
- Uses all data points: Unlike median or mode, every value contributes
- Unique value: A dataset has only one arithmetic mean
- Can be non-integer: The mean of {1, 2, 3} is 2.0, but the mean of {1, 2} is 1.5
- Algebraically useful: Mean works with algebra; ╬Б(xрхб - x╠ё) = 0 always
- Minimizes MSE: The mean is the value that minimizes the sum of squared deviations
The mean alone tells an incomplete story. Always pair it with a measure of spread like standard deviation, variance, or IQR. A mean of 50 means very different things with a std dev of 2 vs. a std dev of 30.
Try the Mean Calculator
Compute the mean of your own dataset instantly with our free interactive calculator.
Open Mean CalculatorNext Steps
Now that you understand the mean, continue your statistics journey with these related topics: