ForHosting KIT · Finance & money

Debt-to-capital ratio calculator

See the share of invested capital that lenders provide: 400000 of debt and 600000 of equity make 1000000 of capital, so the debt-to-capital ratio is 0.4, or 40%. Works even when book equity is negative. Free in your browser.

  • Free
  • Runs in your browser
  • No sign-up
  • Your data stays on your device
Use it from WebAPIEmailTelegramApp soon
If you enter
Total debt
400,000
Total equity
600,000
You get
Total capital
1,000,000
Debt to capital
0.4
Debt to capital percent
40

The debt-to-capital ratio, also called the capitalization ratio or debt-to-total-capital ratio, measures how much of a firm's invested capital is financed by creditors rather than by owners. Given total debt and total equity from the same reporting date, the identity is total debt divided by the sum of total debt and total equity. Credit analysts, lenders, operators, and students use this leverage score whenever they need a single comparable figure for capital structure rather than for the whole asset base. This debt-to-capital calculator accepts those two stocks, rejects a zero capital base instead of dividing by zero, and returns the decimal ratio together with the percent form.

What the debt-to-capital ratio means and how the formula works

The debt-to-capital ratio measures the share of invested capital that is claimed by lenders. Total equity is book equity or, when you prefer a market view, the market value of shareholders' equity on that same date. Total capital for this identity is simply those two stocks added together.

The identity is debt-to-capital equals total debt divided by total capital, that is total debt divided by the sum of total debt and total equity. A result of four tenths, or forty percent, means forty cents of every capital dollar is financed by debt; a result of one hundred percent means the firm is all debt on the two lines you supplied; a result of zero means the sheet is all equity.

The ratio is related to but not the same as debt-to-asset, debt-to-equity, or the current ratio: those identities use assets, a debt-over-equity fraction, or current stocks, not the two-claim capital base. Total capital must be non-zero because dividing by a zero capital base is undefined for this metric. Prefer the same currency and the same reporting date for both inputs; mixing a year-end debt total with a mid-year equity total is not a capital-structure identity, it is a mixed snapshot.

Where a debt-to-capital calculator earns its keep

Credit officers and equity analysts use a debt-to-capital calculator when peer screens need a comparable capitalization score across firms that differ in size, industry, and how they label short-term versus long-term borrowings. Operators and FP&A teams track the ratio by year and by segment so capital structure stays inside the band the board already approved, not just inside a headline interest-coverage number.

Lenders embed maximum debt-to-capital or related leverage tests in covenants and need a deterministic check that matches the spreadsheet the borrower already signed, including the case of a zero capital base that must fail rather than print Infinity. Educators and LMS platforms need an oracle for financial-statement homework that asks students to compute the debt-to-capital ratio from total debt and total equity—including the edge case of a zero capital line students often mishandle by swapping the fraction. Failed validation is not billed.

Keep total capital non-zero, pin the rounded percent in tests, and you get reproducible capitalization figures for spreadsheets, workflow tools, and edge workers without standing up a financial-ratio library of your own. Use this capability when you already have both capital-structure stocks; if you have only total liabilities and total assets and want a debt-to-asset figure, that is a different identity and does not belong in this debt-to-capital definition.

Peer and 10-K capitalization screens

Convert period-end total debt and total equity into a debt-to-capital percent so companies rank by how much of invested capital is creditor-financed, not by raw debt size.

Covenant and credit packs

Reproduce the borrower's maximum debt-to-capital check with the same identity the loan model uses, including rejection when debt plus equity is zero.

Classroom statement-analysis drills

Mark homework that asks for the debt-to-capital ratio from total debt and total equity with a deterministic percentage oracle.

How is this different from the debt-to-asset ratio?

Debt-to-capital divides debt by debt plus equity. Debt-to-asset divides liabilities by total assets. They answer different questions and rank firms differently when working capital and other non-debt claims are large.

How do I calculate the debt-to-capital ratio?

Add total debt and total equity to get total capital, then divide the debt by that sum. With 400000 of debt and 600000 of equity, capital is 1000000 and the ratio is 0.4, or 40%.

