Cash Return on Equity

Calculate the cash return on equity: the cash flow from operations a company earns per unit of shareholder equity.

The cash return on equity is the cash counterpart of the return on equity in the cash flow ratios of the CFA Institute. It is not moved by accruals, so a cash return on equity that persistently trails the return on equity shows profits that are not turned into cash.

The formula is as follows:

\[\text{Cash Return on Equity} = \frac{\text{Cash Flow from Operations}}{\text{Average Total Shareholder Equity}}\]

The averages are those of the opening and closing balance of the period; with trailing, the flows are summed over the trailing periods and the balances averaged over the trailing + 1 period ends that open and close them.

The equity is the total shareholder equity (without minority interest), as in get_return_on_equity. Like the return on equity, it loses meaning when the equity is small or negative, as after large buybacks.

  • CFA Institute (2020). “International Financial Statement Analysis”, 4th edition, Wiley, chapter “Financial Analysis Techniques” (cash flow ratios).

Also known as: cash ROE, cash flow return on equity.

Example · AAPL, MSFT, KO · 2021 to 2025

Install the Finance Toolkit with pip install financetoolkit -U, then call get_cash_return_on_equity:

from financetoolkit import Toolkit

toolkit = Toolkit(
    ["AAPL", "MSFT", "KO"],
    api_key="FINANCIAL_MODELING_PREP_KEY",
    start_date="2021-01-01",
    end_date="2025-12-31",
)

toolkit.ratios.get_cash_return_on_equity()

Or, with the Finance Toolkit MCP set up, ask an AI assistant such as Claude or ChatGPT:

How much operating cash flow did Apple, Microsoft and Coca-Cola earn per dollar of shareholder equity from 2021 to 2025?

Which returns:

Parameters

get_cash_return_on_equity accepts the following parameters.

ParameterTypeDescriptionExample
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
trailingintThe number of periods to sum flows (income and cash flow statement items) over, with balance sheet items averaged over the trailing + 1 period ends that open and close those periods, so trailing=1 equals the default average of the opening and closing balance. E.g. 4 with quarterly data gives the trailing twelve months (TTM) and 3 with annual data a three-year cumulative figure. The window counts calendar periods, so a period without a report makes it NaN. Defaults to None, which uses single-period flows (per quarter and not annualized with quarterly data).4
transformstr | list[str] | NoneTime series steps applied in order, such as “sma:12” (moving average), “ema:12”, “std:12”, “zscore:60”, “percentile:120”, “yoy”, “pct_change:3,annualize:3”, “log”, “diff”, “cumsum” or “hp_trend” and “hp_cycle” (Hodrick-Prescott), before growth. A window needs that many periods of history, so the first periods can be empty. Defaults to None.None
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

References

  • Paper CFA Institute (2020). “International Financial Statement Analysis.” 4th edition, Wiley (cash flow ratios).
Share