HomeFinance › Debt-to-Income Ratio Calculator

Debt-to-Income Ratio Calculator

Computes the back-end debt-to-income ratio (all monthly debt payments including housing divided by gross monthly income) and the front-end ratio (housing payment alone), and compares them with the 28/36 guideline and the 43 % qualified-mortgage benchmark.

When to use

You want to check whether a proposed mortgage or other loan fits typical lender DTI limits, or how much monthly debt capacity remains.

Do not use when: You need to know how long it takes to pay a balance off (use debt-payoff), or the amount of a down payment (use down-payment).

Formula

back_end_dti = (Σ monthly_debts + other_monthly_debt + housing_payment) / gross_monthly_income × 100; front_end_dti = housing_payment / gross_monthly_income × 100

Bands follow common US underwriting practice: the 28/36 rule (housing ≤ 28 %, all debt ≤ 36 %) and the 43 % back-end cap of the original 2014 Qualified Mortgage rule; since 2021 the General QM definition uses a price-based test, but 43 % remains a widely used benchmark and Fannie Mae allows up to 50 % with compensating factors. Utilities, groceries and insurance are not debts.

Inputs

ParameterTypeUnitRequiredDescription
gross_monthly_incomenumberyesTotal pre-tax income per month (salary, bonuses, other verifiable income). Range: > 0, ≤ 100000000
monthly_debtsnumber_listnoMinimum monthly payments on non-housing debts: car loans, student loans, credit-card minimums, alimony. Omit if you use other_monthly_debt.
other_monthly_debtnumberdefault 0Additional non-housing debt payments not itemised in monthly_debts (or the whole total if you have it). Range: ≥ 0, ≤ 100000000
housing_paymentnumbernoProposed or current monthly housing cost: rent, or mortgage principal, interest, taxes, insurance and HOA (PITI). Enables the front-end ratio. Range: ≥ 0, ≤ 100000000

Outputs

OutputTypeUnitDescription
total_monthly_debt_paymentsnumberSum of monthly_debts + other_monthly_debt + housing_payment.
back_end_dti_percentnumber%total_monthly_debt_payments / gross_monthly_income × 100.
front_end_dti_percentnumber%housing_payment / gross_monthly_income × 100 (only when housing_payment is given).
assessmentstringBand of the back-end ratio: Good (≤ 36 %), Acceptable (36–43 %), High (43–50 %) or Very high (> 50 %).
max_housing_payment_at_28_percentnumber0.28 × gross_monthly_income (front-end guideline).
max_total_debt_at_36_percentnumber0.36 × gross_monthly_income (conservative back-end guideline).
max_total_debt_at_43_percentnumber0.43 × gross_monthly_income (qualified-mortgage benchmark).
remaining_capacity_at_43_percentnumbermax_total_debt_at_43_percent − total_monthly_debt_payments (negative when already above 43 %).

Example

6,000 income, debts 400/250/150, housing 1,500: {"gross_monthly_income":6000,"monthly_debts":[400,250,150],"housing_payment":1500}{"total_monthly_debt_payments":2300,"back_end_dti_percent":38.33,"front_end_dti_percent":25,"assessment":"Acceptable (36–43 %)","max_housing_payment_at_28_percent":1680,"max_total_debt_at_36_percent":2160,"max_total_debt_at_43_percent":2580,"remaining_capacity_at_43_percent":280}

8,000 income, 1,600 total debt, no housing given: {"gross_monthly_income":8000,"other_monthly_debt":1600}{"total_monthly_debt_payments":1600,"back_end_dti_percent":20,"assessment":"Good (≤ 36 %)","max_total_debt_at_43_percent":3440}

GET https://tttkmbb.com/api/v1/calculate/debt-to-income?gross_monthly_income=6000&monthly_debts=400%2C250%2C150&housing_payment=1500

Machine access

Sources

FAQ

Gross or net income?

Lenders use gross (pre-tax) income, so enter pay before taxes and deductions; using take-home pay overstates the ratio.

Which payments count as debt?

Recurring obligations that appear on a credit report or court order: loans, credit-card minimum payments, leases, child support. Utilities, phone plans, insurance and groceries are excluded.

Related calculators