Harmonic Mean Calculator: choose the right average
Calculate a harmonic mean for positive values, useful for rates across equal amounts rather than equal time intervals. Enter positive values separated by commas, spaces or newlines. Zero or negative rates are rejected.
Enter a sample
Enter strictly positive rates sharing one unit in Numeric values, then choose Calculate. The example button replaces your sample with the case below. Use decimal points or exponent notation such as 1e3; commas separate observations and cannot represent thousands or decimal separators.
Worked example
For speeds of 30 and 60 over two equal-distance legs, harmonic mean speed is 40. This is not the arithmetic mean of 45, which would apply to equal-time legs.
Calculation method
Harmonic mean = n / sum(1 / value). Reciprocals give slower rates greater influence when averaging across equal quantities. All rates must use the same unit.
Interpretation and unsupported cases
The equal-distance example assumes travel at each stated speed for the same distance, without extra stopped time. Unequal distances require a weighted calculation outside this tool’s scope. It does not infer distances, durations or rate units from the list.
Input limits and precision
The maximum is 1,000 observations and 100,000 input characters. Finite numbers must have absolute value at most 1e12; nonzero magnitudes must be at least 1e-12. Every value must be strictly positive. Results are floating-point approximations rounded to 12 significant digits, not arbitrary-precision statistics.
Editing clears the summary; calculate again for the revised sample. Copy results copies its labels and values.
Use Geometric Mean Calculator for multiplicative growth factors across periods. Harmonic mean instead applies to rates across equal quantities, such as equal-distance travel legs.





