Implied Cost of Capital
Calculate Easton’s (2004) implied cost of equity capital, the expected rate of return on equity at which the share price equals the value of the next two years of earnings expected by analysts. Where the Cost of Equity of get_weighted_average_cost_of_capital is the return the Capital Asset Pricing Model (CAPM) requires from a beta and a market risk premium, this is the return the market price itself implies (ex-ante).
The formula is as follows:
\[\text{PEG:}\;\; r = \sqrt{\frac{\text{EPS}_{2} - \text{EPS}_{1}}{P_{0}}}\] \[\text{MPEG:}\;\; r = A + \sqrt{A^{2} + \frac{\text{EPS}_{2} - \text{EPS}_{1}}{P_{0}}}\] \[A = \frac{\text{DPS}_{1}}{2 \cdot P_{0}}\]Where \(\text{EPS}_{1}\) and \(\text{EPS}_{2}\) are the analyst consensus (average) EPS estimates of the two fiscal years after the period, \(P_{0}\) the share price at the end of the period and \(\text{DPS}_{1}\) the dividends per share of the next year. The MPEG rate is the positive root of Easton’s valuation equation \(P_{0} = \text{EPS}_{1} / r + (\text{EPS}_{2} + r \times \text{DPS}_{1} - (1 + r) \times \text{EPS}_{1}) / r^{2}\), which assumes the abnormal growth in earnings stays constant after the second year; the PEG rate leaves the dividends out (\(\text{DPS}_{1} = 0\)). The rate is a yearly rate, annually compounded.
See: Easton, P. D. (2004). PE Ratios, PEG Ratios, and Estimating the Implied Expected Rate of Return on Equity Capital. The Accounting Review, 79(1), 73-95.
The estimates are the analysts’ consensus from FinancialModelingPrep, the same estimates as get_forward_price_earnings_ratio of the Ratios module uses, which requires an api_key and a Premium FMP subscription. They are fetched once per Toolkit instance.
Also known as: implied cost of capital, ICC, PEG / MPEG cost of equity, Easton model.
Implied Cost of Capital in Python
Install the Finance Toolkit with:
pip install financetoolkit -U
Then call get_implied_cost_of_capital as shown below.
from financetoolkit import Toolkit
toolkit = Toolkit(
["KO", "PEP", "MDLZ"],
api_key="FINANCIAL_MODELING_PREP_KEY",
start_date="2021-01-01",
end_date="2025-12-31",
)
toolkit.models.get_implied_cost_of_capital()
Which returns:
| Item | 2021 | 2022 | 2023 | 2024 | 2025 |
|---|---|---|---|---|---|
| KO | 0.0736 | 0.0665 | 0.0665 | 0.0921 | 0.0685 |
| MDLZ | 0.0793 | 0.0653 | nan | 0.0695 | 0.0944 |
| PEP | 0.0803 | 0.071 | nan | 0.0639 | 0.0588 |
Parameters
get_implied_cost_of_capital accepts the following parameters.
| Parameter | Type | Description | Example |
|---|---|---|---|
modified | bool | Whether to return the MPEG rate, which includes the dividends and is the version Easton prefers, instead of the PEG rate. Defaults to True. | True |
min_analysts | int | None | The minimum number of analysts behind the EPS consensus of an estimate period; a period that relies on one covered by fewer is NaN. The number per period is the “Number of Analysts EPS” of Toolkit.get_analyst_estimates. Defaults to None, which keeps every period. | None, which keeps every period |
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 |