Harmonic Mean

The harmonic mean averages reciprocals and can aggregate positive valuation multiples when weights match the underlying investment amounts.

The harmonic mean is an average found by taking the reciprocal of the arithmetic average of reciprocals. In finance, it can combine positive valuation multiples, such as price-to-earnings ratios, when the weights match the amounts invested.

It is not automatically the best average for every rate or ratio. The right method depends on what is being combined and which quantities are held constant.

Key Takeaways

  • Equal investment amounts can make the harmonic mean appropriate for combining positive P/E ratios.
  • Unequal amounts require investment-value weights, not a simple unweighted average.
  • An aggregate portfolio P/E and a typical peer-company P/E answer different questions.
  • Zero, negative, missing, or inconsistent earnings need explicit treatment.
  • Compound investment growth uses geometric linking, not the harmonic mean of annual returns.

Formula and Weighting

For n strictly positive values x_i, the unweighted harmonic mean is:

$$ H=\frac{n}{\sum_{i=1}^{n}1/x_i} $$

For nonnegative weights w_i that sum to one:

$$ H_w=\frac{1}{\sum_{i=1}^{n}w_i/x_i}, \qquad \sum_{i=1}^{n}w_i=1 $$

Equal weights of 1/n recover the unweighted formula. For a simple spreadsheet calculation, Excel’s HARMEAN function uses the unweighted form and rejects inputs at or below zero. Microsoft: HARMEAN Function.

Worked Example: Two Equally Sized Stock Holdings

Suppose a hypothetical portfolio has $1,000 invested in each of two stocks. Both companies have positive earnings, and both P/E ratios use the same price date and earnings basis.

HoldingMarket value heldP/E ratioEarnings attributable to the shares held
Stock A$1,00010x$100
Stock B$1,00020x$50
Total$2,00013.33x aggregate$150

The last column equals holding value divided by its P/E. These are the companies’ earnings attributable to the held shares, not cash distributions promised to the investor.

The aggregate multiple is total holding value divided by those earnings:

$$ \text{Aggregate P/E} =\frac{2{,}000}{100+50} =\frac{2}{1/10+1/20} \approx13.33 $$

The arithmetic mean of 10x and 20x is 15x. That describes an equal-weighted average of the two quoted multiples, but it does not reproduce this portfolio’s aggregate price-to-earnings relationship.

Why Investment-Value Weights Matter

Let V_i be the value of holding i and M_i its positive P/E multiple. Earnings attributable to that holding equal V_i/M_i. Therefore:

$$ \frac{\sum_i V_i}{\sum_i V_i/M_i} = \frac{1}{\sum_i w_i/M_i}, \qquad w_i=\frac{V_i}{\sum_j V_j} $$

If Stock A instead represents 25% of the portfolio and Stock B represents 75%, the aggregate multiple becomes:

$$ H_w=\frac{1}{0.25/10+0.75/20}=16 $$

For a $2,000 portfolio, those weights imply holdings of $500 and $1,500, with attributable earnings of $50 and $75. Total value divided by $125 of earnings gives 16x.

This aggregation principle also appears in index methodologies. For example, MSCI’s June 2024 methodology calculates index valuation ratios from aggregated adjusted market values and fundamental amounts, with specified inclusion and missing-data rules. A provider’s published figure should be read with its own methodology, not assumed to be a simple mean. MSCI: Fundamental Data Methodology, section 3.1.

Harmonic vs. Arithmetic vs. Geometric Mean

QuestionSuitable calculationImportant condition
What is the aggregate P/E of these holdings?Value-weighted harmonic mean of positive P/EsConsistent earnings definitions and portfolio weights
What is the average quoted multiple in a peer list?Arithmetic mean or another stated summary, such as the medianPeer comparability and outlier treatment
What is the portfolio’s return for one period?Beginning-value-weighted arithmetic average of holding returnsConsistent return measurement; no intra-period trading or external cash flows
What constant rate reproduces growth over successive periods?Geometric mean of growth factors, minus oneLink comparable periods and account for external flows

CFA Institute treats the arithmetic mean, harmonic mean, weighted harmonic mean, and median as distinct ways to summarize valuation multiples. No averaging method makes an unsuitable peer group comparable. CFA Institute: Market-Based Valuation.

Risks and Common Mistakes

Using equal company weights for unequal holdings. The unweighted harmonic mean works in the example because the investment values are equal, not because there are two companies.

Averaging incompatible P/Es. Do not mix trailing and forward earnings, or reported and adjusted earnings, without reconciling the inputs.

Silently dropping loss-making companies. A positive-only subset can give a different picture from total portfolio earnings. State what is excluded and whether the remaining weights are renormalized. When losses are included, calculating total value divided by total earnings directly is clearer than forcing signed P/Es into a positive-data average; a nonpositive aggregate denominator is not a conventional meaningful P/E.

Replacing zero earnings with a zero P/E. Zero earnings make P/E undefined, not zero. Conversely, a very small positive P/E has a large reciprocal and can pull the harmonic mean down sharply. It still requires an earnings-quality check.

Confusing earnings yield with an investment return. The reciprocal of P/E is earnings yield, not a guaranteed dividend, cash flow, or future return.

The examples explain valuation arithmetic and are not investment recommendations or personalized financial advice.

Check Your Understanding

Loading quiz…

FAQs

Can the harmonic mean be calculated with negative inputs?

The usual positive-data harmonic mean used here excludes them, and Excel’s HARMEAN rejects them. The reciprocal expression can sometimes be evaluated for signed nonzero inputs, but cancellations can make it undefined or misleading. A negative P/E should not be treated as an ordinary cheap positive multiple.

Is a lower harmonic-mean P/E evidence that a portfolio is undervalued?

No. It may reflect lower growth expectations, greater risk, cyclical earnings, or differences in accounting and portfolio composition. The average summarizes the inputs; it does not establish fair value.
Browse Valuation and Analysis