Home · Statistics · Descriptive Statistics · Harmonic Mean Calculator
Harmonic Mean Calculator
The harmonic mean: the reciprocal of the mean of the reciprocals, the right average for rates per unit.
What this calculator does
The harmonic mean: the reciprocal of the mean of the reciprocals, the right average for rates per unit. Every figure on this page is computed from the standard definition stated below — the same definition used in textbooks and reference tables — with no hidden rounding steps, and the method notes name the exact convention where more than one exists.
The formula and method
Each value is inverted, the inverses are averaged, and the result is inverted back.
All values must be positive and non-zero, since reciprocals are taken.
Worked example
With the example inputs this page opens with, the result is 4.81. Change any figure and the result updates with the same formula.
Quick reference
| Figure | Value |
|---|---|
| Result | 4.81 |
| Count (n) | 10 |
| Mean | 6 |
| Median | 6.5 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
What is the classic harmonic-mean problem?
Average speed over equal distances at different speeds — driving out at 60 and back at 40 averages 48, the harmonic mean, not 50.
How does the harmonic mean compare with the other means?
For positive data, harmonic ≤ geometric ≤ arithmetic, with equality only when all values are the same.
How does the Harmonic Mean Calculator work?
The harmonic mean: the reciprocal of the mean of the reciprocals, the right average for rates per unit. Data values (all positive) → Harmonic mean. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Harmonic Mean Calculator need?
Data values (all positive) → Harmonic mean. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.