Determine your eligibility for mortgages and loans by calculating your DTI ratio. Enter your monthly gross income and current debt obligations below.
1. Monthly Income
2. Monthly Debt Payments
Your Debt-to-Income Ratio
0.00%
Unknown
Total Monthly Income$0.00
Total Monthly Debt$0.00
Understanding Your Debt-to-Income (DTI) 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. It represents the percentage of your gross monthly income that goes toward paying debts.
Why DTI Matters for Mortgage Approval
When applying for a mortgage, lenders look at two types of DTI ratios:
Front-End Ratio: The percentage of income that goes toward housing costs (rent/mortgage, HOA, property tax, insurance). Ideally, this should be under 28%.
Back-End Ratio: The percentage of income that goes toward ALL monthly debts, including housing, credit cards, student loans, and car payments. Ideally, this should be under 36%.
Pro Tip: Most conventional loans strictly require a back-end DTI of 43% or lower, though FHA loans may sometimes allow ratios up to 50% with compensating factors.
How to Interpret Your Score
35% or less:Excellent. You likely have manageable debt and money left over for savings. Lenders view you as a low-risk borrower.
36% to 43%:Good/Manageable. You are eligible for most loans, but you might want to pay down some debt before taking on a large mortgage.
44% to 49%:Concerning. You may struggle to find favorable loan terms. Lenders will scrutinize your application closely.
50% or higher:High Risk. You are spending half your income on debt. It is highly recommended to lower your debt load or increase income before applying for new credit.
How to Lower Your DTI
If your DTI is higher than 43%, consider the following strategies before applying for a home loan:
Pay off small debts: Eliminate credit card balances or small personal loans to remove those monthly minimums from the calculation.
Refinance high-interest loans: Lowering your monthly payment on a car loan or student loan can directly improve your DTI, even if the total balance remains the same.
Increase income: Documentable side income, raises, or co-signers can increase the "Income" denominator of the ratio.
function calculateDTI() {
// 1. Get Input Values
var grossIncome = parseFloat(document.getElementById("grossIncome").value) || 0;
var housing = parseFloat(document.getElementById("housingExp").value) || 0;
var cars = parseFloat(document.getElementById("carLoans").value) || 0;
var students = parseFloat(document.getElementById("studentLoans").value) || 0;
var cards = parseFloat(document.getElementById("creditCards").value) || 0;
var personal = parseFloat(document.getElementById("personalLoans").value) || 0;
var other = parseFloat(document.getElementById("otherDebt").value) || 0;
// 2. Validate Income
if (grossIncome <= 0) {
alert("Please enter a valid Gross Monthly Income greater than 0.");
return;
}
// 3. Calculate Totals
var totalDebt = housing + cars + students + cards + personal + other;
var dtiRatio = (totalDebt / grossIncome) * 100;
// 4. Update UI Elements
document.getElementById("result-area").style.display = "block";
document.getElementById("dtiDisplay").innerText = dtiRatio.toFixed(2) + "%";
document.getElementById("displayIncome").innerText = "$" + grossIncome.toLocaleString(undefined, {minimumFractionDigits: 2});
document.getElementById("displayDebt").innerText = "$" + totalDebt.toLocaleString(undefined, {minimumFractionDigits: 2});
// 5. Determine Status and Color
var statusBadge = document.getElementById("statusBadge");
var lenderMsg = document.getElementById("lenderMsg");
// Reset classes
statusBadge.className = "result-status";
if (dtiRatio 35 && dtiRatio 43 && dtiRatio <= 49) {
statusBadge.innerText = "High Risk";
statusBadge.classList.add("status-yellow");
statusBadge.style.backgroundColor = "#e67e22"; // Custom orange
lenderMsg.innerText = "You may face difficulties qualifying for a conventional mortgage. FHA loans might be an option with strict requirements.";
} else {
statusBadge.innerText = "Critical";
statusBadge.classList.add("status-red");
lenderMsg.innerText = "Your DTI is very high. Lenders may view this as a significant risk. Focus on paying down debt.";
}
}