We recently received a question from a woman who was trying to see if she could afford to take an early retirement package but wasn’t sure how much of her income she should budget for taxes. Too often people think about how much income they’ll need to maintain their standard of living without factoring in the impact of taxes. Overestimating taxes can lead you to delay your retirement unnecessarily. Even worse, underestimating taxes can potentially derail your retirement plans since you could end up with  a lot less income to spend than you planned for.

Unfortunately, this is one retirement expense that can be particularly difficult to estimate. That’s because taxes are not only a function of how much income you have but what kind of income and even what state you live in. Let’s take a look at how different potential sources of retirement income are taxed and how you might be able to reduce those taxes.

Home: If you decide to sell your home when you retire, $250k (or $500k if the home is owned by you and your spouse) of gain is tax-free as long as you lived in it for 2 out of the last 5 years. That means don’t rent it out for more than 3 years if you don’t want to pay taxes on a lot of gain when you sell.

Pension: If you’re fortunate enough to receive a pension, these are taxed as ordinary income, which means they’re taxed at progressive tax rates just like your salary but without the FICA portion. (The FICA amount for 2011 is 1.45% for Medicare and 5.65% on incomes up to $106,800 for Social Security so you can expect your after-tax pension income to be that much higher than the same amount of wages before taxes. )

There are a couple of traps to be aware of. If you take your pension while you’re still working, the extra income could push you into a higher tax bracket so you may want to delay your pension until you stop working. If you take part or all of your pension as a lump sum, you’ll have to pay taxes on the lump sum, which could also bump you into a higher tax bracket, plus possibly a 10% penalty. You can defer taxes by rolling the lump sum into another retirement plan like a 401(k) or IRA.

401(k) and IRA withdrawals: Withdrawals from traditional 401(k) and IRA accounts are also taxed as ordinary income  and can be subject to a 10% penalty if you’re under age 59 1/2. With a 401(k), one way you can avoid that 10% penalty is if you turn 55 or older the year you leave the company. If you qualify for that exception, you may not want to roll your 401(k) into an IRA for that reason until you reach 59 1/2.

Even if you don’t need to take withdrawals, you’ll be required to take minimum distributions each year starting when you turn age 70 1/2. The amounts are based on your life expectancy and are fully taxable. This is just the government’s way of making sure they get their cut.

With Roth accounts, the withdrawals are not considered taxable income as long as you’re over the age of 59 1/2 and the account has been open for at least 5 years. Even if you don’t meet those qualifications, you can still withdraw the sum of your contributions at any time and for any reason without tax or penalty. In either case, Roth withdrawals make the most sense in a year when your income tax bracket is higher than normal (like when you’re working). Otherwise, it’s best to delay them as long as possible and let those tax-free earnings accumulate.

You can convert your traditional retirement accounts into Roth accounts but you’ll have to pay a tax on whatever amount you convert. It’s generally not a good idea to convert if you have to take money from the account to cover the taxes or if you’ll be in a lower tax bracket when you eventually withdraw the money from the Roth. But since Roth IRAs aren’t subject to required minimum distributions (although Roth 401(k) accounts are) you may be able to save more in taxes over the long run if you can afford to pay the tax on the conversion with outside money.

Annuities. The first withdrawals are considered earnings, which are subject to ordinary income taxes plus possibly a 10% penalty if you’re under age 59 1/2. Once the earnings are all exhausted, the contributions not taxable when they’re withdrawn. If you annuitize it, the portion of your payments that are considered to be earnings are taxable.

Life Insurance Cash Value: Withdrawals of cash value are the opposite of annuities since they are considered to be nontaxable contributions first and then earnings taxable at ordinary rates. You can borrow from the cash value without paying any tax though.

Interest: Interest income from things like savings, CDs, and bonds outside your retirement plans is subject to ordinary income tax. Since these investments are taxed at the highest rate, they’re the first investments you want in your annuities and traditional retirement accounts. (You may want to hold the most aggressive investments in the Roth accounts since the earnings could be tax-free).

If you’re in a high tax bracket, you may also want to consider switching to federal tax-free municipal bonds and money market funds for non-retirement taxable accounts. By picking ones from your own state, you avoid high state income taxes as well.  Either way, just be aware that these carry higher risk of default than federal bonds and FDIC-insured bank accounts.

Dividends: Qualified stock dividends are currently taxed at a 15% rate if you’re in the 25% tax bracket or higher and a 0% rate if you’re in the 15% bracket or lower. However, they will be taxed at ordinary income tax rates of up to 39.6% starting in 2013. Unless the law is changed, you may want to hold high dividend-paying stocks and funds in your annuities and retirement accounts after next year.

Long-term Capital Gains: Gains on stocks and funds held for more than a year are taxed like qualified dividends (collectibles are taxed at 28% though). In 2013, the rate will go up to 10% if you’re in the 10 or 15% brackets and 20% if you’re in a higher bracket. Since these rates are lower than your ordinary income tax rates, you may want to hold long-term stocks outside your retirement plans. In addition, you can sell stocks at a loss at the end of the year, use the losses to offset other taxes, and then re-purchase the stocks after 60 days. You can also give away appreciated shares of stock instead of cash to avoid having to pay capital gains taxes on them.

Short-Term Capital Gains: On the other hand, stocks held for less than a year are taxable as regular income. It’s best to keep mutual funds that trade a lot in annuities and retirement plans for this reason.

Social Security: The amount of your Social Security that is taxable depends on your total amount of income. You can use this calculator to estimate how much of your Social Security will go to taxes. Two ways to reduce taxes on your Social Security benefits are to delay them until you’re no longer working and to avoid taking taxable retirement plan distributions while taking Social Security since both sources of income could cause a greater portion of your Social Security to be taxable.

Once you know how your sources of income are taxes, you can use this calculator to estimate how much federal income taxes you’ll have to pay. This will help you figure out whether you’ll have enough income after taxes to retire. The last thing you want is to have your retirement plans thrown off by a big tax bill in April.

From Forbes.com