DTI is calculated by dividing your total monthly debt payments by your gross monthly income, and then multiplying by 100 to get a percentage. The formula is: DTI = (Total Monthly Debt Payments / Gross Monthly Income) * 100.