MathorynMathematical Formula Database

Statistics & Probability

Harmonic Mean

The harmonic mean is the reciprocal of the average of reciprocals. It is used to average rates over equal distances, for example the average speed of a round trip, and it is the smallest of the three classical means.

H=n1x1+1x2+⋯+1xnH=\frac{n}{\dfrac{1}{x_1}+\dfrac{1}{x_2}+\cdots+\dfrac{1}{x_n}}
LaTeXH=\frac{n}{\dfrac{1}{x_1}+\dfrac{1}{x_2}+\cdots+\dfrac{1}{x_n}}

Variables

HH
harmonic mean
xix_i
positive values
nn
number of values

Example

Find the harmonic mean of 4040 and 6060.

  1. 140+160=5120=124\frac1{40}+\frac1{60}=\frac{5}{120}=\frac1{24}.
  2. H=21/24H=\frac{2}{1/24}.

Answer: H=48H=48.

Related formulas