Your debt-to-income ratio (DTI) is the single most important factor in determining how much mortgage you can qualify for. It's the percentage of your gross monthly income that goes toward debt payments. Lenders use two DTI calculations — front-end (just housing) and back-end (all debts) — to assess whether you can comfortably handle the loan. Here's how it works.