Math · 61 calculators
Harmonic Mean Calculator
The harmonic mean is the average for rates. Instead of adding the values and dividing, you flip each one, average the flipped numbers, then flip the answer back.
Last updated
Harmonic mean
49.0909
- Arithmetic mean
- 60
- Geometric mean
- 54.5136
- Sum of the reciprocals
- 0.0611
- Harmonic over arithmetic
- 0.8182
Values update as you type. This calculator covers the single scenario its formula assumes — see Common Mistakes for what it leaves out.
The formula this calculator uses
H = n / (1/x1 + 1/x2 + ... + 1/xn)
- H
- The harmonic mean of the values
- n
- How many values there are
- x1 ... xn
- The positive values being averaged
- 1/xi
- The reciprocal of each value
How to check the result by hand
- 1
Check every value is positive
The harmonic mean divides by each value, so a zero breaks it outright and a negative value gives an answer that no longer describes the data. Speeds, prices and rates are all positive by nature.
- 2
Flip each value into a reciprocal
One over 30 is 0.033333, one over 60 is 0.016667 and one over 90 is 0.011111. Notice how the slowest speed contributes the largest reciprocal, which is what pulls the mean downwards.
- 3
Add the reciprocals
The three reciprocals add to 0.061111. This sum is the total time per unit of distance for the three legs, and it is the quantity that actually accumulates.
- 4
Divide the count by the sum
3 divided by 0.061111 is 49.0909. Compare it with the arithmetic mean of 60: the difference of 10.909 is exactly the penalty for treating a rate as if it were an ordinary number.
Common Questions
How does the Harmonic Mean Calculator work?
Add the reciprocals of every value, then divide the count by that sum. For 30, 60 and 90 the reciprocals add to 0.061111, and 3 divided by 0.061111 is 49.0909, which sits below the arithmetic mean of 60.
What do I need to enter in the Harmonic Mean Calculator?
It takes 3 inputs: First value, Second value, Third value. Fields that expect a unit say so next to the label.
Where does Harmonic mean come from?
It comes from H = n / (1/x1 + 1/x2 + ... + 1/xn) — add the reciprocals of all values, then divide the count by that sum.
What is the most common mistake with the Harmonic Mean Calculator?
Averaging speeds with the arithmetic mean. Equal distances at 30 and 60 miles per hour average to 40, not 45. The trip spends twice as long at the slow speed, and the arithmetic mean ignores that.
For worked examples, common mistakes and the limits of this formula, read the full How To Calculate A Harmonic Mean page.
