For averaging rates — speeds, prices per unit, P/E ratios — the plain mean overstates. The harmonic mean is the right average when the quantity is a ratio with a fixed numerator.
The example
Average speed over equal distances.
| A | B | |
|---|---|---|
| 1 | Trip | Speed |
| 2 | Out | 60 |
| 3 | Back | 40 |
| 4 | Harmonic mean | 48 |
The formula
The formula:
How it works
How it works:
HARMEANcomputes n / (sum of 1/each value).- For two equal-distance trips at 60 and 40, the true average speed is 48 (not the arithmetic 50), because you spend more time at the slower speed.
- Use it whenever you’re averaging a rate over equal amounts of the rate’s denominator.
- It’s always less than or equal to the arithmetic mean; the gap grows with spread.
Three means, three jobs: arithmetic for sums, geometric for growth/compounding, harmonic for rates. Picking the wrong one is a classic averaging error — ask “average of what?”
Try it: interactive demo
Values (e.g. speeds).
Variations
Arithmetic (compare)
Overstates for rates:
Geometric mean
For growth rates:
Weighted harmonic
Unequal distances:
Pitfalls & errors
No zeros or negatives. HARMEAN needs positive values — a zero divides by zero.
Only for rates. Don’t use it for additive quantities; the arithmetic mean is right there.
Equal weights assumed. For unequal denominators, use a weighted harmonic mean.
Practice workbook
Frequently asked questions
How do I calculate the harmonic mean in Excel?
When should I use harmonic mean instead of average?
Why can't HARMEAN have zeros?
Stop fighting formulas. Learn them in a day.
This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class