Debt-to-Equity Calculator Formula
Understand the math behind the debt-to-equity calculator. Each variable explained with a worked example.
Formulas Used
Debt-to-Equity Ratio
de_ratio = total_equity > 0 ? total_debt / total_equity : 0Equity as % of Total Capital
equity_pct = (total_debt + total_equity) > 0 ? (total_equity / (total_debt + total_equity)) * 100 : 0Debt as % of Total Capital
debt_pct = (total_debt + total_equity) > 0 ? (total_debt / (total_debt + total_equity)) * 100 : 0Variables
| Variable | Description | Default |
|---|---|---|
total_debt | Total Debt (Liabilities)(USD) | 400000 |
total_equity | Total Shareholder Equity(USD) | 600000 |
How It Works
How to Calculate Debt-to-Equity Ratio
Formula
Debt-to-Equity Ratio = Total Liabilities / Total Shareholder Equity
This ratio reveals how much of the company is funded by borrowed money relative to owner investment. A D/E of 1.0 means equal parts debt and equity. Higher values indicate greater financial leverage, which amplifies both gains and losses. Lenders and investors watch this ratio closely when assessing creditworthiness.
Worked Example
A company carries $400,000 in total debt and $600,000 in shareholder equity.
- 01D/E Ratio = $400,000 / $600,000 = 0.67
- 02Equity portion = $600,000 / $1,000,000 = 60%
- 03Debt portion = $400,000 / $1,000,000 = 40%
- 04The company uses $0.67 of debt for every $1 of equity.
When to Use This Formula
- Evaluating a company's financial leverage before investing — a D/E ratio above 2.0 in most industries signals heavy reliance on borrowed money, which amplifies both gains and losses.
- Comparing capital structures across companies in the same industry to identify which competitor carries more financial risk relative to its equity base.
- Assessing whether a business can take on additional debt for expansion without overleveraging — lenders often set maximum D/E covenants in loan agreements.
- Preparing financial statements for a bank loan application where the underwriter requires a current D/E ratio as part of the credit analysis.
- Monitoring how a company's leverage changes quarter over quarter to detect trends toward riskier financing before they become critical.
Common Mistakes to Avoid
- Including only long-term debt and ignoring short-term liabilities — the standard D/E ratio uses total liabilities (both current and non-current) divided by shareholders' equity, so omitting current debt understates the true leverage.
- Using total assets instead of shareholders' equity in the denominator — this calculates the debt-to-assets ratio, which is a different metric entirely and always produces a smaller number.
- Comparing D/E ratios across vastly different industries without context — capital-intensive industries like utilities routinely carry D/E ratios above 1.5, while software companies often stay below 0.5, so a "good" ratio depends on the sector.
- Forgetting that negative shareholders' equity (from accumulated losses) makes the ratio negative or meaningless — a company with negative equity and positive debt has a negative D/E, which does not mean low leverage.
Frequently Asked Questions
What is a good debt-to-equity ratio?
It varies by industry. Capital-intensive sectors like utilities often have ratios above 1.5, while tech companies may target below 0.5. In general, a ratio below 1.0 is considered conservative.
Can the debt-to-equity ratio be negative?
Yes, if shareholder equity is negative (accumulated losses exceed invested capital). A negative ratio is a serious warning sign of financial distress.
Learn More
Guide
Understanding Financial Ratios
Learn the most important financial ratios for evaluating business health. Covers liquidity, profitability, efficiency, and leverage ratios with formulas and benchmarks.
Ready to run the numbers?
Open Debt-to-Equity Calculator