What counts as debt in the debt-to-capital ratio?

The interest-bearing borrowings you treat as part of the capital structure: notes payable, bonds, finance leases and other recognized borrowings, taken at the same reporting date as equity.

Can equity be negative in this ratio?

Yes. Accumulated losses can wipe out book capital, and negative equity is accepted. The only case rejected is when debt plus equity adds up to zero, because there is no capital base to divide by.

Should I use book equity or market value?

Either works. Use book equity from the balance sheet, or the market value of shareholders' equity on the same date if you prefer a market view. Keep both inputs in one currency and one date.

Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.

POSThttps://api.kit.forhosting.com/fin/debt-to-capital

Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.

curl -X POST https://api.kit.forhosting.com/fin/debt-to-capital \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"total_debt":400000,"total_equity":600000}'
{
  "total_debt": 400000,
  "total_equity": 600000
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "fin.debt_to_capital",
  "status": "queued",
  "_links": {
    "result": "/tasks/tsk_…/result"
  }
}

The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.

Per request$0.002

Published price — no tokens, no invented credits. A failed task is never charged.

HTTPCodeMeaning
401unauthorizedMissing or invalid API key.
402insufficient_balanceYour balance doesn't cover the task price.
404unknown_typeThat task type doesn't exist.
429rate_limitedToo many requests. Use the webhook instead of polling.

What the debt-to-capital ratio means and how the formula works

Total debt is the stock of interest-bearing borrowings you treat as capital-structure debt: notes payable, bonds, finance leases, and other recognized borrowings, taken at the same reporting date as equity. This endpoint does not fetch filings or ledger data; it only computes the capitalization ratio once you supply both numbers.

Input contract, rounding, validation, and worked examples

Missing fields, empty strings, non-finite values, and a negative debt stock fail the same way. A firm with no recorded debt and a positive equity base yields zero percent. A firm whose equity is zero and whose debt is positive yields one hundred percent. POST a JSON body with two required finite numbers: total_debt and total_equity, in the same currency and covering the same reporting date. total_debt (aliases debt, total_liabilities, and liabilities) must be finite and greater than or equal to zero. total_equity (aliases equity, shareholders_equity, book_equity, and stockholders_equity) must be a finite number and may be negative when accumulated losses have wiped out book capital. The distinctive failure is a zero capital base: if total_debt plus total_equity equals zero, the task fails with invalid_input naming that the debt plus equity is zero, and the call is not billed. An optional decimals integer from zero through twelve (default six) controls half-up rounding applied once to debt_to_capital and debt_to_capital_percent from the raw IEEE quotient; never re-inject a rounded ratio into another formula step if you chain tools yourself. On success the body echoes the two stocks and adds total_capital, the decimal ratio, the percent form, and a formula string restating the identity. Example: total debt four hundred thousand and total equity six hundred thousand yields total_capital one million, debt_to_capital zero point four, and debt_to_capital_percent forty. Example: total debt one hundred thousand and total equity two hundred thousand with decimals four yields debt_to_capital zero point three three three three and debt_to_capital_percent thirty-three point three three three three. Pair the response with your own industry notes; this endpoint measures the ratio only and does not annualize, currency-convert, or strip off-balance-sheet commitments unless you fold those adjustments into the two inputs first.

How is the debt-to-capital ratio calculated?

debt_to_capital = total_debt ÷ (total_debt + total_equity). The API returns that decimal as debt_to_capital and the same figure as debt_to_capital_percent (the ratio as a percentage).

What does a debt-to-capital ratio of 40% mean?

Forty cents of every capital dollar is financed by debt—debt_to_capital 0.4 and debt_to_capital_percent 40—when total debt is four hundred thousand and total equity is six hundred thousand.

Why must debt plus equity be non-zero?

The ratio divides by total capital. A zero capital base (debt plus equity is zero) makes the identity undefined, so the task fails with invalid_input and is not billed.

What does the debt-to-capital calculator cost?

The browser tool is free. API requests use prepaid KIT balance at $0.002 per successful call; invalid input is not billed.

Read the full KIT documentation →