Instant Calculation
Enter your data and calculate the harmonic mean immediately without creating formulas in a spreadsheet.
Calculate the harmonic mean of rates, ratios, speeds, prices, and other positive numerical values with a clear formula and step-by-step result.
Enter positive values separated by commas, spaces, or new lines.
This calculator handles reciprocal calculations automatically and presents the result in a clear, understandable format.
Enter your data and calculate the harmonic mean immediately without creating formulas in a spreadsheet.
Calculate a weighted harmonic mean when individual observations have different levels of importance.
Review the reciprocal sum, formula, number of observations, and the main calculation steps.
The tool accepts commas, spaces, semicolons, or line breaks between values.
Add at least two positive numbers. For example, enter 20, 30, and 60 to compare rates or speeds.
Use simple mode for equally important values or weighted mode when each value has a specific weight.
Click the calculation button to see the harmonic mean, reciprocal total, range, formula, and steps.
The harmonic mean is a type of mathematical average. It is calculated by dividing the number of observations by the sum of the reciprocals of those observations. Unlike the arithmetic mean, it gives more influence to smaller values in a dataset.
This average is especially useful for rates, ratios, speeds, financial multiples, and measurements where values are expressed per unit. All values used in the standard harmonic mean should be positive and non-zero.
For positive values x₁, x₂, x₃ through xₙ, the harmonic mean is calculated using the following formula:
Here, H represents the harmonic mean and n represents the total number of observations.
A weighted harmonic mean allows some observations to contribute more heavily than others:
| Mean Type | Best Used For | General Formula | Key Characteristic |
|---|---|---|---|
| Arithmetic Mean | General quantities and totals | Σx ÷ n | Treats all values equally |
| Geometric Mean | Growth rates and percentage changes | (x₁ × x₂ ... xₙ)1/n | Reduces the effect of extreme values |
| Harmonic Mean | Rates, ratios, and equal-distance speeds | n ÷ Σ(1/x) | Gives more influence to small values |
Suppose a vehicle travels the same distance at 30 km/h and 60 km/h. The correct average speed is not 45 km/h because the vehicle spends more time traveling at the slower speed.
Using the harmonic mean:
Therefore, the average speed across the two equal-distance portions is 40 km/h.
Find answers to common questions about harmonic averages, inputs, and results.
It calculates an average based on the reciprocals of positive values. It is commonly used for rates, ratios, speeds, and similar measurements.
No. A reciprocal requires division by the original value, and division by zero is undefined. This calculator therefore accepts only positive, non-zero values.
Yes. You can enter positive integers or decimal numbers separated by commas, spaces, semicolons, or new lines.
The calculation gives greater influence to smaller observations. For the same positive dataset, the harmonic mean is generally less than or equal to the geometric and arithmetic means.
A weighted harmonic mean assigns a weight to each observation. Values with larger weights contribute more strongly to the final result.
Yes, when different speeds apply to equal distances. When travel distances differ, use a weighted method based on the appropriate distance or time relationship.