Harmonic Progression Calculator


Find a term of a harmonic progression by treating its reciprocals as an arithmetic progression, or calculate the harmonic mean of two nonzero numbers.

Use consistent units. Enter numbers without thousands separators. Invalid input clears all results.

Harmonic progression

请输入数值:

The HP begins 1/a, not a.

Whole number 1 to 1000000.

结果:

Inputs and results

Choose the matching mode, then read each field label and note. Results use the same length, time, currency or quantity units as the inputs unless a label says otherwise. A negative change means a decrease.

Formula

If reciprocals are a, a+d, a+2d,..., the HP term is Hn=1/[a+(n-1)d]. Harmonic mean of two nonzero values is 2/(1/x+1/y)=2xy/(x+y).

Worked example

a=2, d=1 gives HP terms 1/2, 1/3, 1/4; the third term is 0.25. For x=2 and y=6, HM=2/(1/2+1/6)=3.

Limits and edge cases

The page defines a as the first reciprocal denominator. A zero denominator anywhere through term n makes the progression invalid. Signed inputs are allowed, but many physical uses of HM require positive values. n must be an integer from 1 to 1e6. Decimal calculations use floating-point arithmetic; displayed values are rounded to 12 significant digits. This is an educational tool, not a guarantee about investments or physical systems.

FAQ

Is a the first HP value?

No. The first HP value is 1/a. This convention follows the arithmetic sequence of reciprocals.

Why reject x=-y?

Their reciprocals sum to zero, so the harmonic mean would divide by zero.

Formula reference

Background mathematics. Explanation and examples on this page are independently written.