DIY Cost Tools
Harmonic Mean Calculator
Compute the equally weighted harmonic mean of three positive quantities. It is useful for averaging rates when each observation corresponds to an equal amount of work or equal distance, rather than an equal time interval. Small values receive more influence than in the arithmetic mean.
How to use this calculator
- Identify the quantities required by the model and use the field units.
- Replace the example values, then select Calculate or press Enter.
- Read the labeled outputs and check the interpretation below.
Formula and interpretation
H = 3/(1/a+1/b+1/c).
Calculations run in your browser. The previous results are hidden when an input changes or validation fails. This prevents an old answer from being mistaken for the new calculation. Results are displayed to approximately ten significant digits using floating-point arithmetic; that precision does not imply equal precision in measured inputs.
Worked example
Positive value 1 = 2; Positive value 2 = 3; Positive value 3 = 6. Harmonic mean = 3.
Substitute the example inputs into the stated formula in the same order as the labeled fields. These are the default values shown above, so the explanation and the working interface describe the same case.
Limitations
Requires three strictly positive values in matching units. It does not infer whether equal weights suit your problem. For speeds over unequal distances or unequal times, use the relevant total distance divided by total time instead.
This is an educational mathematical model. Check the assumptions and units for your situation. Geometry results do not establish material strength, and probability outputs do not predict an individual outcome.
Frequently asked questions
When is the ordinary average inappropriate for rates?
For equal-distance journeys at differing speeds, total travel time involves reciprocals of speed, which leads to a harmonic mean.
Why does the calculator reject my entry?
Each field shows its supported range. Integer fields reject fractions; mathematical conditions such as a zero divisor or invalid shape produce a separate explanation. Correct the indicated field or condition and calculate again.
How many digits should I use?
Use enough digits to retain your input accuracy. Round the final answer to the precision justified by the data; tiny residuals around theoretical zero can result from floating-point arithmetic.
Review notes and reference
Reviewed October 3, 2026. The calculator script was tested against the default example and separate boundary cases. Checks covered blank, text, comma-formatted, non-finite and out-of-range entries, plus recovery after errors. Background reference for the mathematical method. Explanations and worked examples are original.
Related calculators
Math calculators · Polar to Cartesian Calculator · Point to Line Distance Calculator · Point to Plane Distance Calculator · Search all calculators