Debt-to-Income (DTI) Ratio Calculator for Mortgage Approval
When applying for a mortgage, lenders use a key metric called the Debt-to-Income (DTI) ratio to assess your ability to manage monthly payments and repay the borrowed money. Your DTI is the percentage of your gross monthly income that goes toward paying debts.
This calculator helps you estimate your "back-end" DTI, which includes your proposed new housing costs plus all other existing monthly debt obligations like student loans, car payments, and credit card minimums. Most conventional lenders prefer a back-end DTI below 43%, although some loan programs (like FHA) may allow higher ratios with compensating factors.
Enter your income and debt figures below to see where you stand before applying for a home loan.
1. Monthly Income
Your total income before taxes and deductions.
2. Proposed Housing Costs
Principal, Interest, Property Taxes, and Homeowners Insurance.
3. Other Existing Monthly Debts
Your DTI Results
Total Monthly Income:$0.00
Total Monthly Debt:$0.00
Your Back-End DTI Ratio:
0.00%
Understanding DTI thresholds for Mortgages
While every lender and loan program has different requirements, here are some general guidelines regarding DTI ratios for mortgage approval:
36% or Less: This is considered an excellent DTI ratio. Most lenders view borrowers in this range as low risk, and you will likely have a wide choice of loan products and favorable interest rates.
37% – 43%: This is the typical acceptable range for most conventional mortgages. You are likely to get approved, provided your credit score and other financial factors are strong.
44% – 50%: Approval gets harder in this range. You might still qualify for certain conventional loans if you have strong "compensating factors," such as significant cash reserves or a large down payment. FHA loans are often a common option in this tier.
Above 50%: Obtaining a mortgage becomes significantly more difficult. Some lenders may approve FHA or VA loans up to around 57% in very specific circumstances with automated underwriting approval, but generally, lenders view this as high risk.
How to Improve Your DTI Ratio
If your DTI is higher than desired, you can lower it by either increasing your income or decreasing your debt. The most immediate actions usually involve paying down existing high-interest debt like credit cards, or choosing a less expensive home to reduce the proposed mortgage payment input.
function calculateMortgageDTI() {
// Get inputs using 'var' and handle empty/NaN inputs by defaulting to 0
var grossIncome = parseFloat(document.getElementById("grossMonthlyIncome").value) || 0;
var newPITI = parseFloat(document.getElementById("newMortgagePITI").value) || 0;
var carLoans = parseFloat(document.getElementById("monthlyCarLoans").value) || 0;
var studentLoans = parseFloat(document.getElementById("monthlyStudentLoans").value) || 0;
var creditCards = parseFloat(document.getElementById("monthlyCreditCards").value) || 0;
var otherDebt = parseFloat(document.getElementById("otherMonthlyDebt").value) || 0;
var resultWrapper = document.getElementById("dtiResultWrapper");
var errorDiv = document.getElementById("dtiError");
// Validation: Income must be greater than zero for division
if (grossIncome <= 0) {
errorDiv.style.display = "block";
errorDiv.innerHTML = "Error: Gross Monthly Income must be greater than zero to calculate DTI.";
resultWrapper.style.display = "none";
return;
}
// Hide error if validation passes
errorDiv.style.display = "none";
// Calculate total monthly debt obligations
var totalMonthlyDebt = newPITI + carLoans + studentLoans + creditCards + otherDebt;
// Calculate DTI percentage
var dtiRatio = (totalMonthlyDebt / grossIncome) * 100;
// Update Results Display
document.getElementById("resultIncome").innerHTML = "$" + grossIncome.toFixed(2).replace(/\d(?=(\d{3})+\.)/g, '$&,');
document.getElementById("resultTotalDebt").innerHTML = "$" + totalMonthlyDebt.toFixed(2).replace(/\d(?=(\d{3})+\.)/g, '$&,');
document.getElementById("resultDTIPercentage").innerHTML = dtiRatio.toFixed(2) + "%";
// Interpret the result
var interpretationDiv = document.getElementById("dtiInterpretation");
var resultDTIEl = document.getElementById("resultDTIPercentage");
if (dtiRatio <= 36) {
interpretationDiv.innerHTML = "Excellent range. Lenders generally view this as low risk.";
interpretationDiv.style.color = "#2e7d32"; // Green
resultDTIEl.style.color = "#2e7d32";
} else if (dtiRatio <= 43) {
interpretationDiv.innerHTML = "Good range. Acceptable for most conventional loans.";
interpretationDiv.style.color = "#0073aa"; // Blue
resultDTIEl.style.color = "#0073aa";
} else if (dtiRatio <= 50) {
interpretationDiv.innerHTML = "Cautionary range. Approval may require strong compensating factors or specific loan types (like FHA).";
interpretationDiv.style.color = "#f57c00"; // Orange
resultDTIEl.style.color = "#f57c00";
} else {
interpretationDiv.innerHTML = "High risk range. Mortgage approval may be difficult without reducing debt or increasing income.";
interpretationDiv.style.color = "#d63638"; // Red
resultDTIEl.style.color = "#d63638";
}
// Show results wrapper
resultWrapper.style.display = "block";
}