
Harmonic Mean Formula Definition Properties and How to Solve Questions
The concept of harmonic mean plays a key role in mathematics and is widely applicable to both real-life situations and exam scenarios. It is often used when dealing with averages of rates—like speed, density, or efficiency—and provides a different perspective compared to the more common arithmetic and geometric means.
What Is Harmonic Mean?
The harmonic mean is a type of average where the reciprocal of the arithmetic mean of the reciprocals of all numbers in a data set is calculated. You’ll find this concept applied in areas such as averaging speeds (rate problems), finding mean densities, and combining ratios in statistics or science. Unlike the arithmetic mean, the harmonic mean gives more weight to smaller numbers, making it ideal when you want to average things expressed as "per unit" (like km/hr or items/time).
Key Formula for Harmonic Mean
Here’s the standard formula: \( HM = \dfrac{n}{\sum_{i=1}^n \dfrac{1}{x_i}} \)
Where:
\( x_1, x_2, ..., x_n \) = the values in the dataset
| Type | Formula |
|---|---|
| General (n numbers) | \( HM = \dfrac{n}{\left(\dfrac{1}{x_1} + \dfrac{1}{x_2} + \cdots + \dfrac{1}{x_n}\right)} \) |
| Just 2 numbers (a & b) | \( HM = \dfrac{2ab}{a+b} \) |
Cross-Disciplinary Usage
Harmonic mean is not only useful in Maths but also plays an important role in Physics, Computer Science (like F1-score in Machine Learning), and daily logical reasoning. Students preparing for exams like CBSE, ICSE, JEE, or NEET often encounter problems needing the harmonic mean.
Step-by-Step Illustration
Let’s solve: What is the harmonic mean of 2, 4, and 8?
1. Write down the values: 2, 4, 8.2. Find the reciprocal of each:
1/4 = 0.25
1/8 = 0.125
3. Add the reciprocals:
4. Count total values: 3
5. Apply the formula:
6. Final Answer: Harmonic mean is 3.43
Speed Trick or Vedic Shortcut
When you have just two numbers (say, a and b), you can quickly calculate the harmonic mean using a direct shortcut formula:
Example Trick: Find the harmonic mean of 5 and 20.
1. Multiply the numbers: 5 × 20 = 1002. Add them: 5 + 20 = 25
3. Use the trick formula:
So, the harmonic mean of 5 and 20 is 8.
When to Use Harmonic Mean?
| Situation | Best Mean | Why? |
|---|---|---|
| Averaging rates (e.g. speed) | Harmonic Mean (HM) | Rates need reciprocals to get correct average |
| Averaging values (same units, not rates) | Arithmetic Mean (AM) | Simple sum & divide works best |
| Averaging growth rates (percentages, ratios) | Geometric Mean (GM) | Multiplicative change or compounding |
Key Properties & Limitations
- Harmonic mean is always the lowest among AM, GM, and HM for the same set of positive numbers (AM > GM > HM).
- If the dataset includes a 0, the harmonic mean can’t be calculated (since 1/0 is undefined).
- All values are considered equally—there is no omission or ignoring of values.
- Extremely sensitive to tiny (very small) numbers in the data; these lower the HM significantly.
- Often used in physics (speeds, densities), statistics, finance, and even in machine learning (as in the F1 score).
Try These Yourself
- Find the harmonic mean of 12 and 16.
- If a car travels 60 km at 30 km/hr and then 60 km at 60 km/hr, what is the average speed?
- Calculate the HM for 1, 2, 4, 8, and 16.
- Is the harmonic mean always less than the arithmetic mean? Prove with a small example.
Frequent Errors and Misunderstandings
- Mixing up harmonic mean formula with arithmetic or geometric mean.
- Forgetting to use reciprocals—adding the numbers instead of their reciprocals.
- Including zero in the dataset (invalid for HM).
- Not using HM in speed/time/rate problems—leading to wrong answers in competitive exams.
Relation to Other Concepts
The idea of harmonic mean connects closely with arithmetic mean and geometric mean. If you master their differences and applications, you'll easily solve most "average" questions in statistics and real-life situations. For a deep dive on their relationships, visit Properties of Means.
Classroom Tip
A quick way to remember harmonic mean is: It is useful whenever you are dealing with "per something" rates, like km per hour, items per minute, or tasks per day. Always take reciprocals before averaging! Vedantu’s teachers use plenty of real-life analogies—from averaging speeds to calculating overall efficiency in machines—to make the concept intuitive in live classroom sessions.
We explored harmonic mean—from its definition, formula, worked-out examples, misunderstandings, and important connections in other fields. Practice more problems and join Vedantu’s interactive sessions to ace all your statistics and averages questions with confidence!
Further Reading
FAQs on Harmonic Mean Explained with Formula and Practical Examples
1. What is the harmonic mean in Maths?
The harmonic mean (HM) is the reciprocal of the arithmetic mean of the reciprocals of a set of numbers. It is mainly used for averages involving rates, speeds, or ratios.
- For numbers a₁, a₂, ..., aₙ
- HM = n / (1/a₁ + 1/a₂ + ... + 1/aₙ)
- It gives more weight to smaller values compared to the arithmetic mean.
2. What is the formula for harmonic mean?
The formula for the harmonic mean of n observations is HM = n / Σ(1/xᵢ).
- Here, n = total number of observations
- xᵢ = each individual value
- Σ(1/xᵢ) = sum of reciprocals of all values
3. How do you calculate the harmonic mean step by step?
To calculate the harmonic mean, take reciprocals, find their average, and then take the reciprocal again.
- Step 1: Find reciprocals of all values.
- Step 2: Add the reciprocals.
- Step 3: Divide n by this sum.
- Reciprocals: 1/2 and 1/4
- Sum = 3/4
- HM = 2 ÷ (3/4) = 8/3 ≈ 2.67
4. What is the harmonic mean of two numbers?
The harmonic mean of two numbers a and b is HM = 2ab / (a + b).
- This is a simplified formula derived from HM = 2 / (1/a + 1/b).
- It is commonly used in problems involving average speed.
5. Why is harmonic mean used for average speed?
The harmonic mean is used for average speed when distance is constant because speed is a rate (distance per unit time).
- If a vehicle travels equal distances at speeds v₁ and v₂, average speed = 2v₁v₂ / (v₁ + v₂).
- This is exactly the harmonic mean of the two speeds.
- It gives the correct overall rate when time varies.
6. What is the difference between arithmetic mean and harmonic mean?
The arithmetic mean (AM) is the simple average, while the harmonic mean (HM) is the reciprocal of the average of reciprocals.
- AM formula: (a₁ + a₂ + ... + aₙ)/n
- HM formula: n / Σ(1/aᵢ)
- AM is used for normal averages.
- HM is used for rates and ratios.
7. What is the relationship between arithmetic mean, geometric mean, and harmonic mean?
For any set of positive numbers, the relationship is AM ≥ GM ≥ HM.
- AM = Arithmetic Mean
- GM = Geometric Mean
- HM = Harmonic Mean
8. Can the harmonic mean be negative?
Yes, the harmonic mean can be negative if all the given numbers are negative.
- If all values are negative, their reciprocals are also negative.
- The final HM will also be negative.
- HM is undefined if any value is zero, because division by zero is not possible.
9. What happens if one value is zero in harmonic mean?
The harmonic mean is undefined if any observation is zero.
- The formula requires taking reciprocals (1/x).
- If x = 0, 1/0 is undefined.
- Therefore, HM cannot be calculated when any value equals zero.
10. Can you give a real-life example of harmonic mean?
A common real-life example of the harmonic mean is calculating average speed over equal distances.
- A car travels 60 km at 30 km/h and returns 60 km at 60 km/h.
- Average speed = 2 × 30 × 60 / (30 + 60)
- = 3600 / 90 = 40 km/h

































