Calculate your DTI ratio to understand your borrowing power and financial health.
Monthly Income
Monthly Debt Payments
Your Debt-to-Income Ratio is:
0%
Breakdown:
Total Monthly Debt: $0
Total Monthly Income: $0
Understanding Your Debt-to-Income (DTI) Ratio
Your Debt-to-Income (DTI) ratio is a critical financial metric used by lenders to assess your ability to manage monthly payments and repay debts. It represents the percentage of your gross monthly income that goes toward paying your recurring debt obligations.
How is DTI Calculated?
The formula for DTI is straightforward: (Total Monthly Debt Payments / Gross Monthly Income) x 100.
In this calculation, "debts" typically include:
Rent or mortgage payments (including taxes and insurance)
Car loans and leases
Student loans
Minimum credit card payments
Personal loans
Court-ordered payments like alimony or child support
It generally does not include monthly expenses like groceries, utilities, gas, or taxes.
What is a Good DTI Ratio?
Lenders use different thresholds depending on the type of loan (mortgage, auto, personal), but generally:
35% or less: Considered excellent. You have a manageable level of debt relative to your income, making you a strong candidate for new credit.
36% to 43%: This is often the manageable range. You may still qualify for loans, but lenders might see you as a slightly higher risk. 43% is often the highest DTI a borrower can have to get a Qualified Mortgage.
44% to 49%: You are approaching a danger zone. You may struggle to find favorable loan terms, and financial stress is likely higher.
50% or higher: This is considered critical. More than half your income goes to debt, leaving little for savings or emergencies. Lenders will likely decline new loan applications.
Why Your DTI Matters for SEO and Financial Health
While DTI is a financial term, understanding it is key to personal finance management. A lower DTI indicates that you have a good balance between debt and income. If you are looking to buy a home, lowering your DTI is one of the most effective ways to improve your eligibility and secure a lower interest rate.
How to Lower Your DTI
If your ratio is too high, consider these strategies:
Increase your income: Take on freelance work, ask for a raise, or start a side hustle to increase the denominator in the equation.
Pay down debt: focus on the "Snowball" or "Avalanche" method to eliminate monthly obligations like credit cards or car loans.
Avoid new debt: Do not open new credit lines before applying for a major loan like a mortgage.
function calculateDTI() {
// 1. Get Input Values
// Using parseFloat to ensure we treat them as numbers. || 0 handles empty inputs.
var grossIncome = parseFloat(document.getElementById('grossIncome').value) || 0;
var rent = parseFloat(document.getElementById('rentPayment').value) || 0;
var car = parseFloat(document.getElementById('carPayment').value) || 0;
var student = parseFloat(document.getElementById('studentLoan').value) || 0;
var cc = parseFloat(document.getElementById('creditCard').value) || 0;
var personal = parseFloat(document.getElementById('personalLoan').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 zero.");
return;
}
// 3. Calculate Total Debt
var totalDebt = rent + car + student + cc + personal + other;
// 4. Calculate DTI Ratio
var dtiRatio = (totalDebt / grossIncome) * 100;
// 5. Determine Status Message and Color
var statusText = "";
var statusClass = "";
if (dtiRatio <= 35) {
statusText = "Excellent – You are in a great financial position.";
statusClass = "status-good";
} else if (dtiRatio <= 43) {
statusText = "Good – You are within the manageable range for most lenders.";
statusClass = "status-warn";
} else if (dtiRatio <= 49) {
statusText = "Concern – Your debt level is getting high.";
statusClass = "status-warn";
} else {
statusText = "Critical – You may have difficulty qualifying for new loans.";
statusClass = "status-bad";
}
// 6. Update UI
var resultSection = document.getElementById('dti-result-section');
var dtiDisplay = document.getElementById('dti-display');
var statusDisplay = document.getElementById('dti-status-text');
var debtDisplay = document.getElementById('total-debt-display');
var incomeDisplay = document.getElementById('total-income-display');
dtiDisplay.innerHTML = dtiRatio.toFixed(1) + "%";
// Remove old classes
statusDisplay.classList.remove('status-good', 'status-warn', 'status-bad');
// Add new class and text
statusDisplay.classList.add(statusClass);
statusDisplay.innerHTML = statusText;
debtDisplay.innerHTML = "$" + totalDebt.toLocaleString(undefined, {minimumFractionDigits: 2, maximumFractionDigits: 2});
incomeDisplay.innerHTML = "$" + grossIncome.toLocaleString(undefined, {minimumFractionDigits: 2, maximumFractionDigits: 2});
// Show result section
resultSection.style.display = "block";
// Change border color based on status
if(statusClass === 'status-good') {
resultSection.style.borderLeftColor = "#2ecc71";
} else if (statusClass === 'status-warn') {
resultSection.style.borderLeftColor = "#f39c12";
} else {
resultSection.style.borderLeftColor = "#e74c3c";
}
}