Your debt - to - income ratio is calculated by taking your monthly liabilities (e.g. car loan payments) and dividing them by your gross (pre-tax) monthly income.
Not having a mix or variety of installment loans (e.g. debt with fixed payments like a carpayment) and revolving loans (like an unsecured credit card).