Graham Intrinsic Value
Calculate the intrinsic value of a share with Benjamin Graham’s growth formula, the value of a growth stock from its earnings, their expected growth and the yield of high grade corporate bonds.
Graham gave the formula in The Intelligent Investor (fourth revised edition, 1973, chapter 11) as Earnings per Share x (8.5 + 2g), with 8.5 the price-to-earnings ratio of a company without growth and g the growth rate of its earnings expected over the next 7 to 10 years, in percent. In 1974 he scaled it by 4.4 / Y, with 4.4 the average yield of AAA corporate bonds in 1962 and Y their current yield, so that the value falls when interest rates rise.
The formula is as follows:
\[\text{Intrinsic Value} = \frac{\text{Earnings per Share} \cdot (8.5 + 2 x g) \cdot 4.4}{Y}\]Graham wrote g and Y in percent (5 for 5%). The growth rate and the bond yield of this method are decimals like every rate in the Finance Toolkit (0.05 for 5%), and the formula multiplies them by 100 before it applies Graham’s constants, so the value is Graham’s. The bond yield is Moody’s seasoned Aaa corporate bond yield, the yield to maturity of bonds with 20 years or more to maturity that Moody’s publishes on their semi-annual coupon basis, used as published, as Graham’s 4.4 was.
Graham meant the formula as a way to compare growth stocks and warned that growth projections are unreliable: a higher g raises the value without limit, so the value of a fast grower rests mostly on the growth assumed. A company with a loss has no value by the formula, so it is NaN.
Also known as: Graham formula, Graham growth formula, Benjamin Graham intrinsic value, revised Graham formula.
Graham Intrinsic Value in Python or via the MCP
Install the Finance Toolkit with:
pip install financetoolkit -U
Then call get_graham_intrinsic_value as shown below.
from financetoolkit import Toolkit
toolkit = Toolkit(
["KO", "PEP", "JNJ"],
api_key="FINANCIAL_MODELING_PREP_KEY",
fred_api_key="FRED_API_KEY",
start_date="2021-01-01",
end_date="2025-12-31",
)
toolkit.models.get_graham_intrinsic_value()
Or, after setting up the Finance Toolkit MCP, ask:
What were the intrinsic values of Coca-Cola, PepsiCo and Johnson & Johnson by Benjamin Graham's formula from 2021 to 2025?
Which returns:
| Item | 2021 | 2022 | 2023 | 2024 | 2025 |
|---|---|---|---|---|---|
| JNJ | nan | nan | 630.081 | 51.9832 | 349.49 |
| KO | nan | nan | 72.556 | 50.1366 | 76.9353 |
| PEP | nan | nan | 160.224 | 138.396 | 74.4379 |
Parameters
get_graham_intrinsic_value accepts the following parameters.
| Parameter | Type | Description | Example |
|---|---|---|---|
growth_rate | float, list or dict | The expected annual growth rate of the earnings per share over the next 7 to 10 years, as a decimal: one number, or a list or dict with a rate per ticker. Defaults to None, which uses the compound annual growth of the company’s Earnings per Share over the 10 years up to each period (or all the years before it when there are fewer, at least three, NaN with less history), kept within 0 and 0.20, the range of Graham’s own table of growth rates, and NaN where the earnings at either end are not positive. | 0.03 |
bond_yield | float, list or dict | The yield of AAA corporate bonds, as a decimal: one number, or a list or dict with a yield per ticker. Defaults to None, which uses Moody’s seasoned Aaa corporate bond yield (FRED series DAAA) on the last day up to the end of each fiscal period, which needs a FRED API key. | None, which uses Moody's seasoned Aaa corporate bond yield (FRED series DAAA) on the last day up to the end of each fiscal period, which needs a FRED API key |
diluted | bool | Whether to use diluted shares in the calculation. Defaults to True. | False |
trailing | int | None | The trailing period to use for the calculation. The window counts calendar periods, so a period without a report makes it NaN. Defaults to None, which uses 4 (the trailing twelve months of earnings) with quarterly data and a single period 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 |
growth | bool | Whether to calculate the growth of the values. Defaults to False. | True |
lag | int | list[int] | The lag to use for the growth calculation. Defaults to 1. | 4 |
standardize | bool | Whether to standardize (Z-Score) the result. When combined with growth=True, standardizes the growth values instead of the raw values. Defaults to False. | True |
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 |