Dividend-Adjusted PEG Ratio (PEGY)

Calculate the dividend-adjusted price earnings to growth (PEGY) ratio, the PEG ratio with the dividend yield added to the earnings growth, as Peter Lynch proposed in One Up On Wall Street (1989, chapter 13). A company that pays out much of its earnings grows them more slowly, and the PEG ratio counts that against it; the PEGY ratio credits the dividend as part of the return, which suits mature dividend payers.

The formula is as follows:

\[\text{PEGY Ratio} = \frac{\text{Price Earnings Ratio} \;\left(\frac{P}{E}\right)}{(\text{EPS Growth Rate} + \text{Dividend Yield}) \cdot 100}\]

The EPS growth rate is that of get_price_to_earnings_growth_ratio: the growth of the (diluted) earnings per share on the previous year, with quarterly data of the trailing twelve months on those of four quarters earlier. The dividend yield is that of get_dividend_yield, the dividends per share paid over the year (the trailing four quarters with quarterly data) divided by the close at the end of the period. Both are decimals, and their sum is multiplied by 100 so that it enters in percent, as Lynch wrote it and as in the PEG ratio.

Lynch divided the growth plus the yield by the P/E, the reciprocal of this ratio, and called a result below 1 poor, 1.5 okay and 2 or more good, so a PEGY ratio above 1 is poor and 0.5 or less good. Like the PEG ratio it uses a single year of earnings growth, so it swings widely and turns negative when the earnings fall by more than the dividend yield.

Also known as: PEGY ratio, dividend-adjusted PEG ratio, yield-adjusted PEG, Lynch ratio.

Dividend-Adjusted PEG Ratio (PEGY) in Python or via the MCP

Install the Finance Toolkit with:

pip install financetoolkit -U

Then call get_dividend_adjusted_price_to_earnings_growth_ratio as shown below.

from financetoolkit import Toolkit

toolkit = Toolkit(
    ["MA", "ADP", "COST"],
    api_key="FINANCIAL_MODELING_PREP_KEY",
    start_date="2021-01-01",
    end_date="2025-12-31",
)

toolkit.ratios.get_dividend_adjusted_price_to_earnings_growth_ratio()

Or, after setting up the Finance Toolkit MCP, ask:

What was the dividend-adjusted PEG ratio (PEGY) of Mastercard, ADP and Costco from 2021 to 2025?

Which returns:

Item 2021 2022 2023 2024 2025
ADP 3.9205 1.7338 1.3813 1.9893 2.6594
COST 1.434 2.3471 4.5521 2.8098 4.9592
MA 1.0825 1.9604 2.2175 2.1234 1.7727

Parameters

get_dividend_adjusted_price_to_earnings_growth_ratio accepts the following parameters.

ParameterTypeDescriptionExample
include_dividendsboolWhether to deduct preferred dividends from net income, in both the P/E and the EPS growth. Defaults to False.True
dilutedboolWhether to use diluted shares in the calculation. Defaults to True.False
roundingint | NoneThe number of decimals to round the results to. Defaults to None, which uses the rounding of the Toolkit (4 unless set otherwise).2
growthboolWhether to calculate the growth of the ratios. Defaults to False.True
lagint | list[int]The lag to use for the growth calculation. Defaults to 1.4
compoundboolWhether the growth is the compound annual growth rate over the lag (e.g. lag=5 for the five-year CAGR) instead of the total change. Defaults to False.False
standardizeboolWhether 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_columnsstr | list[str] | NoneThe 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
Share