Enter your monthly gross income and debt payments to calculate your DTI ratio.
Your Debt-to-Income Ratio is:
0%
Total Monthly Debt: $0 | Total Monthly Income: $0
Understanding Your Debt-to-Income Ratio
Your Debt-to-Income (DTI) ratio is one of the most critical metrics lenders use to assess your ability to manage monthly payments and repay debts. Unlike your credit score, which measures your credit history, DTI measures your monthly cash flow leverage.
Calculating your DTI involves dividing your total recurring monthly debt by your gross monthly income (income before taxes and deductions).
Why DTI Matters for Mortgages
When applying for a mortgage, lenders utilize the DTI ratio to determine how much home you can afford. The lower your ratio, the less risky you appear to lenders.
36% or less: This is considered the "gold standard." Most lenders view this as a healthy ratio, offering the best interest rates.
37% – 43%: You will likely qualify for a mortgage, but you may face stricter scrutiny or slightly higher rates. The "Qualified Mortgage" rule generally sets the limit at 43%.
44% – 50%: Approval becomes difficult. FHA loans may allow ratios up to 50% (or higher with compensating factors), but conventional loans are often out of reach.
Above 50%: It is very difficult to secure financing. Lenders view this as a high risk of default.
Front-End vs. Back-End Ratio
There are actually two types of DTI ratios lenders look at:
Front-End Ratio: This only counts your housing-related expenses (mortgage principal, interest, taxes, insurance, and HOA fees) divided by your income. Lenders typically prefer this to be under 28%.
Back-End Ratio: This is the number our calculator provides. It includes housing expenses plus all other recurring debts like credit cards, car loans, and student loans. Lenders typically prefer this to be under 36%.
How to Lower Your DTI
If your DTI is currently too high to qualify for a loan, consider these strategies:
Increase Income: Take on a side hustle, request a raise, or include a co-borrower's income on the application.
Pay Down Debt: Focus on eliminating small balances to remove monthly obligations entirely (the "snowball method").
Refinance Loans: extend the term of a car loan or student loan to lower the monthly required payment, thereby improving the ratio immediately.
Frequently Asked Questions
Does DTI affect my credit score?
No. Credit bureaus do not know your income, so DTI is not a factor in your credit score calculation. However, high credit card utilization (a separate metric) does hurt your score.
Does rent count toward DTI?
For a mortgage application, your current rent doesn't count because it will be replaced by the new mortgage payment. However, for personal budgeting or auto loans, rent is a major liability.
function calculateDTI() {
// Get input values
var incomeInput = document.getElementById('grossIncome');
var housingInput = document.getElementById('housingCost');
var carInput = document.getElementById('carLoans');
var studentInput = document.getElementById('studentLoans');
var cardsInput = document.getElementById('creditCards');
var otherInput = document.getElementById('otherDebt');
// Parse values, defaulting to 0 if empty
var income = parseFloat(incomeInput.value) || 0;
var housing = parseFloat(housingInput.value) || 0;
var car = parseFloat(carInput.value) || 0;
var student = parseFloat(studentInput.value) || 0;
var cards = parseFloat(cardsInput.value) || 0;
var other = parseFloat(otherInput.value) || 0;
// Validate income
if (income <= 0) {
alert("Please enter a valid monthly gross income greater than zero.");
return;
}
// Calculate Total Debt
var totalDebt = housing + car + student + cards + other;
// Calculate Ratio
var dtiRatio = (totalDebt / income) * 100;
// Format Result
var dtiFormatted = dtiRatio.toFixed(1);
// Get Result Elements
var resultBox = document.getElementById('dtiResults');
var dtiValue = document.getElementById('dtiValue');
var dtiMessage = document.getElementById('dtiMessage');
var debtDisplay = document.getElementById('totalDebtDisplay');
var incomeDisplay = document.getElementById('totalIncomeDisplay');
// Display Values
dtiValue.innerText = dtiFormatted + "%";
debtDisplay.innerText = "$" + totalDebt.toLocaleString();
incomeDisplay.innerText = "$" + income.toLocaleString();
// Determine Status Message
var statusHtml = "";
if (dtiRatio <= 36) {
statusHtml = "ExcellentYou are in a great position to get approved for new credit.";
} else if (dtiRatio <= 43) {
statusHtml = "Good / ManageableYou likely qualify for most mortgages, but reduce debt if possible.";
} else if (dtiRatio <= 50) {
statusHtml = "High RiskYou may face difficulty getting approved. Look into FHA loans or paying down debt.";
} else {
statusHtml = "CriticalLenders typically deny applications with a DTI above 50%. Focus on debt reduction immediately.";
}
dtiMessage.innerHTML = statusHtml;
// Show Result Box
resultBox.style.display = "block";
// Smooth scroll to result
resultBox.scrollIntoView({ behavior: 'smooth', block: 'nearest' });
}