Harmonic Mean Calculator
Calculate the harmonic mean of a number list — the correct average for speeds, rates and ratios in physics and finance.
Comma-separated positive values, e.g. 2, 4.
Harmonic mean
2.6667
2 values
What it means
Count ÷ sum of reciprocals
Best for averaging rates and speeds
The harmonic mean is the number of values divided by the sum of their reciprocals. It is the correct average for rates such as speeds, and it is always the smallest of the three means.
Last updated: January 2026
How this calculator is verified
Checked by True Calculator automated test suite on
- Formula verified against a published worked example in the automated test suite
- Edge cases (zero, negative, boundary and unit-mismatch inputs) covered by unit tests
The full verification method is on our how we verify page. Found an error? Tell us and we will re-check it.
When to Use This Calculator
Use the harmonic mean calculator whenever you average rates over equal distances, equal time periods or equal amounts of money — round-trip speed, average fuel economy, production rate per hour across shifts, or the average price per gram of gold when buying a fixed rupee amount each time. Indian consumers who invest a fixed monthly amount in gold or mutual funds are computing a harmonic-style average: total money spent divided by total quantity acquired, which is exactly the harmonic mean of the unit prices. Operations and finance students use it for the standard average-rate problems that appear in exams, where arithmetic means silently overstate the true rate. Because it accepts any list of positive values, it settles the classic speed, flow and density questions in seconds.
How to Use This Calculator
- Step 1: Type your rates or values in the numbers box, comma-separated, such as 60, 40.
- Step 2: Ensure every value is positive — speeds, flows and densities cannot be zero or negative in practice.
- Step 3: Enter the count and let the calculator divide it by the sum of reciprocals automatically.
- Step 4: Read the harmonic mean and compare it with the arithmetic mean to confirm the result is the smaller, honest one.
Worked Example
A delivery rider in Hyderabad rides from Secunderabad to the airport at 60 km/h and returns at 40 km/h over the same distance. Entering 60, 40 gives a harmonic mean of 48 km/h — the true average speed for the round trip, because more time is spent at the slower speed. The arithmetic average of 50 km/h is wrong. The pair 2 and 4 gives a harmonic mean of 2.67, and three identical values of 1 give exactly 1.
Tips and Common Mistakes
- •Tip 1: Use the harmonic mean for equal-distance, equal-time or equal-amount averages — speeds, flow rates and per-unit prices.
- •Tip 2: The harmonic mean is the smallest of the three means; the geometric mean sits in the middle and the arithmetic mean is largest.
- •Tip 3: For a round trip at two speeds, the harmonic mean is independent of the distance — it needs only the two speeds.
- ✗Mistake 1: Entering zero or negative values — the reciprocal sum breaks down, and the calculator politely refuses with a hint.
- ✗Mistake 2: Using the harmonic mean for plain scores or quantities that add up, where the arithmetic average is meant.
Frequently Asked Questions
What is the harmonic mean used for?
The harmonic mean is the correct average for rates where the numerator is fixed, such as speeds, throughput or density. For example, the average speed of a round trip driven at 60 km/h and 40 km/h is the harmonic mean, 48 km/h, not the arithmetic average of 50 km/h.
How is the harmonic mean calculated?
Divide the number of values by the sum of their reciprocals. For 2 and 4, the reciprocal sum is 0.5 + 0.25 = 0.75, so the harmonic mean is 2 ÷ 0.75 = 2.67. The calculator does this instantly for any list of positive numbers.
Why must all values be positive for the harmonic mean?
A zero or negative value makes the reciprocal sum undefined or can produce a meaningless result, because a rate such as speed cannot be zero or negative in practice. The calculator returns a hint instead of a number when it sees such input.
How does the harmonic mean compare with other means?
For the same data, the harmonic mean is always the smallest, the arithmetic mean the largest, and the geometric mean sits between them. This ordering is useful when choosing which average honestly describes a data set of rates.
Where do Indian students and professionals meet the harmonic mean?
It appears in Class 11 statistics, competitive exams like CAT and SSC, and in engineering and data work — for example averaging download speeds, fuel efficiency (km/l) across legs, or density values in science labs.
Compare these tools
- Percentage Calculator — Calculate percentages, percentage difference and percentage change instantly
- Rounding Calculator — Round any number to the nearest value, or up and down, to any decimal places
- Standard Form Calculator — Convert numbers to and from standard form (scientific notation) with one click
You might also need
Related calculators from other categories
Finance
Average Return Calculator
Average yearly returns with arithmetic and geometric means, volatility and CAGR. Measure real portfolio growth.
Statistics
Confidence Interval Calculator
Build confidence intervals for a sample mean or proportion at 90%, 95% and 99% levels. Get the margin of error and interval bounds.
Finance
Stamp Duty Calculator
Estimate stamp duty and registration charges on a property purchase, state by state. Compare male, female and joint buyer rates.
Finance
WACC Calculator
Calculate the weighted average cost of capital (WACC) from equity, debt, and their costs after tax. Use it to value companies and judge projects.