The 20-10 rule makes a good "rule of thumb" for understanding how much credit you can afford.

The 20 refers to: never borrow more than 20 percent of your yearly net income (not including your housing or mortgage debt).  The 10 refers: monthly payments should not exceed 10 percent of your monthly net income.