Your Debt-to-Income (DTI) ratio is a critical personal finance metric used by lenders to assess your ability to manage monthly payments and repay debts. It compares how much you owe each month to how much you earn before taxes. A lower DTI generally suggests sufficient income to handle new debt, making you a more attractive candidate for mortgages, auto loans, and credit cards.
Use the calculator below to determine your current DTI ratio. Enter your gross monthly income and your recurring monthly debt obligations.
DTI Ratio Calculator
Your total income before taxes and deductions.
Monthly Debt Obligations
Your Results
Total Monthly Debt:
DTI Ratio:
Interpretation:
function calculateDTI() {
var incomeInput = document.getElementById('dti-gross-income').value;
var mortgageInput = document.getElementById('dti-mortgage-rent').value;
var carInput = document.getElementById('dti-car-loans').value;
var cardsInput = document.getElementById('dti-credit-cards').value;
var studentInput = document.getElementById('dti-student-loans').value;
var otherInput = document.getElementById('dti-other-debt').value;
// Helper function to validate and parse numeric inputs
function parseInputVal(val) {
var parsed = parseFloat(val);
if (isNaN(parsed) || parsed < 0) {
return 0;
}
return parsed;
}
var grossIncome = parseInputVal(incomeInput);
var mortgage = parseInputVal(mortgageInput);
var car = parseInputVal(carInput);
var cards = parseInputVal(cardsInput);
var student = parseInputVal(studentInput);
var other = parseInputVal(otherInput);
var resultDiv = document.getElementById('dti-result');
var totalDebtSpan = document.getElementById('dti-total-debt-result');
var ratioSpan = document.getElementById('dti-ratio-result');
var statusSpan = document.getElementById('dti-status-result');
// Ensure results section is visible
resultDiv.style.display = 'block';
// Validation: Income must be greater than zero to calculate ratio
if (grossIncome <= 0) {
totalDebtSpan.innerHTML = "N/A";
ratioSpan.innerHTML = "Cannot Calculate";
statusSpan.innerHTML = "Please enter a Gross Monthly Income greater than zero.";
statusSpan.style.color = "red";
return;
}
// Calculate Total Monthly Debt
var totalMonthlyDebt = mortgage + car + cards + student + other;
// Calculate DTI Ratio
var dtiRatioDecimal = totalMonthlyDebt / grossIncome;
var dtiRatioPercent = (dtiRatioDecimal * 100).toFixed(1);
// Update results display
totalDebtSpan.innerHTML = "$" + totalMonthlyDebt.toLocaleString(undefined, {minimumFractionDigits: 2, maximumFractionDigits: 2});
ratioSpan.innerHTML = dtiRatioPercent + "%";
// Determine status based on general lender guidelines
var statusMessage = "";
var statusColor = "";
if (dtiRatioPercent 35 && dtiRatioPercent 43 && dtiRatioPercent <= 50) {
statusMessage = "High. You may face difficulties qualifying for a mortgage or may receive higher interest rates. Many lenders cap DTI at 43% for qualified mortgages.";
statusColor = "#fd7e14"; // Orange/Red
} else {
statusMessage = "Very High. Lenders will view you as a high-risk borrower. You may need to reduce debt or increase income before applying for major credit.";
statusColor = "#dc3545"; // Red
}
statusSpan.innerHTML = statusMessage;
statusSpan.style.color = statusColor;
}
Understanding How DTI is Calculated
The formula for calculating your Debt-to-Income ratio is relatively straightforward:
Healthcare costs (unless it's a fixed medical debt payment)
Example DTI Calculation
Let's look at an example of how a lender might calculate DTI for a prospective homebuyer.
Gross Monthly Income: $6,500
Monthly Debts:
Current Rent: $1,800
Auto Loan: $450
Credit Card Minimums: $200
Student Loan: $300
Total Monthly Debt: $2,750
The calculation would be: ($2,750 รท $6,500) = 0.423. Multiplied by 100, the **DTI ratio is 42.3%**. This falls into a range where obtaining a qualified mortgage might be possible, but it is near the typical limit of 43%.