Numbers and Arithmetic

The Arithmetic, Geometric and Harmonic Means Compared

Choose the right average for totals, growth factors and rates, with worked examples and a short proof of why the three means come in a fixed order.

Key takeaways

  • The arithmetic mean is the single value that would give the same sum.
  • The geometric mean is the single factor that would give the same product, which suits growth rates.
  • The harmonic mean suits rates averaged over equal amounts, such as speeds over equal distances.
  • For positive numbers the order is always harmonic ≤ geometric ≤ arithmetic, with equality only when all values are equal.

The arithmetic mean adds numbers and divides by how many there are. The geometric mean multiplies them and takes the matching root. The harmonic mean averages their reciprocals and then flips the result. Each one answers a different question, and picking the wrong one can give a badly wrong answer.

The test is simple to state. Ask how your numbers combine. If they add up, use the arithmetic mean. If they multiply, use the geometric mean. If they are rates and the quantity on top is held equal for each, use the harmonic mean.

The three definitions

For positive numbers x₁, x₂, up to xₙ:

arithmetic mean  A = (x₁ + x₂ + ... + xₙ) / n
geometric mean   G = (x₁ × x₂ × ... × xₙ)^(1/n)
harmonic mean    H = n / (1/x₁ + 1/x₂ + ... + 1/xₙ)

Take the two numbers 4 and 16.

A = (4 + 16) / 2              = 10
G = √(4 × 16) = √64           = 8
H = 2 / (1/4 + 1/16) = 32/5   = 6.4

Three different "middles" come out of the same pair. Notice also that 8² = 10 × 6.4. For exactly two positive numbers, G is the geometric mean of A and H. That identity does not generally hold for three or more values.

When quantities add: the arithmetic mean

Use the arithmetic mean when the total is what matters. If three days of rain bring 2, 5 and 11 millimeters, the mean is 6 millimeters, and three days of 6 would give the same total of 18.

The same is true of costs, masses, times spent and test points. Replacing each value by the mean preserves the sum.

The arithmetic mean is sensitive to extreme values. One enormous income can pull the average of a group far above what most members earn. In such cases the median, the middle value, may describe a typical member better. See choosing among mean, median and mode for that comparison.

Weights extend the idea. If one class has 10 students averaging 90 and another 40 averaging 60, the combined mean is (10 × 90 + 40 × 60) / 50 = 66.

When quantities multiply: the geometric mean

Suppose an investment rises 50 percent one year and falls 50 percent the next. The arithmetic mean of +50 and −50 is zero, yet $100 becomes $150 and then $75.

The factors are 1.5 and 0.5, and they multiply. Their geometric mean is √(1.5 × 0.5) = √0.75 ≈ 0.866. A steady change of about −13.4 percent a year for two years gives the same end result.

Here is a longer hypothetical run: growth of 10 percent, then 20 percent, then a 10 percent fall.

factors:         1.10, 1.20, 0.90
product:         1.188
cube root:       about 1.059
average growth:  about 5.9% per year

The arithmetic mean of the three percentages is about 6.7, which overstates what happened. Average the factors geometrically, never the percentages directly, when you want a steady equivalent rate. The same logic underlies compound interest.

Three values side by side

With the numbers 2, 4 and 8, each definition is a few lines of arithmetic.

arithmetic:  (2 + 4 + 8) / 3               = 14/3  ≈ 4.67
geometric:   cube root of (2 × 4 × 8 = 64) = 4
harmonic:    3 / (1/2 + 1/4 + 1/8) = 24/7  ≈ 3.43

These numbers double at each step, and the geometric mean lands on the middle one. That happens for any geometric sequence of odd length with positive terms. In the same way, the arithmetic mean lands on the middle term of an evenly spaced list, such as 2, 5 and 8.

The harmonic mean has a matching property: it picks the middle term when the reciprocals are evenly spaced. The numbers 1/2, 1/3 and 1/4 have reciprocals 2, 3 and 4, and their harmonic mean is 1/3.

Seeing which kind of spacing your data have is often a good hint about which average describes their center. It is a hint only, since the question you are answering matters more than the pattern in the list.

The middle on a multiplying scale

The geometric mean is also the natural midpoint when sizes span many powers of ten. Between 100 and 1,000,000, the arithmetic mean is about 500,000, close to the top. The geometric mean is √(10² × 10⁶) = 10⁴, or 10,000, a factor of 100 from each end.

That is why it is a good single guess when you only know a low and a high bound, a habit used in Fermi estimation.

It also treats ratios fairly. Suppose machine A takes twice as long as machine B on one task and half as long on another. The ratios A to B are 2 and 0.5. Their arithmetic mean is 1.25, suggesting A is slower. Computing B to A gives 0.5 and 2, again 1.25, suggesting B is slower. The geometric mean is 1 both ways, which is consistent.

When rates share a numerator: the harmonic mean

