Harmonic Mean Two Numbers
Calculator

Inputs

Harmonic mean
5.538461

Results

Harmonic mean
5.538461

Results

Harmonic mean5.538461

formula-map diagram

Harmonic mean
5.538461

Formula map

Formula

H = 2 × a × b ÷ (a + b)

= 5.5384615384615

Note

Simplified model: these are exact results of the stated idealised formulas, assuming perfect shapes and exact inputs. Real measurements carry error, and the ellipse perimeter is a Ramanujan approximation. Verify independently before relying on these figures.

Example: with the default inputs, calculator.mathematics.harmonic_mean is 5.538461538461538.

More in Mathematics

See all →

Frequently asked questions

How do you calculate the harmonic mean of two numbers?+

The calculator uses H = 2 × a × b ÷ (a + b). Enter values a and b to get the result.

When should I use the harmonic mean instead of the average?+

It suits averaging rates or ratios, such as speeds over equal distances. It is always pulled toward the smaller of the two values.

Is the harmonic mean smaller than the arithmetic mean?+

For two different positive numbers, yes. The two are equal only when a and b are equal.

Can I use zero or negative numbers?+

The inputs must be positive. The calculator keeps both values above zero, since the formula is meant for positive quantities.

Does this work for more than two numbers?+

No. This calculator handles exactly two values, a and b, using the two-number formula.