What is a "good" amount of debt?

Go here and figure out how long it would take you to pay off that $40k, and how much of a bite it would take out of your earnings each month:

http://www.finaid.org/calculators/loanpayments.phtml