Excel guide · 4 min read
How to calculate debt-to-income ratio in Excel
=SUM(B2:B7)/G3, formatted as a percentage, with gross monthly income in G3 (=G2/12 from yearly income). Here $2,620 of monthly payments on $6,500 a month is a DTI of 40.3%.Sample data
Every result on this page was calculated from this sheet by the same spreadsheet engine the Cellwise app uses.
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | Monthly payment | Amount | Type | Include? | Setting | Value | |
| 2 | Rent or mortgage (with tax and insurance) | 1650 | Housing | Yes | Gross yearly income | 78000 | |
| 3 | Car loan | 385 | Debt | Yes | Gross monthly income | 6500 | |
| 4 | Student loan | 240 | Debt | Yes | Your lender's limit (yours) | 0.36 | |
| 5 | Credit card A (minimum) | 95 | Debt | Yes | |||
| 6 | Credit card B (minimum) | 40 | Debt | Yes | |||
| 7 | Personal loan | 210 | Debt | Yes |
Download this sheet as an Excel practice file (.xlsx)
Step 1: List the monthly payments
Put each monthly payment on its own row: housing, car loan, student loan, the minimum payment on each credit card, personal loans and any other loan with a fixed payment. Use the minimum payment from the statement for cards, not what you usually pay or the balance.
Day-to-day bills such as groceries, utilities, phone and insurance that isn't part of a housing payment are usually not in DTI. Lenders decide exactly what counts, and it varies by lender and loan type, so if you're preparing for an application, use the list they give you.
Give each row a Type (Housing or Debt) and an Include? column. Both make the what-if questions below one change instead of a rewrite.
Result: 2620 shows as $2,620 with Currency format
2620: total monthly payments across all six rows.
Step 2: Divide by gross monthly income
DTI uses gross income, before tax and deductions, not your take-home pay. Put yearly gross income in G2 and divide by 12 in G3: $78,000 / 12 = $6,500.
$2,620 / $6,500 = 40.3%. If you divide by take-home pay instead (say 75% of gross, $4,875), you get 53.7%. That's a useful number for your own budget, but it isn't DTI, and it won't match what a lender calculates.
If your income changes from month to month, average a longer period, such as the last 12 or 24 months of gross income, and say which in a note. One good month makes the ratio look better than it is.
Result: 0.40307692308 shows as 40.3% with Percent format
About 0.403: monthly debt payments are 40.3% of gross monthly income.
Housing-only (front-end) vs total (back-end) DTI
Mortgage lenders often look at two ratios. Front-end DTI is the housing payment alone (mortgage or rent, with property tax, insurance and HOA if they apply) divided by income. Back-end DTI is all debt payments, housing included, which is the 40.3% above.
SUMIFS on the Type column gives the housing part: $1,650 / $6,500 = 25.4%. The other debts add $970 a month, 14.9% of income. Showing the two parts side by side tells you whether the ratio is high because of housing or because of everything else.
Result: 0.25384615385 shows as 25.4% with Percent format
About 0.254: housing alone takes 25.4% of gross monthly income.
What if a debt is paid off?
Switch the total to SUMIFS on the Include? column: =SUMIFS(B2:B7,D2:D7,"Yes")/G3. With every row set to Yes it matches the 40.3% above. Change the car loan's D3 to No and it falls to 34.4%, because $385 a month leaves the total.
Paying off both credit cards instead (D5 and D6) only brings it to 38.2%, since their minimum payments are small. DTI looks at payments, not balances, so the debt with the largest monthly payment moves it most. That's a different question from which debt costs the most interest, which the debt payoff calculator in the personal-finance hub compares.
Result: 0.40307692308 shows as 40.3% with Percent format
About 0.403 with every row included; set a row to No to test paying it off.
Room under a limit you set
If a lender has told you a limit, or you've set one for yourself, put it in G4 (36% here is a sample; use your own). =IF(SUM(B2:B7)/G3<=G4,"Within your limit","Above your limit") labels the result: Above your limit, since 40.3% is over 36%.
Turn it around to see the room left. The limit x income is the total monthly payment that fits: 36% of $6,500 is $2,340. Take away the other debts ($970) and up to $1,370 a month is left for housing. With the current $1,650 housing payment, the total is $280 over. These are calculations on your own inputs, not a lending decision or financial advice.
Result: 1370 shows as $1,370 with Currency format
1370: the housing payment that keeps total payments at your 36% limit.
Common mistakes
Using take-home pay
DTI divides by gross monthly income, before tax and deductions. Take-home pay gives a much higher ratio (53.7% instead of 40.3% here).
Using card balances instead of minimum payments
DTI compares monthly payments with monthly income. Put each card's minimum payment in the list, not what you owe.
Dividing yearly income by the monthly total
Convert income to monthly first (=yearly/12). Mixing yearly and monthly numbers gives a ratio twelve times too small.
Adding everyday bills
Groceries, utilities and phone bills usually aren't debt payments. Follow the list your lender uses if you're preparing an application.
FAQ
What is the debt-to-income ratio formula in Excel?
=SUM(monthly_payments)/(gross_yearly_income/12), formatted as a percentage. Here =SUM(B2:B7)/G3.
Does rent count in debt-to-income ratio?
For a mortgage application, lenders usually use the new housing payment you're applying for rather than your current rent. For your own tracking, include whatever housing payment you make now and label it.
What is a good debt-to-income ratio?
Limits vary by lender and loan type, so there's no single number to aim for. Ask the lender for theirs, put it in the limit cell, and the sheet shows how far above or below it you are.
How do I show DTI as a percentage?
Select the cell and press Ctrl+Shift+% or use Home > Number > Percent Style. Don't multiply by 100 in the formula as well, or it shows 4030%.
Functions used
Related guides
- How to calculate percentage in Excel
- How to calculate percentage of total in Excel
- Formulas for a monthly budget in Excel
- How to calculate a loan payment in Excel
- How to calculate cost per unit in Excel
- How to calculate fuel cost and mileage in Excel
- How to calculate year-over-year growth in Excel
Updated