A debt to credit ratio is determined by how much available credit you have for use. If altogether you have 4 credit accounts, each with a $250 limit, then you have $1000 of available credit. If you have charged $500 across your cards, your debt to credit ratio is 50 percent.
If you close old accounts that don't have a balance, or that have a high limit, you can raise your debt to credit ratio. For example, if you closed the two accounts that you haven't charged anything on, your debt to credit ratio would rise from 50 percent to 100 percent.
A higher debt to credit ratio sends a signal to lenders that you are maxing out the cards and may not be living within your means. It makes lenders wary that you will be unable to pay the debt you have incurred. As a result, closing accounts raises a debt to credit ratio and this can lower your score. Most experts recommend that a debt to credit ratio is kept at about 30 percent, so keep those old cards open and just don't use them at all.