Debt-to-Income Calculator Formula
Understand the math behind the debt-to-income calculator. Each variable explained with a worked example.
Formulas Used
Back-End DTI (Total)
back_end_dti = total_debt / gross_monthly_income * 100Front-End DTI (Housing)
front_end_dti = monthly_housing / gross_monthly_income * 100Total Monthly Debt Payments
total_monthly_debt = total_debtIncome After Debt
remaining_income = gross_monthly_income - total_debtMax Housing at 28% Front-End
max_housing_at_28 = gross_monthly_income * 0.28Max Total Debt at 43% Back-End
max_total_at_43 = gross_monthly_income * 0.43Variables
| Variable | Description | Default |
|---|---|---|
gross_monthly_income | Gross Monthly Income(USD) | 8000 |
monthly_housing | Monthly Housing (PITI)(USD) | 2200 |
car_payments | Monthly Car Payments(USD) | 450 |
student_loans | Monthly Student Loans(USD) | 300 |
credit_card_minimums | Monthly Credit Card Minimums(USD) | 150 |
other_debt | Other Monthly Debt Payments(USD) | 0 |
total_debt | Derived value= monthly_housing + car_payments + student_loans + credit_card_minimums + other_debt | calculated |
non_housing_debt | Derived value= car_payments + student_loans + credit_card_minimums + other_debt | calculated |
How It Works
Debt-to-Income Ratios
Lenders use DTI ratios to assess your ability to manage monthly payments and repay debts.
Front-End Ratio (Housing)
Front-End DTI = Monthly Housing Cost (PITI) / Gross Monthly Income x 100
Most lenders prefer this to be 28% or less.
Back-End Ratio (Total)
Back-End DTI = Total Monthly Debt / Gross Monthly Income x 100
Most conventional lenders want this at 43% or less. FHA allows up to 50% with compensating factors.
DTI Guidelines by Loan Type
Worked Example
Gross monthly income of $8,000. Housing $2,200, car $450, student loans $300, credit cards $150.
- 01Front-end DTI: $2,200 / $8,000 = 27.5%
- 02Total debt: $2,200 + $450 + $300 + $150 = $3,100
- 03Back-end DTI: $3,100 / $8,000 = 38.75%
- 04Both ratios are under typical limits (28% front, 43% back)
- 05Remaining income after debt: $8,000 - $3,100 = $4,900
- 06Maximum housing at 28%: $8,000 x 0.28 = $2,240
- 07Maximum total debt at 43%: $8,000 x 0.43 = $3,440
Frequently Asked Questions
What debts are included in DTI?
DTI includes minimum payments on all debts that appear on your credit report: mortgage/rent, car loans, student loans, credit cards, personal loans, and alimony/child support. It does not include utilities, groceries, subscriptions, or other living expenses.
How can I lower my DTI?
Increase income (raise, side job, add a co-borrower) or reduce debt (pay off credit cards, refinance car to lower payment, pay off smallest debts). Avoid taking on new debt before applying for a mortgage.
Is gross or net income used for DTI?
DTI uses gross (pre-tax) income, not take-home pay. This means your actual disposable income after taxes and deductions is lower than what the DTI calculation suggests. Budget carefully based on net income, not just DTI limits.
Learn More
Guide
How to Calculate Debt-to-Income Ratio
Learn how to calculate your debt-to-income (DTI) ratio, what lenders look for, and how to lower your DTI to qualify for better loan terms.
Ready to run the numbers?
Open Debt-to-Income Calculator