Your total monthly income before taxes and deductions.
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 repay a new loan. Unlike your credit score, which measures your history of repayment, your DTI measures your current capacity to take on new debt.
Simply put, it compares how much you owe every month to how much you earn. A lower ratio indicates to lenders that you have a healthy balance between debt and income.
How DTI is Calculated
The formula for calculating your DTI is relatively straightforward:
It is important to note that "Gross Monthly Income" refers to your earnings before taxes and other deductions. Your debts include recurring monthly obligations such as:
Rent or mortgage payments (including taxes and insurance)
Car loan payments
Student loan payments
Minimum credit card payments
Child support or alimony
Expenses like groceries, utilities, and entertainment are not included in this calculation.
What is a Good DTI Ratio?
Lenders generally prefer lower ratios, but specific requirements vary by loan type:
35% or less: Considered excellent. You likely have manageable debt and money left over for savings.
36% to 43%: This is often the acceptable range for most conventional mortgages. You may still qualify for loans, but terms might not be the most favorable.
44% to 49%: You are entering a risky zone. Some lenders may only approve you for FHA loans or require additional reserves.
50% or higher: You may have difficulty finding a lender. It is highly recommended to pay down debt before applying for a mortgage.
Front-End vs. Back-End Ratio
In mortgage lending, you might hear about two different types of ratios:
Front-End Ratio: This only calculates your housing expenses (mortgage, HOA, taxes) divided by your income. Lenders typically look for 28% or lower.
Back-End Ratio: This includes your housing expenses plus all other recurring debts. This is the number our calculator above provides, and lenders typically cap this at 43% for qualified mortgages.
How to Lower Your DTI
If your DTI is higher than 43%, consider these steps before applying for a loan:
Increase your income: Pick up a side hustle or ask for a raise. Even a small increase in the denominator of the equation can help.
Pay off small debts: The "Snowball Method" can help eliminate monthly minimum payments, which directly reduces your total monthly debt load.
Refinance existing loans: Extending the term of a car loan or student loan can lower the monthly payment, thereby lowering your DTI (though you may pay more interest over time).
function calculateDTIRatio() {
// Get inputs by ID
var grossIncomeInput = document.getElementById('dti_gross_income');
var housingInput = document.getElementById('dti_housing');
var autoInput = document.getElementById('dti_auto');
var studentInput = document.getElementById('dti_student');
var cardsInput = document.getElementById('dti_cards');
var otherInput = document.getElementById('dti_other');
var resultDiv = document.getElementById('dti-result');
// Parse values, defaulting to 0 if empty or NaN
var income = parseFloat(grossIncomeInput.value) || 0;
var housing = parseFloat(housingInput.value) || 0;
var auto = parseFloat(autoInput.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) {
resultDiv.style.display = 'block';
resultDiv.className = 'dti-score-bad';
resultDiv.innerHTML = "Error: Please enter a valid monthly gross income greater than zero.";
return;
}
// Calculate Total Debt
var totalDebt = housing + auto + student + cards + other;
// Calculate Ratio
var dtiRatio = (totalDebt / income) * 100;
// Determine Status and Message
var statusClass = ";
var statusMessage = ";
var advice = ";
if (dtiRatio <= 35) {
statusClass = 'dti-score-good';
statusMessage = 'Excellent';
advice = 'Your debt load is very manageable. Lenders view you as a low-risk borrower.';
} else if (dtiRatio <= 43) {
statusClass = 'dti-score-warn';
statusMessage = 'Acceptable';
advice = 'You fall within the standard range for most mortgage lenders (Qualifying Mortgage limit is typically 43%).';
} else if (dtiRatio <= 49) {
statusClass = 'dti-score-warn';
statusMessage = 'High Risk';
advice = 'You may still qualify for FHA loans, but conventional lenders may decline your application.';
} else {
statusClass = 'dti-score-bad';
statusMessage = 'Critical';
advice = 'Your debt-to-income ratio is very high. It is recommended to pay down debt before applying for new credit.';
}
// Update Result HTML
resultDiv.style.display = 'block';
resultDiv.className = statusClass;
resultDiv.innerHTML =
'Total Monthly Debt: $' + totalDebt.toFixed(2) + '' +
'Your DTI Ratio is: ' + dtiRatio.toFixed(2) + '%' +
'Status: ' + statusMessage + '' +
" + advice + ";
}