Harmonic Mean Calculator​

If you drive to work at 60 mph and come back at 40 mph, what is your average speed? Most people say 50 mph. That answer is wrong.
A regular average fails with rates, speeds, and ratios. It gives you a number that looks right but leads you astray. The Harmonic Mean Calculator fixes this. It handles rate-based data the right way and gives you the true average. This matters in physics, engineering, and finance, where a wrong number can cost you dearly.

Enter Rate or Ratio Data


Preset loaded. Ideal for speeds & rates.



What Does Harmonic Mean?

The harmonic mean is a type of average — people use it for values linked to units. Common examples include speed and density.

Speed measures distance over time, density measures mass over volume, and the harmonic mean works best for this kind of data.

It is one of the three Pythagorean means. The other two are the arithmetic mean and geometric mean. The arithmetic mean adds the numbers directly and the harmonic mean uses the reciprocals of those numbers instead.

The Formula

You can find the harmonic mean with a simple formula — divide the total number of items (n) by the sum of their reciprocals(1/x).

H= n / Σ1/xi = n / 1/x1 + 1/x2 + … + 1/xn

A Simple Example (The Speed Paradox)

Let’s solve the driving example from the introduction.

  • Trip A = 60 mph
  • Trip B = 40 mph
     Reciprocals: 1/60 = 0.0166, 1/40 = 0.025.
     Sum: 0.0166 +0.025 = 0.0416.
     Divide: Count (2) divided by Sum (0.0416).
     Result: 48 mph.

Many people guess 50 mph at first — this answer ignores driving time. When you spend more time at 40 mph than 60 mph, the harmonic mean handles that difference correctly.


3 Important Facts About Harmonic Mean

It Gives the Lowest Average

The harmonic mean stays lower than other common averages. It always follows this order:

Harmonic Mean ≤ Geometric Mean ≤ Arithmetic Mean

Small numbers affect the harmonic mean the most. Large values do not change it much. If one value gets close to zero, the harmonic mean also drops close to zero.

It Does Not Work With Zero

The harmonic mean cannot use zero values. The formula needs you to divide by each number. You cannot divide by zero in math.

For example: 0/1 = ∞

Because of this, the harmonic mean becomes undefined. It also struggles with many negative values, such as temperature data.

It Helps With Parallel Tasks

People often use the harmonic mean in physics and engineering. It works well for tasks that happen together at different rates.

For example, engineers use it for parallel resistors. They also use it to measure pump speeds. If two pumps fill a tank together, harmonic mean math helps find the total filling time.


Frequently Asked Questions

Why is my result lower than the regular average?

That result is normal. The harmonic mean gives more weight to smaller numbers. Low values affect the final answer more than large values do. Because of this, the result often stays lower than the arithmetic mean.

Can I use negative numbers?

Generally, no. You can place negative numbers into the formula — the result may not make sense in real situations. For example, a speed of -50 mph does not work in normal driving problems. The harmonic mean usually works best with positive numbers.

What happens if I enter 0?

The calculator will show an error. The formula divides by each number in the list. Math does not allow division by zero — the calculator cannot continue.

How does harmonic mean compare with geometric mean?

Each average fits a different type of problem.

  • Use the geometric mean for growth rates and compound interest.
  • Use the harmonic mean for speeds, rates, and resistance.
  • Use the arithmetic mean for simple counting values, such as test scores or apples.
Excel Insider
Logo