1. Home
  2. Guides
  3. How to calculate debt-to-income ratio, step by step with examples
Money

How to calculate debt-to-income ratio, step by step with examples

Learn which payments count, which income to use and how to calculate your debt-to-income ratio before a mortgage or loan, with worked examples and edge cases.

Calculator Simply cover image for the guide 'How to calculate debt-to-income ratio'

The formula in one line

Debt-to-income ratio (DTI) = total monthly debt payments ÷ gross monthly income × 100. The CFPB uses exactly this definition: add up all your monthly debt payments, divide by your gross monthly income, and the result is the share of your income that goes to debt.

Both halves of the formula are monthly, and both use specific definitions. The debt side is the minimum required payment on each debt, not the balance. The income side is gross pay, before taxes and deductions. Mixing a balance into the debt total, or using take-home pay, is how most people get a wrong answer.

Worked exampleMonthly debt payments of $945 and gross monthly income of $5,500: $945 ÷ $5,500 = 0.1718, or about 17.2%.

Step 1: list the payments that count

Pull your credit report and your latest statements so nothing is missed. Lenders mainly count recurring obligations that appear on your credit report or in a court order. Fannie Mae’s Selling Guide lists the housing payment, installment loans, revolving accounts such as credit cards, lease payments, and alimony, child support or maintenance that runs more than ten months.

For credit cards, use the minimum payment shown on the statement even if you pay the full balance every month. Fannie Mae notes that lenders may use a more conservative figure than the reported minimum, so a lender’s number can come out slightly higher than yours.

Everyday expenses such as groceries, utilities, phone plans, streaming and insurance premiums are not debts and do not go in the total. They still matter for your budget, but not for this ratio.

Worked exampleCar loan $410 + student loan $220 + credit card minimums $95 and $40 + personal loan $180 = $945 a month.

Step 2: convert income to a gross monthly figure

Start from pay before taxes, retirement contributions and health premiums. For a salary, divide the annual figure by 12. For hourly pay, multiply the rate by typical weekly hours, then by 52, then divide by 12. Add steady, documentable income such as a second job or regular alimony received.

If you are applying with a co-borrower, combine both incomes and both sets of debts. A lender only counts the income it can verify and expects to continue, so a one-time bonus or a side gig that started last month may not be included.

Worked example$66,000 salary ÷ 12 = $5,500 gross monthly income.

Worked example: income that changes from year to year

If you are self-employed, paid on commission or rely on overtime, a single strong month will not represent your income. Lenders typically look back over a history, often your tax returns, and use a figure they expect to continue. For your own estimate, average the last two years of gross income and divide by 12. If the more recent year is lower, consider using that year alone, since a lender is likely to notice the decline too.

For self-employment, the figure that matters is generally net business income after expenses, not the revenue the business brought in. Using revenue overstates income and makes the ratio look better than any lender will calculate it.

Worked exampleGross income of $58,000 last year and $70,000 this year averages $64,000. $64,000 ÷ 12 = $5,333.33 a month. With the same $945 of debt payments, the Debt-to-Income Calculator gives 17.718761%, about half a point higher than on a steady $66,000 salary.

Step 3: divide, then test the loan you are applying for

Your current DTI tells you where you stand today. For a mortgage, the number that matters is the ratio with the new housing payment included. Remove your rent, add the full estimated monthly payment for the new home (principal, interest, property tax, insurance and any mortgage insurance or dues), and divide again.

Mortgage lenders often look at the housing payment on its own as well. Dividing the proposed housing payment by gross income gives the front-end ratio. The total figure including every debt is the back-end ratio, and it is the one most guidelines cap.

Worked exampleProposed housing payment $1,650. Back-end: ($945 + $1,650) ÷ $5,500 = $2,595 ÷ $5,500 = 47.18%. Front-end: $1,650 ÷ $5,500 = 30%. The Debt-to-Income Calculator returns 47.181818% and 30% for these inputs.

How to read the result

The CFPB stresses that limits vary by loan product and lender. As one published benchmark, Fannie Mae caps total DTI at 36% for manually underwritten conventional loans, up to 45% with qualifying credit scores and reserves, and 50% for loans run through its automated underwriting. Other programs and individual lenders set their own limits.

In the example above, 47.18% would be above the manual-underwriting limits and below the automated ceiling, so approval would depend on the rest of the file. Even where a high ratio is allowed, nearly half of gross income going to debt leaves a thin margin once taxes come out.

If the ratio is higher than you want, there are two levers: lower the payment you are adding, or reduce existing payments. The Mortgage Affordability Calculator shows how large a loan a smaller principal-and-interest payment supports, which helps you set a price ceiling that keeps the ratio where you want it.

What moves the number, and what does not

Paying a debt off entirely removes its whole payment from the calculation. Paying a balance down without closing it out often changes little, because many installment payments stay fixed until the loan is gone. Credit card minimums do fall as balances fall, so paying down a card before the statement date can lower the reported minimum.

New credit works in the other direction. Before running a new car loan through the ratio, find its payment with the Loan Payment Calculator and add it to your debt total. One car purchase shortly before a mortgage application can change the outcome.

Worked examplePaying off the $40 card: ($2,595 − $40) ÷ $5,500 = 46.45%. Adding a $28,000 car loan at 7.5% over 60 months instead: the Loan Payment Calculator gives $561.06 a month, and ($2,595 + $561.06) ÷ $5,500 ≈ 57.38%.

Edge cases and common mistakes

Short debts: Fannie Mae allows installment debts with ten or fewer payments left to be excluded unless they significantly affect your ability to pay, but lease payments count no matter when the lease ends. Alimony you pay can be deducted from income instead of added to debts; child support cannot.

Deferred student loans and co-signed debts are easy to forget. Lenders generally still look at them, so ask how your lender treats them rather than leaving them out. Rental property losses can also add to the debt side.

The ratio is a screening tool, not a verdict on affordability. A 30% DTI can still be tight with high childcare or commuting costs, which DTI ignores. For a review of a specific application, talk with the lender or a HUD-approved housing counselor.

Sources and further reading

Try the calculators