Excel function

HARMEANfunction

Returns the harmonic mean of positive numbers.

All versions
=HARMEAN(B2:D6)
A
B
C
D
1
2
3
4
5
6

Drag the corner dots to change range. The harmonic mean is always less than or equal to the geometric and arithmetic means. Compare all three on the same range. Try breaking it on purpose to see the errors.

Result

86.3656821242

range
B2:D6Drag the corner dots on the table

The cells to calculate. Cells that are not numbers are ignored.

What is the HARMEAN function?

=HARMEAN(number1, [number2], ...)

HARMEAN returns the harmonic mean of positive numbers: the reciprocal of the average of the reciprocals (1 ÷ value).

Use it where averaging reciprocals gives the right answer, such as the average speed over the same distance at different speeds.

Arguments

number1, number2, ...
Numbers or ranges. Text and blank cells are ignored. A 0 or negative value returns #NUM!.

HARMEAN examples

  1. Example 1. Average speed

    =HARMEAN(60, 40)

    Going at 60 km/h and returning at 40 km/h averages 48 km/h, not AVERAGE's 50.

  2. Example 2. Example from Microsoft

    =HARMEAN(4,5,8,7,11,4,3)

    About 5.028.

Common mistakes

FAQ

How do the three means compare?
Unless all values are equal: harmonic < geometric < arithmetic.
Text cells?
Text and blank cells in a range are skipped.