Statistics & probability

Harmonic mean calculator

Average positive rates with an equal numerator basis.

Harmonic mean calculator
Esc to restore

Your inputs

Up to 50,000 values. No thousands separators. Absolute values up to 1 trillion; non-zero values must be at least 1e-100 in magnitude.

Results update as you type. Larger files run when you press Update result.

Your result

LOCAL & PRIVATE

Your result will appear here.

Your inputs stay in this browser. Nothing is uploaded or saved.

A clear answer. Here’s how.

Harmonic mean = n/sum(1/x), for strictly positive values. It is appropriate for certain rate averages when each observation has the same numerator, such as equal-distance travel speeds. It is not the general average for unequal distances or equal travel times.

See a worked example

Worked example

A fixed demonstration, separate from the values you enter above.

Values, separated by commas or new lines
30, 60

Example result

Harmonic mean
40
Count
2