You drive 60 kilometers at 30 km/h, then 60 kilometers at 60 km/h. What is your average speed?

time out:    60 / 30  = 2 hours
time back:   60 / 60  = 1 hour
total:       120 km in 3 hours = 40 km/h
harmonic:    2 / (1/30 + 1/60) = 40

The answer is below 45 because you spend more time at the slower speed. If instead you had driven one hour at each speed, you would cover 90 km in 2 hours, and the arithmetic mean of 45 km/h would be correct.

Fuel economy behaves alike. Over equal distances at 20 and 30 miles per gallon, the overall figure is the harmonic mean, 24. The general rule: average speeds over equal distances harmonically, and over equal times arithmetically. When distances differ, total distance divided by total time is always right.

Spending equal amounts versus buying equal amounts

Prices give another clear case. Suppose you spend $100 on a material when it costs $10 a unit, and another $100 when it costs $20.

units bought:   100/10 + 100/20  = 10 + 5 = 15
average price:  200 / 15         ≈ $13.33 per unit

That is the harmonic mean of 10 and 20. You received more units at the low price, so it carries more weight. If you had bought 10 units each time instead, you would have paid $100 and $200 for 20 units, an average of $15, which is the arithmetic mean.

Neither result is a recommendation about when to buy anything. It shows that "the average price" depends on what was held fixed, money or quantity, just as average speed depends on whether time or distance was fixed.

Other places the harmonic mean appears

Two resistors R₁ and R₂ in parallel have a combined resistance of 1 / (1/R₁ + 1/R₂), which is half their harmonic mean. Resistors of 4 and 16 ohms give 3.2 ohms.

Shared work follows the same pattern. If one pump fills a tank in 4 hours and another in 16, together they take 1 / (1/4 + 1/16) = 3.2 hours, assuming each keeps its own rate.

In both cases the reciprocals are what add: conductances in the first, tanks per hour in the second. Whenever you find yourself adding reciprocals, a harmonic mean is nearby.

Which mean fits the question?
Arithmetic Values that add up Rainfall, costs, scores Speeds over equal times Geometric Factors that multiply Average growth per period Ratios against a reference Harmonic Rates over equal amounts Speeds over equal distances Shared work and parallel paths Arithmetic Values that add up Rainfall, costs, scores Speeds over equal times Geometric Factors that multiply Average growth per period Ratios against a reference Harmonic Rates over equal amounts Speeds over equal distances Shared work and parallel paths

Why the order never changes

For two positive numbers a and b, start from the fact that a square cannot be negative.

(√a − √b)² ≥ 0
a − 2√(ab) + b ≥ 0
(a + b)/2 ≥ √(ab)                  so A ≥ G

Equality holds only when √a = √b, that is, a = b. Now apply the same inequality to 1/a and 1/b. It says their arithmetic mean is at least 1/√(ab). Taking reciprocals reverses the inequality and gives H ≤ G.

The result extends to any number of positive values. It is one of the most used tools in analysis, alongside the others in inequalities every analyst uses.

A neat consequence: among all rectangles with a given perimeter, the square has the largest area. With sides a and b, the sum a + b is fixed, and ab = G² is at most A², reached when a = b.

A picture of two of them

Draw a segment of length a + b and a semicircle on it as diameter. The radius is (a + b)/2, the arithmetic mean.

Now stand a perpendicular at the point where the two lengths a and b meet, up to the circle. By similar triangles, its height h satisfies h/a = b/h, so h = √(ab), the geometric mean. No perpendicular in a semicircle can be longer than the radius, so the inequality is visible at a glance. They are equal exactly when the point is the center.

Combining the two: a surprising limit

You can alternate the first two means. Start with a pair, replace it by its arithmetic mean and its geometric mean, and repeat.

start:    4          16
step 1:   10         8
step 2:   9          8.94427
step 3:   8.97214    8.97209

The two numbers close in on each other extraordinarily fast. Their common limit is called the arithmetic-geometric mean. Carl Friedrich Gauss studied it closely and linked it to elliptic integrals, which appear when you compute quantities such as the length of an ellipse. The same idea underlies some very fast methods for calculating π to many digits.

Cautions and choices

  • A single zero makes the geometric mean zero, and the harmonic mean is then undefined.
  • With negative values, the geometric and harmonic means are generally not meaningful. For growth data, convert percentages to positive factors first.
  • A smaller result is not "more conservative" by itself. Choose by the structure of the problem.
  • State which mean you used whenever you report an average.

If you are unsure, go back to the totals. Work out the total distance and time, or the final balance, and then ask which single value would reproduce it. That question picks the mean for you, even in cases that do not fit any standard label. The geometric mean also requires roots, and estimating square roots by hand makes the two-number case easy to check.

Written for 4Mathematics with AI writing tools and not reviewed line by line by a person. Check anything you rely on against a textbook or primary source. Report an error.

Keep reading

All 38 articles in Numbers and Arithmetic →

Latest news on this topic