Harmonic Mean
The harmonic mean is a way of calculating an average that is specifically suited to numbers expressed as ratios or rates, such as speeds, prices per unit, or valuation multiples. It is calculated by dividing the number of values by the sum of the reciprocals of those values, and it always produces a result lower than or equal to the simple average of the same numbers.
The formula for two values is: Harmonic Mean = 2 ÷ (1/a + 1/b). The classic illustration is averaging speeds: if a car travels the first half of a journey at 60 mph and the second half at 40 mph, the simple average would incorrectly suggest 50 mph, but because the car spends more time at the slower speed, the true average speed for the whole trip is the harmonic mean, which works out to 48 mph.
In investing, the harmonic mean matters most when averaging valuation ratios like the price-to-earnings (P/E) ratio across a group of stocks or a fund's holdings. Suppose a two-stock portfolio holds equal dollar amounts in a stock trading at a P/E of 10 and another at a P/E of 100. A simple average gives a misleadingly high P/E of 55, but the harmonic mean gives about 18.2, which better reflects the actual blended earnings yield an investor is buying, since it correctly weights by the amount of earnings each dollar invested actually purchases. This is why professional index providers and fund fact sheets typically report a portfolio's average P/E using the harmonic mean rather than the simple mean.
The equal-weight illustration is the teaching case; a real portfolio uses the weighted version, in which each holding's share of the money invested determines how much it pulls on the result. Conceptually the calculation adds up the earnings that each dollar invested actually buys and expresses the total as a multiple, which is why the answer sits so much closer to the cheaper holding than a simple average does. The same approach applies to any ratio built as price over something: yields, sales multiples and book multiples all behave this way, and averaging them naively overstates the expensive end of the portfolio every time.
One awkwardness has no clean solution. A company with no earnings, or with losses, produces a reciprocal that is undefined or negative, and either breaks the calculation or distorts it badly. Index providers handle this by excluding loss-makers, or by aggregating total price against total earnings instead, and they do not all make the same choice. That is why two fact sheets describing the same holdings can quote noticeably different average multiples without either being wrong, and why the methodology note matters whenever such a figure is used to argue that one fund is cheaper than another.