Relative Valuation
Relative valuation by regression shows the multiple each company would trade at given its growth, payout and risk, and how far its actual multiple lies above or below that.
Comparing a company’s P/E with the average of its peers ignores that a company with higher growth, a higher payout or lower risk deserves a higher multiple. Damodaran (2012, chapters 18 to 20) therefore regresses the multiple of every company in a market or sector on the fundamentals that drive it in a discounted cash flow model, and compares each company with the multiple the regression predicts for its fundamentals. The regression runs per period across the Toolkit’s tickers:
- Price-to-Earnings on the expected growth, the payout ratio and the beta.
- Price-to-Book on the return on equity, the expected growth, the payout ratio and the beta.
- Price-to-Sales on the net profit margin, the expected growth, the payout ratio and the beta.
The formula is as follows:
\[\text{Multiple}_{i} = a + \sum_{j=1}^{k} b_{j} \cdot \text{Fundamental}_{j,i} + e_{i}\] \[\text{Predicted Multiple}_{i} = a + \sum_{j=1}^{k} b_{j} \cdot \text{Fundamental}_{j,i}\] \[\text{Mispricing}_{i} = \frac{\text{Multiple}_{i} - \text{Predicted Multiple}_{i}}{\text{Predicted Multiple}_{i}}\]The first line is fitted by least squares across the companies of each period.
A negative mispricing means the company trades below what the others’ pricing of its fundamentals implies. The regression is only as good as its universe: Damodaran runs it on hundreds or thousands of companies, and the coefficients of a handful of tickers are unstable, so the R Squared and number of Observations come with every period.
Also known as: relative valuation regression, market regression, sector regression, fair multiple.
Example · KO, PEP, MDLZ, HSY, 4 more · 2021 to 2025
Install the Finance Toolkit with pip install financetoolkit -U, then call get_relative_valuation:
from financetoolkit import Toolkit
toolkit = Toolkit(
["KO", "PEP", "MDLZ", "HSY", "GIS", "KHC", "K", "CPB"],
api_key="FINANCIAL_MODELING_PREP_KEY",
start_date="2021-01-01",
end_date="2025-12-31",
)
toolkit.models.get_relative_valuation().loc[:, "2024"]
Or, with the Finance Toolkit MCP set up, ask an AI assistant such as Claude or ChatGPT:
Given their growth, payout and beta, which P/E should Coca-Cola, PepsiCo, Mondelez, Hershey, General Mills, Kraft Heinz, Kellanova and Campbell's have traded at in 2024, and how mispriced was each?
Which returns:
| Item | 2024 |
|---|---|
| ('CPB', 'Price-to-Earnings') | 24.7354 |
| ('CPB', 'Expected Growth') | 0.0437 |
| ('CPB', 'Payout Ratio') | 0.7848 |
| ('CPB', 'Beta') | -0.1615 |
| ('CPB', 'Predicted Price-to-Earnings') | 25.1809 |
| ('CPB', 'Mispricing') | -0.0177 |
| ('GIS', 'Price-to-Earnings') | 13.0255 |
| ('GIS', 'Expected Growth') | 0.0086 |
| ('GIS', 'Payout Ratio') | 0.5859 |
| ('GIS', 'Beta') | -0.2218 |
| ('GIS', 'Predicted Price-to-Earnings') | 18.4263 |
| ('GIS', 'Mispricing') | -0.2931 |
| ('HSY', 'Price-to-Earnings') | 15.5141 |
| ('HSY', 'Expected Growth') | 0.0768 |
| ('HSY', 'Payout Ratio') | 0.4884 |
| ('HSY', 'Beta') | 0.0874 |
| ('HSY', 'Predicted Price-to-Earnings') | 16.1007 |
| ('HSY', 'Mispricing') | -0.0364 |
| ('K', 'Price-to-Earnings') | 20.9120 |
| ('K', 'Expected Growth') | -0.0349 |
| ('K', 'Payout Ratio') | 0.5778 |
| ('K', 'Beta') | -0.3181 |
| ('K', 'Predicted Price-to-Earnings') | 16.4525 |
| ('K', 'Mispricing') | 0.2711 |
| ('KHC', 'Price-to-Earnings') | 13.5846 |
| ('KHC', 'Expected Growth') | -0.0025 |
| ('KHC', 'Payout Ratio') | 0.7037 |
| ('KHC', 'Beta') | 0.1010 |
| ('KHC', 'Predicted Price-to-Earnings') | 15.1732 |
| ('KHC', 'Mispricing') | -0.1047 |
| ('KO', 'Price-to-Earnings') | 25.2999 |
| ('KO', 'Expected Growth') | 0.0678 |
| ('KO', 'Payout Ratio') | 0.7863 |
| ('KO', 'Beta') | 0.0507 |
| ('KO', 'Predicted Price-to-Earnings') | 23.5547 |
| ('KO', 'Mispricing') | 0.0741 |
| ('MDLZ', 'Price-to-Earnings') | 17.4488 |
| ('MDLZ', 'Expected Growth') | 0.0826 |
| ('MDLZ', 'Payout Ratio') | 0.5094 |
| ('MDLZ', 'Beta') | 0.1636 |
| ('MDLZ', 'Predicted Price-to-Earnings') | 15.8118 |
| ('MDLZ', 'Mispricing') | 0.1035 |
| ('PEP', 'Price-to-Earnings') | 21.9965 |
| ('PEP', 'Expected Growth') | 0.0494 |
| ('PEP', 'Payout Ratio') | 0.7548 |
| ('PEP', 'Beta') | 0.0216 |
| ('PEP', 'Predicted Price-to-Earnings') | 21.8170 |
| ('PEP', 'Mispricing') | 0.0082 |
| ('Regression', 'Intercept') | -0.7743 |
| ('Regression', 'Expected Growth') | 77.5695 |
| ('Regression', 'Payout Ratio') | 25.3281 |
| ('Regression', 'Beta') | -16.6498 |
| ('Regression', 'R Squared') | 0.6487 |
| ('Regression', 'Observations') | 8.0000 |
54 rows
Parameters
get_relative_valuation accepts the following parameters.
| Parameter | Type | Description | Example |
|---|---|---|---|
method | str | The multiple to explain. Options are: “price_to_earnings” (the P/E on the growth, payout and beta), “price_to_book” (the P/B on the return on equity, growth, payout and beta), “price_to_sales” (the P/S on the net profit margin, growth, payout and beta). Defaults to “price_to_earnings”. | "price_to_earnings" |
growth_years | int | The years over which the Expected Growth, the compound growth of the revenue, is measured, at least 1. Defaults to 3. | 3 |
diluted | bool | Whether the market value uses the diluted shares. Defaults to True. | False |
trailing | int | None | The number of periods to sum the flows (Net Income, Revenue, Dividends) over and the beta’s daily returns cover. The window counts calendar periods, so a period without a report makes it NaN. Defaults to None, which is 4 (a trailing year) with quarterly data and a single year with yearly data. | 4 |
rounding | int | None | The number of decimals to round the results to. Defaults to None, which uses the rounding of the Toolkit (4 unless set otherwise). | 2 |
show_columns | str | list[str] | None | The columns to keep, a name or a list of names, matched on every column level, or the rows when no column has those names (such as the line items of a financial statement). Names that do not exist are logged, and when none exist the result is returned in full. Defaults to None, which keeps every column. | None, which keeps every column |
References
- Paper Damodaran, A. (2012). “Investment Valuation.” Wiley, 3rd edition, chapters 18 to 20.
- Paper Damodaran, A. (2006). “Damodaran on Valuation.” Wiley, 2nd edition, chapter 8.