Net Debt to Equity Ratio

Calculates the net debt to equity ratio, also known as net gearing, which measures the debt of the company net of its cash relative to its equity.

Net gearing is the debt to equity ratio after deducting the cash the company could repay its debt with, the way European and UK companies and their lenders usually report leverage. A ratio of 0.5 means the debt net of cash is half of the equity; a negative ratio means the company holds more cash than debt (a net cash position).

The formula is as follows:

\[\text{Net Debt to Equity Ratio} = \frac{\text{Net Debt}}{\text{Total Equity}}\]

The Net Debt is that of the balance sheet, the Total Debt minus the Cash and Cash Equivalents, the same as in get_net_debt_to_ebitda_ratio, and the Total Equity includes the minority interest, as in get_debt_to_equity_ratio. Both are balances at the end of the period. Equity is a book value, so large buybacks or accumulated losses can make it small or negative; with an equity of zero or less the ratio no longer measures leverage, so those periods are NaN.

Also known as: net gearing, net gearing ratio, net debt to equity, net leverage ratio.

Net Debt to Equity Ratio in Python or via the MCP

Install the Finance Toolkit with:

pip install financetoolkit -U

Then call get_net_debt_to_equity_ratio as shown below.

from financetoolkit import Toolkit

toolkit = Toolkit(
    ["VZ", "TMUS", "CHTR"],
    api_key="FINANCIAL_MODELING_PREP_KEY",
    start_date="2021-01-01",
    end_date="2025-12-31",
)

toolkit.ratios.get_net_debt_to_equity_ratio()

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

What was the net debt to equity ratio of Verizon, T-Mobile and Charter from 2021 to 2025?

Which returns:

Item 2021 2022 2023 2024 2025
CHTR 5.0247 7.7499 6.6241 4.836 4.71
TMUS 1.4788 1.5402 1.6795 1.7654 1.9707
VZ 2.1035 1.8789 1.8431 1.6322 1.5377

Parameters

get_net_debt_to_equity_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 period ends to average the net debt and the equity over. E.g. 4 with quarterly data averages the last four quarter ends. The window counts calendar periods, so a period without a report makes it NaN. Defaults to None, which uses the balances at the end of each period.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