Add up all your debt, and then add enough for your spouse or kids to not have to worry about finances for a good while after you're gone.
There are a lot of factors, but at least you have a good base through work.
A lot depends on your age, work situation, debt, career, earning potential, wife's earning potential, housing situation, available income to put toward life insurance, etc.