OhMyCalc

Harmonic Mean Calculator

Calculate the harmonic mean of four positive values. The harmonic mean is ideal for averaging rates and ratios.

How to Use the Harmonic Mean Calculator

  1. Enter four positive values.
  2. Click Calculate to see the harmonic and arithmetic means.
  3. The sum of reciprocals is also shown for reference.

快速参考

40, 60 (speeds)HM = 48 km/h
2, 3, 6HM = 3
1, 1, 1, 1HM = 1
1, 2, 4, 8HM ≈ 2.13
HM ≤ GM ≤ AMAlways true

使用场景

公式

Harmonic mean = n / Σ(1/xᵢ). For positive values, HM ≤ GM ≤ AM (AM–GM–HM inequality).

常见问题

What is the harmonic mean?
The reciprocal of the average of reciprocals. It gives more weight to smaller values.
When should I use it?
When averaging rates (e.g., speeds over equal distances) or ratios like P/E ratios.
Is HM always ≤ AM?
Yes, for positive values the harmonic mean is always less than or equal to the arithmetic mean.