Maths & numbers

Harmonic mean of three positive values calculator

Average positive rates when the quantities covered at each rate are equal.

Your numbers

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

An equal-time average of speeds uses the arithmetic mean. Equal distances make the reciprocals add as travel times.

THE FORMULAH = 3/(1/a + 1/b + 1/c)

A worked example

For equal distances at speeds 30, 60, and 90, the average speed is about 49.09.

Good to know

All three values must use the same units.

Average speeds by adding their travel times

Imagine three equal 90-kilometre legs travelled at 30, 60 and 90 kilometres per hour. The respective times are 3, 1.5 and 1 hours. Total distance is 270 kilometres and total time is 5.5 hours, giving average speed 270/5.5 = 540/11, approximately 49.09 kilometres per hour.

For an equal distance D at each positive speed a, b and c, the travel times add to D/a + D/b + D/c. Dividing total distance 3D by that expression cancels D and gives H = 3/(1/a + 1/b + 1/c). The diagram keeps the three distances equal while showing their different durations.

Three equal-distance legs require different travel times at thirty, sixty and ninety kilometres per hour90 km30 km/h3 h90 km60 km/h1.5 h90 km90 km/h1 hAverage = 270/5.5 ≈ 49.09 km/h
Every leg covers 90 km. Times are 3 h, 1.5 h and 1 h. Total 270 km / 5.5 h gives about 49.09 km/h.

Choose the averaging method from the experiment

If the three speeds apply for equal times instead, the average is their arithmetic mean, 60 kilometres per hour. Unequal distances require a weighted harmonic mean, so this equal-weight tool would no longer describe that journey directly. All three entered rates must use the same units.

For positive values, the harmonic mean lies between the minimum and maximum and is no greater than the arithmetic mean. The Root mean square of three values calculator supplies another average with a different purpose, measuring magnitude without signed cancellation. A zero speed is excluded here because the reciprocal is undefined and a positive-distance leg at that speed cannot be completed in finite time.

A few questions, answered

What if all three values are equal?

Their harmonic mean equals that shared value, agreeing with the average-speed interpretation.

Can I use negative rates?

This calculator requires positive inputs. Negative values would invalidate the positive-rate averaging interpretation used here.

Find your calculator

Start typing to explore the library.