# Harmonic mean

## Description

In mathematics, the harmonic mean (sometimes called the subcontrary mean) is one of several kinds of average. The harmonic mean is the reciprocal of the arithmetic mean of the reciprocals. For all positive data sets containing at least one pair of nonequal values, the harmonic mean is always the least of the three means, while the arithmetic mean is always the greatest of the three and the geometric mean is always in between. (If all values in a nonempty dataset are equal, the three means are always equal to one another

Related formulas## Variables

HM | Harmonic mean (dimensionless) |

n | Number of terms (dimensionless) |

x | Set of numbers (dimensionless) |