Solvency Ratio

Calculate the solvency ratio, the cash earnings (net income plus the non-cash depreciation and amortization) against all liabilities.

The solvency ratio shows how much of its total obligations, short and long term, a company could pay from a year of cash earnings. A higher ratio is safer; around 0.2 is often named as a healthy level, though it differs widely by industry.

The formula is as follows:

\[\text{Solvency Ratio} = \frac{\text{Net Income} + \text{Depreciation and Amortization}}{\text{Total Liabilities}}\]

The depreciation and amortization come from the cash flow statement. The ratio compares a year of earnings with the liabilities, so quarterly data defaults to the trailing twelve months; the liabilities are those at the end of the period.

Also known as: cash flow to total liabilities (with net income plus depreciation as the cash flow).

Example · DUK, SO, NEE · 2021 to 2025

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

from financetoolkit import Toolkit

toolkit = Toolkit(
    ["DUK", "SO", "NEE"],
    api_key="FINANCIAL_MODELING_PREP_KEY",
    start_date="2021-01-01",
    end_date="2025-12-31",
)

toolkit.ratios.get_solvency_ratio()

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

What was the solvency ratio of Duke Energy, Southern Company and NextEra Energy from 2021 to 2025?

Which returns:

Parameters

get_solvency_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 flows (income and cash flow statement items) over, with balance sheet items averaged over the same number of period ends. 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 the trailing twelve months (4 quarters) with quarterly data and single years with annual data.4
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