Harmonic Mean Calculator
Paste a list of positive numbers to find their harmonic mean, the count divided by the sum of the reciprocals. It is the correct average for rates, speeds and ratios over a fixed base.
How to calculate the harmonic mean
- Enter your positive numbers separated by commas, spaces or new lines.
- The calculator sums the reciprocals and divides the count by that sum.
- Read the harmonic mean, for example an average speed over equal distances.
Examples
Harmonic mean of 1, 2, 4
1, 2, 4
Harmonic mean = 1.7143 (which is 12 / 7)
Average speed for equal distances
60, 40
Harmonic mean = 48
Frequently asked questions
What is the harmonic mean?
The harmonic mean is the number of values divided by the sum of their reciprocals. It gives more weight to smaller values and is always less than or equal to the geometric and arithmetic means of the same data.
When should I use the harmonic mean?
Use it to average rates and ratios that share a common base, such as speeds over equal distances, price-to-earnings ratios, or rates of work. In those cases the arithmetic mean would overstate the true average.
Why does the harmonic mean suit average speed?
If you travel equal distances at different speeds, the time spent at each speed differs, so a simple average is wrong. The harmonic mean weights by time correctly. Driving 60 then 40 over equal distances gives an average of 48, not 50.
Why must all the values be positive?
The harmonic mean adds the reciprocals of the values. A zero has no reciprocal and would make the result undefined, while mixing signs can produce a meaningless figure, so the calculator requires every value to be greater than zero.
How does the harmonic mean compare with the arithmetic mean?
For any data set with positive values that are not all equal, the harmonic mean is smaller than the arithmetic mean. The two are equal only when every value is the same. The harmonic mean is the most conservative of the common averages.
Related tools
Average Calculator
Find the mean, median, mode, range, sum, count, min and max of a list of numbers. Paste values separated by commas, spaces or new lines.
Geometric Mean Calculator
Calculate the geometric mean of any data set online, the right average for growth rates, ratios and returns. Paste your numbers for instant results. Free.
Weighted Average Calculator
Calculate a weighted average from value and weight pairs. Enter each value with its weight to get the weighted mean, total weight and weighted sum.
Standard Deviation Calculator
Calculate standard deviation and variance online. Paste a list of numbers to get the mean, count, and both sample and population results instantly.
Annulus Area Calculator
Calculate the area of an annulus, the ring between two concentric circles, from its outer and inner radius. Returns both circumferences and width too. Free.
Area Calculator
Find the area of a circle, square, rectangle, triangle, trapezoid, parallelogram, ellipse, sector or rhombus. Free and runs in your browser.