Harmonic mean calculator
Calculate the harmonic mean. Best for averaging rates (speed, price per unit, efficiency).
Values
Harmonic mean formula
HM = n / (1/x₁ + 1/x₂ + ... + 1/xₙ)
HM of 40 and 60: 2 / (1/40 + 1/60) = 2 / (5/120) = 48.
Classic example: average speed
Drive 60 km at 40 km/h, then 60 km at 60 km/h. Average speed isn't (40+60)/2 = 50, it's HM(40,60) = 48 km/h. Time = 1.5h + 1h = 2.5h. Distance = 120 km. Speed = 120/2.5 = 48.
Related calculators