Harmonic Mean Calculator
Enter a list of numbers and instantly compute their harmonic mean — the reciprocal of the arithmetic mean of reciprocals.
Use the Harmonic Mean Calculator
Enter Numbers
Quick Examples
Result
Enter numbers on the left and press Calculate.
Harmonic Mean
—
Harmonic Mean
—
Geometric Mean
—
Arithmetic Mean
—
Step-by-Step Breakdown
Values & Reciprocals
| # | Value (x) | Reciprocal (1/x) |
|---|---|---|
| Sum | — | — |
Copied!
Summary
The harmonic mean is a type of average calculated as the reciprocal of the arithmetic mean of the reciprocals of the values. It is especially useful when averaging rates, speeds, or ratios where equal weight should be given to each unit. This calculator accepts any list of positive numbers and instantly returns the harmonic mean along with a step-by-step breakdown.
How it works
- Enter your numbers in the input box, separated by commas, spaces, or new lines.
- The calculator validates each value — all numbers must be positive (non-zero).
- It computes the reciprocal (1/x) of every number in the list.
- It averages those reciprocals: sums them and divides by the count.
- Finally it takes the reciprocal of that average to produce the harmonic mean.
- Results update automatically as you type.
Use cases
- Find the average speed when the same distance is traveled at different speeds.
- Average price-to-earnings (P/E) ratios across a portfolio of stocks.
- Combine multiple rate measurements in physics or engineering.
- Calculate the F1 score in machine learning (harmonic mean of precision and recall).
- Average fuel-efficiency figures across different driving conditions.
- Determine the effective resistance of parallel resistors.
- Blend rate-based metrics in financial analysis.
- Average any set of ratios where the denominator units must be equal.
Frequently Asked Questions
Last updated: 2026-06-04 · Reviewed by Nham Vu