Statistics Definitions > Harmonic Mean

## What is the Harmonic Mean?

The harmonic mean is a very specific type of average. It’s generally used when dealing with averages of units, like speed or other rates and ratios.

The formula is:

If the formula above looks daunting, all you need to do to solve it is:

- Add the reciprocals of the numbers in the set.
- Divide the number of items in the set by your answer to Step 1.

Not that great with calculating reciprocals? Try this online calculator.

## Example

What is the harmonic mean of 1,5,8,10?

- Add the reciprocals of the numbers in the set: 1/1 + 1/5 + 1/8 + 1/10 = 1.425
- Divide the number of items in the set by your answer to Step 1. There are 4 items in the set, so:

4 / 1.425 = 2.80702

**Tip**: Check your calculations with this online calculator.

## Difference Between the Harmonic Mean and Arithmetic Mean

The difference between the two means is a little bit of a mind-bender, so if you don’t quite get the concept at first, you aren’t alone. I can remember having to read the explanation several times and doing some examples on paper to assure myself it was correct.

Here is an example of a problem involving (the more common) **arithmetic mean**:

Joe drives a car at 20 mph for the first hour and 30 mph for the second. What’s his average speed?

The average speed is 20 + 30 / 2 = 25 mph.

And now, for an example with the **harmonic mean**:

Joe drives a car at 20 mph for the half of the journey and 30 mph for the second half. What’s his average speed?

For this problem note that we’re being told he went a certain speed for a journey segment. We need the harmonic mean:

= 2/(1/20 + 1/30)

= 2(0.05 + 0.033)

= 2 / 0.083

= 24.09624 mph.

The difference between these two is that the first problem is calculating an average speed based on time, while the second is based on distance. You’ll notice that the harmonic mean is slightly less than the arithmetic mean. This is always the case, that the harmonic mean will be the lowest average.

If you prefer an online interactive environment to learn R and statistics, this *free R Tutorial by Datacamp* is a great way to get started. If you're are somewhat comfortable with R and are interested in going deeper into Statistics, try *this Statistics with R track*.

*Facebook page*and I'll do my best to help!

m confused regarding example stated above, harmonic mean according to formula it should be

2/(1/20+1/30)= 2/(0.5+0.6)=2/(1.1)= 0.94

Bashir, your decimals are incorrect. For example, 1/20 is 0.05, not 0.5.

Abhishek shamra

= 2/(1/20+1/30)

= 2(0.05+0.033)

= 2÷0.083

= 24.096

Okk now you understand

How the formula of harmonic mean has been derived?give us idea about arthematic mean in detail its concept???

Hello, Umair, proofs are a little beyond the scope of this site. You might find this stack exchange discussion helpful.

It seems there’s a major typo and confusing inconsistency in this presentation: the initial instruction

“Divide your answer BY the number of items in the set.” vs. “Divide your answer INTO the number of terms in the set.” (This is a paraphrase of the subsequent instruction to “Divide the number of items in the set by your answer to Step 1.)

Easy fix: Replace “BY” with “INTO”, in the first instruction.

Thanks for catching that, MM. It’s now fixed.

It was very helpful for me thanks a lot.

Very good example. I have been benefited.

good way of explaining

how i can cite this material please help

Author is S Glen.