Harmonic Mean: For Rates and Speeds
HM = n/(1/x₁+...+1/xₙ)—reciprocal of the mean of reciprocals. Ideal for rates: average speed when distances equal, parallel resistors. HM ≤ GM ≤ AM.
Did our AI summary help? Let us know.
Average speed (same distance each way): HM of speeds. Parallel resistors: R_total = 1/(1/R₁+1/R₂+...). HM ≤ GM ≤ AM — equality when all values equal.
Ready to run the numbers?
Why: Harmonic mean is for rates. Average speed: 60 mph there, 40 mph back (same distance) = 2/(1/60+1/40) = 48 mph, not 50. Parallel resistors: 1/R = 1/R₁+1/R₂.
How: HM = n / (1/x₁ + 1/x₂ + ... + 1/xₙ). For two numbers: HM = 2xy/(x+y). All inputs must be positive.
Run the calculator when you are ready.
Enter Numbers
HM vs GM vs AM
Values Distribution
📐 Step-by-Step Breakdown
For educational and informational purposes only. Verify with a qualified professional.
🧮 Fascinating Math Facts
HM ≤ GM ≤ AM — harmonic is the smallest of the three.
Average speed (same distance) = harmonic mean of speeds.
📋 Key Takeaways
- • HM = n / (1/x₁ + 1/x₂ + ... + 1/xₙ) — reciprocal of mean of reciprocals
- • For positive numbers: HM ≤ GM ≤ AM (equality when all equal)
- • Use for rates: average speed over same distance, parallel resistors
- • Zero values are invalid — harmonic mean undefined with zero
- • HM gives more weight to smaller values than AM
💡 Did You Know?
📖 How It Works
The harmonic mean is the reciprocal of the arithmetic mean of reciprocals. For speeds 50 and 100 km/h over the same distance, time is proportional to 1/speed. Total distance / total time gives the harmonic mean: 2/(1/50+1/100) ≈ 66.67 km/h. Using AM (75) would be incorrect.
📝 Worked Example: 50 & 100 km/h
Scenario: Drive 100 km at 50 km/h, return 100 km at 100 km/h.
Time out: 100/50 = 2 hrs. Time back: 100/100 = 1 hr. Total: 3 hrs.
Avg speed: 200 km / 3 hrs = 66.67 km/h = HM(50, 100) = 2/(1/50+1/100)
AM would give 75 km/h — wrong! You didn't spend equal time at each speed.
🚀 Real-World Applications
🚗 Average Speed
Same distance each leg → HM of speeds.
⚡ Parallel Resistors
1/R = 1/R₁ + 1/R₂ → R = HM.
💰 P/E Ratios
Average P/E across portfolio stocks.
⏱️ Work Rates
Combined rate when workers do same job.
📊 Data Science
F1 score = HM of precision & recall.
🌊 Fluid Dynamics
Average flow rates in pipes.
⚠️ Common Mistakes to Avoid
- Using AM for average speed: Same distance → HM. Same time → AM.
- Including zero: 1/0 is undefined. All values must be positive.
- Wrong context: HM for rates (per unit); AM for levels.
- Confusing with GM: HM for rates; GM for growth/ratios.
- Parallel vs series: Parallel resistors use HM; series use sum.
🎯 Expert Tips
💡 Speed Problems
Same distance each leg → use harmonic mean of speeds.
💡 Parallel Resistors
1/R = 1/R₁ + 1/R₂ → R = HM of R₁, R₂.
💡 AM vs HM
HM < AM when values differ; use HM for rates.
💡 No Zeros
Reciprocal of 0 is undefined; exclude zeros.
📊 AM / GM / HM Comparison
| Mean | Formula |
|---|---|
| Arithmetic | (x₁+...+xₙ)/n |
| Geometric | (x₁×...×xₙ)^(1/n) |
| Harmonic | n/(1/x₁+...+1/xₙ) |
📐 Quick Reference
🎓 Practice Problems
❓ FAQ
What is the harmonic mean?
The reciprocal of the arithmetic mean of reciprocals. HM = n / Σ(1/xᵢ).
When to use harmonic mean?
For rates and ratios: average speed (same distance), parallel resistors, average P/E.
Why is HM ≤ GM ≤ AM?
Inequality holds for positive numbers. Equality only when all values are equal.
Can I use zero?
No. 1/0 is undefined. All values must be positive.
Speed example?
50 km/h there, 100 km/h back: avg speed = 2/(1/50+1/100) ≈ 66.67 km/h.
Applications?
Physics (resistors), finance (ratios), fluid dynamics, F1 score in ML.
Same distance vs same time?
Same distance → HM. Same time at each speed → AM.
📌 Summary
The harmonic mean is n divided by the sum of reciprocals. Use it for rates (average speed over same distance, parallel resistors, work rates). HM ≤ GM ≤ AM. All values must be positive.
✅ Verification Tip
HM always lies between min and max. Check HM ≤ GM ≤ AM. For equal values, all three means are equal.
🔗 Next Steps
Explore the Arithmetic Mean Calculator, Geometric Mean for growth rates, or Root Mean Square for AC voltage.
⚠️ Disclaimer: Harmonic mean applies to positive numbers only. Use for rates and ratios where appropriate.
Related Calculators
Geometric Mean Calculator
Calculate geometric mean GM = (x1×x2×...×xn)^(1/n) of positive numbers. Compare with arithmetic and harmonic mean. Essential for investment returns, CAGR...
MathematicsArithmetic Mean Calculator
Calculate the arithmetic mean (average) of a set of numbers. Simple mode for basic mean; advanced mode adds weighted mean and trimmed mean. Step-by-step...
MathematicsAverage Calculator
Calculate mean, median, mode, and range of a set of numbers. Advanced: weighted average, geometric mean. Step-by-step solutions, bar and doughnut charts....
MathematicsWeighted Average Calculator
Calculate weighted averages using the formula Σ(w_i × x_i) / Σ(w_i). Simple mode supports 3–5 value/weight pairs; advanced mode allows up to 10 pairs with...
MathematicsRoot Mean Square Calculator
Calculate RMS = sqrt(mean of x²). AC voltage equivalent, compare with arithmetic mean. Step-by-step for statistics and signal processing.
MathematicsStandard Deviation Calculator
Calculate standard deviation (σ or s) from a data set. Choose population or sample. Get mean, variance, and coefficient of variation. Free online calculator...
Mathematics