Harmonic Mean Calculator

Your details

Enter two or more positive numbers separated by commas.
Turn on to assign a weight to each value. Useful for P/E ratios across unequal position sizes.
Controls how many decimal places are shown in every result.
Harmonic meanHarmonic mean computed
40
Arithmetic mean45
Geometric mean42.4264
Count of values2
Sum of reciprocals0.05
Sum of weights2
Harmonic mean40
Geometric mean42.4264
Arithmetic mean45

Harmonic mean of your 2 values is 40.

  • Harmonic mean = 40, arithmetic mean = 45, geometric mean = 42.4264.
  • The classic inequality holds: H (40) <= G (42.4264) <= A (45).
  • Use the harmonic mean when averaging rates over a fixed unit, such as miles per hour across equal distances or P/E ratios across equal dollar investments.
  • Two-value shortcut confirms: 2 * 30 * 60 / (30 + 60) = 40.

Next stepToggle "Weighted harmonic mean" to assign different importance to each value.

= Powered by OnlyCalculators