Adjusting your asset allocation based on taxation may have significant unintended consequences. Tax rates change, tax brackets change, or your tax preferences may change. What was a logical tax location one year may turn out to be a poor choice a few years later. Consider the implications carefully.

If you have accounts with different tax treatment (taxable, traditional IRA or 401(k), Roth IRA or 401(k)), equal dollar amounts in those accounts have different after-tax values. Therefore, if you want to optimize the after-tax value of your portfolio, you should base your asset allocation on the after-tax value of the accounts.

The purpose of asset allocation is to design a portfolio with the desired level of expected return and risk. Returns and mathematical definitions of risk should be based on after-tax values, since the after-tax value is what you will be able to spend. Emotional definitions of risk should be based on how you perceive the risk.

### Returns

The goal of returns is to get the money you will spend to achieve your goal. If you have $100K in stock in a Roth and the stock market doubles in value, you have$100K more to spend in retirement. If you have $100K in stock in a traditional IRA, you have$100K more pre-tax but will lose some of the value to taxes upon withdrawal. If you have $100K in stock in a taxable account, the account will be worth less than$200K after the stock market doubles in value, because of taxes on dividends, and you will have even less to spend because you will pay tax on your capital gains.

### Mathematical risk

Mathematical risk is based on your need and ability to take risk. Your need to take risk is determined by the returns you require; if you need your portfolio to double in order to provide an adequate standard of living, you actually need it to double in after-tax value. Your ability to take risk is determined by the consequences of losses; losing $100K in your Roth IRA will reduce your standard of living (or require more additional savings to keep the same standard) by more than losing$100K in your traditional IRA or taxable account does.

### Emotional risk

Emotional risk is determined by how you will react to losses. If you pull out of the stock market after it falls, or you cannot sleep during a bear market, then your portfolio is too risky. In theory, the best way to handle emotional risk is the same as any other risk; if your portfolio software is set up to only present the after-tax value of your portfolio, then a $100K loss in an account taxed at 25% is only a$75K decrease in your bottom line. In practice, most investors will not be able to make these adjustments, particularly because the investment statements show dollar values.

There are two reasonable formulas for adjustment, based on the marginal and overall tax rates. The marginal rate is the correct rate to use for considering changes in the asset allocation (and thus for most tax-adjusted asset allocation), while the overall rate is correct for estimating the portfolio value or expected returns.

### Adjusting by the marginal rate

You should value your Roth at its full value, and reduce the value of your traditional IRA or 401(k) by your expected tax bracket at retirement (including state taxes if your state taxes these withdrawals, which varies by state). You should also reduce the value of your taxable account by about 25% if you are early in your career, and 15% if you are near or in retirement, plus state taxes; estimated values are necessary because the tax cost depends on how much you will have in capital gains.

If all of your IRA or 401(k) withdrawals will be in a 25% tax bracket when you retire, then 25% of your withdrawals from a traditional IRA or 401(k) will be lost to taxes. Therefore, it makes sense to assume that the IRS owns 25% of the account; whatever the gain or loss in nominal dollars, 75% will go to you and 25% to the IRS. In contrast, the IRS owns none of your Roth, which is tax-free.

## Consequences

### Asset location

Once you adjust for the after-tax value, it does not matter which assets you put in a traditional IRA or 401(k) and which you put in a Roth. If you are in a 25% tax bracket, investing $4,000 in the 401(k) or$3,000 in the Roth in the same investment will give you the same after-tax value.

If all else is equal (and it often isn't because of limited 401(k) options), it is slightly better to put assets with higher expected returns in the Roth. If your traditional account has lower than expected returns and you fall into a lower tax bracket, the IRS will not give back the same share of the losses; if your traditional account has higher than expected returns, the IRS will take a larger share of the gains. In the Roth, you get the same percentage (100%) of all gains and losses. In addition, the Roth is protected against potential changes in tax rates, has more flexible rules for required minimum distributions, and is not counted as income for making Social Security taxable.

It still does matter which assets you put in your taxable accounts; see Principles of tax-efficient fund placement for details.

### Roth conversions

You can evaluate a conversion of a traditional IRA to a Roth by its effect on your after-tax asset allocation. If you are in the same tax bracket now that you expect to be in at retirement, and you pay taxes on the conversion with IRA money (or with money you would have otherwise contributed to a 401(k) or IRA), the conversion is break-even. For example, if you are in a 25% tax bracket and convert a $40,000 IRA, you will have$30,000 in the Roth after paying taxes. Previously, you owned $30,000 of the IRA and the IRS owned the other$10,000; after conversion, you own the entire $30,000 in the Roth. In contrast, if you pay the taxes with taxable money, you have a net gain, and it may even be worth making the conversion if you are going to be in a slightly lower tax bracket at retirement. If you are in a 28% tax bracket but expect to retire in a 25% tax bracket, and have$11,200 in a taxable account and $40,000 in an IRA, you own 75% of the IRA and probably about 75% of the taxable account, a total of$38,400. If you convert to a Roth, paying the taxes with the taxable $11,200, you will have a Roth worth$40,000.

### The advantage of a Roth

If you can max out either a traditional or a Roth IRA or 401(k), you are likely to be better off with the Roth, because you effectively tax-defer more money. You can contribute the same number of dollars either way, but you own all of the Roth and not all of the traditional account.

Investing in the Roth in this situation is equivalent to investing in a traditional IRA and immediately converting it to a Roth, paying the tax with after-tax dollars. Therefore, if you are in a much higher tax bracket now than you will be in at retirement, the traditional account may still be better, but if the brackets will be equal or close, you should prefer the Roth.