The mean is one of the most basic concepts to grasp before diving into advanced statistics or analytics. By providing a representative value, the mean is widely used in a variety of fields, including mathematics, economics, data science, and everyday life, to help us understand numbers.
Table of Contents:
The mean is one of the most commonly used measures of central tendency. It is used to represent a set of numbers with a single value that shows the central point of the data.
In statistics, the mean is calculated by dividing the sum of all values in a dataset by the total number of values.
Mean Formula (General):
Mean = (Sum of all values) / (Number of values)
Understanding the Mean Formula is crucial in statistics. While the general formula is straightforward, different types of data and purposes require different formulas.
For Ungrouped Data:
Mean = (x₁ + x₂ + x₃ + ... + xₙ) / n
For Grouped Data:
Mean = Σ(f × x) / Σf
Where:
f = frequency
x = class midpoint
The correct Mean Formula ensures you calculate accurately based on the data type.
In mathematics and statistics, one of the most widely used metrics for summarising a collection of numbers is the mean, also known as the average. It aids in our comprehension of a dataset's central value. Understanding how to calculate the mean provides you with a rapid understanding of the general trend of the data, regardless of whether you are examining marks, daily temperatures, expenses, or any other numerical data.
Whether your data is grouped (arranged in a frequency table) or ungrouped (a list of numbers) determines how to calculate the mean. Both approaches are described in detail below.
Ungrouped data is raw numerical data that hasn’t been sorted or categorized into intervals.
Formula:
Mean = (Sum of all values) / (Number of values)
Steps:
Add all the numbers in your dataset.
Count how many numbers there are.
Divide the total sum by the number of values.
Example:
Find the mean of the numbers: 12, 15, 17, 20, 26
Step 1: Add the numbers
12 + 15 + 17 + 20 + 26 = 90
Step 2: Count the numbers
There are 5 numbers.
Step 3: Divide the sum by the count
Mean = 90 / 5 = 18
Grouped data is data that is arranged into intervals (called class intervals), and each interval has a frequency (number of occurrences).
Formula:
Mean = (Σf × x) / Σf
Where
f = frequency
x = class midpoint = (Lower limit + Upper limit) / 2
Steps:
Find the midpoint (x) of each class interval.
Multiply the frequency (f) by the midpoint (x) for each class.
Add all the f × x values to get Σ(f × x).
Add all the frequencies to get Σf.
Divide Σ(f × x) by Σf.
Example:
Class Interval |
Frequency (f) |
10 – 20 |
3 |
20 – 30 |
5 |
30 – 40 |
2 |
Step 1: Find midpoints:
(10+20)/2 = 15
(20+30)/2 = 25
(30+40)/2 = 35
Step 2: Multiply frequency and midpoint:
3×15 = 45
5×25 = 125
2×35 = 70
Step 3: Sum of f × x = 45 + 125 + 70 = 240
Step 4: Total frequency = 3 + 5 + 2 = 10
Mean = 240 / 10 = 24
There are different types of mean used in mathematics and statistics depending on the dataset and the context. The most common are:
The Arithmetic Mean is the most widely used type of mean. It is calculated by adding all the data values and dividing by the total number of values.
Arithmetic Mean Formula:
Arithmetic Mean = Σx / n
The Geometric Mean is used to find the central tendency of data in multiplicative or exponential form, such as in financial data or growth rates.
Geometric Mean Formula:
Geometric Mean = ⁿ√(x₁ × x₂ × ... × xₙ)
It’s useful when dealing with percentages or ratios.
The Harmonic Mean is best used when the data involves rates or ratios, especially in scenarios such as speed, efficiency, or productivity.
Harmonic Mean Formula:
Harmonic Mean = n / (Σ1/xᵢ)
It gives more weight to smaller values and is lower than both the Arithmetic and Geometric means when values are unequal.
The Root Mean Square is a quadratic mean used in engineering, physics, and signal processing.
Root Mean Square Formula:
RMS = √[(x₁² + x₂² + ... + xₙ²)/n]
The Contraharmonic Mean is calculated by dividing the sum of the squares of the values by the sum of the values.
Contraharmonic Mean Formula:
Contraharmonic Mean = (Σx²) / (Σx)
The mean is used in various real-world situations:
Education: Determining a student's average score.
Business: Calculating the typical number of sales per client.
Economics: Calculating average consumption or income.
Science: Examining the mean velocity, pressure, or temperature.
Finance: Using the geometric mean to calculate average investment returns.
Traffic engineering: Using the harmonic mean to average vehicle speed.
RMS value for AC voltage or current in electrical engineering.
The mean isn't always a data value.
Median ≠ Mean.
The mean can be distorted by outliers.
Mean is only effective with numerical data.
Results vary depending on the type of mean.
The mean of grouped data requires midpoints.
The mean is altered by changes in data values.
If the data is skewed, the mean might not accurately depict the centre.
Example 1: Arithmetic Mean (Ungrouped Data)
Find the mean of 10, 15, 20, 25, and 30.
Solution:
Mean = (10 + 15 + 20 + 25 + 30) / 5
Mean = 100 / 5 = 20
Example 2: Arithmetic Mean (Grouped Data)
Find the mean for the following data:
Class Interval |
Frequency |
0 – 10 |
4 |
10 – 20 |
6 |
20 – 30 |
10 |
Step 1: Find midpoints
0–10 → 5, 10–20 → 15, 20–30 → 25
Step 2: Multiply midpoint × frequency
4×5 = 20
6×15 = 90
10×25 = 250
Step 3: Total frequency = 4 + 6 + 10 = 20
Sum of f × x = 20 + 90 + 250 = 360
Mean = 360 / 20 = 18
Example 3: Geometric Mean
Find the geometric mean of 4, 16, and 64.
Solution:
GM = ³√(4 × 16 × 64) = ³√4096 = 16
Example 4: Harmonic Mean
Find the harmonic mean of 2, 4, and 8.
Solution:
Harmonic Mean = 3 / (1/2 + 1/4 + 1/8)
= 3 / (0.5 + 0.25 + 0.125)
= 3 / 0.875 = 3.43 (approx)
Example 5: Root Mean Square (RMS)
Find the RMS of 3, 4, and 5.
Solution:
RMS = √[(3² + 4² + 5²) / 3]
= √[(9 + 16 + 25) / 3] = √(50 / 3) ≈ 4.08
Example 6: Contraharmonic Mean
Find the contraharmonic mean of 2, 4, and 6.
Solution:
Contraharmonic Mean = (2² + 4² + 6²) / (2 + 4 + 6)
= (4 + 16 + 36) / 12 = 56 / 12 = 4.67
A strong statistical tool for giving a straightforward synopsis of complicated data is the mean. The idea of mean is used in a wide range of contexts, from commonplace tasks like figuring out average grades to more specialised uses in physics and finance.
Accurate data interpretation requires knowing how to calculate the mean, selecting the appropriate mean types, and using the right mean formula. Each type has a distinct function, regardless of whether you're working with grouped or ungrouped data, or with arithmetic, geometric, harmonic, root mean square, or contraharmonic means.
Related Links
Mean, Median, Mode - Understand the basics of data handling through clear explanations of mean, median, and mode.
Mean, Median, and Mode Questions - Practice mean, median, and mode problems with a variety of solved and unsolved questions to strengthen your understanding
Arithmetic Progression - Learn the concept of arithmetic progression with formulas, examples, and step-by-step solutions.
The three main types of mean are:
Arithmetic Mean: The simple average of numbers.
Geometric Mean: The nth root of the product of n values, used for growth rates.
Harmonic Mean: The reciprocal of the average of reciprocals, used for rates like speed.
Arranged data: 12, 12, 13, 13, 14, 14, 14, 16, 19
Mean = (12+12+13+13+14+14+14+16+19) / 9 = 127 / 9 ≈ 14.11
Median = 14 (middle value in ordered data)
Mode = 14 (appears most frequently)
Arithmetic Mean: Sum of values divided by number of values.
Geometric Mean: nth root of the product of values, ideal for percentages or ratios.
Harmonic Mean: n divided by the sum of reciprocals, best for averages of rates.
To summarize large data sets with a single value.
To compare different groups or categories.
To perform further statistical calculations (like standard deviation).
To analyze trends in economics, science, education, and business.
The four common types of mean are:
Arithmetic Mean
Geometric Mean
Harmonic Mean
Root Mean Square (RMS)
Explore more math concepts and learning resources at Orchids The International School!