MATHEMATICS & STATISTICS · FREE ONLINE TOOL

Harmonic Mean Calculator

Enter positive values to calculate the harmonic mean, which gives relatively more weight to smaller values.

Use the calculator

How to use this calculator

Enter positive values separated by commas, spaces or new lines. The calculator rejects zero and negative values.

Formula and methodology

Harmonic mean = n ÷ Σ(1 ÷ x), where all x values are positive.

Worked example

The harmonic mean of 1, 2 and 4 is approximately 1.7143.

Important limitations

This tool performs a mathematical calculation on the values entered. It does not validate whether the data are representative, independent or appropriate for a particular statistical model. Check the method and assumptions before using the result in research or reporting.

Frequently asked questions

When is the harmonic mean appropriate?

It is useful for certain averaging problems involving rates or ratios when the underlying quantities meet the required assumptions.

Why are zero and negative values rejected?

The reciprocal-based formula is undefined at zero and this calculator is limited to positive observations.