Free Operating Cash Flow to Debt Ratio

Calculate the free operating cash flow (FOCF) to debt ratio of S&P Global Ratings: the cash flow left after capital expenditure as a share of the debt.

FOCF to debt is one of the supplementary ratios S&P Global Ratings uses next to its core ratios (FFO to debt and debt to EBITDA). It counts the investment the business needs, so it shows how much of the debt the company could repay each year before dividends and buybacks; the discretionary cash flow to debt of get_discretionary_cash_flow_to_debt_ratio also subtracts those.

The formula is as follows:

\[\text{FOCF} = \text{Cash Flow from Operations} - \left\lvert \text{Capital Expenditure}\right\rvert\] \[\text{FOCF to Debt} = \frac{\text{FOCF}}{\text{Total Debt}}\]

Capital expenditure is reported as a negative cash outflow, so its magnitude is subtracted. The debt is the total debt at the end of the period; a total debt of zero or less gives NaN.

  • S&P Global Ratings (2013). “Corporate Methodology: Ratios And Adjustments.”

Also known as: FOCF/debt, free operating cash flow to debt.

Example · AAPL, MSFT, KO, XOM · 2021 to 2025

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

from financetoolkit import Toolkit

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

toolkit.ratios.get_free_operating_cash_flow_to_debt_ratio()

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

What was the free operating cash flow to debt ratio of Apple, Microsoft, Coca-Cola and ExxonMobil from 2021 to 2025?

Which returns:

Parameters

get_free_operating_cash_flow_to_debt_ratio 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 the cash flow statement items over, with the balance sheet items at the end of the window. The window counts calendar periods, so a period without a report makes it NaN. Defaults to None, which uses the trailing twelve months (4 quarters) with quarterly data and single years with annual 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 S&P Global Ratings (2013). “Corporate Methodology: Ratios And Adjustments.”
Share