Difference between revisions of "User:Fyre4ce/Traditional versus Roth"
m (Keep same section title as current wiki, so posted links to that section will continue to work.) 
m (Removed "marginal savings rate" term) 

(2 intermediate revisions by the same user not shown)  
Line 2:  Line 2:  
It is a common investment decision whether to use a '''traditional or Roth account'''. You must make this decision if your employer offers both a traditional and [[401(k)#Roth 401(k) Roth 401(k)]], or when you can deduct a [[traditional IRA]] contribution or use a [[Roth IRA]], or when you consider leaving money in a traditional account or [[Roth IRA conversionconverting some to Roth]]. The better option is the one that gives you the most spendable income after all taxes are paid.  It is a common investment decision whether to use a '''traditional or Roth account'''. You must make this decision if your employer offers both a traditional and [[401(k)#Roth 401(k) Roth 401(k)]], or when you can deduct a [[traditional IRA]] contribution or use a [[Roth IRA]], or when you consider leaving money in a traditional account or [[Roth IRA conversionconverting some to Roth]]. The better option is the one that gives you the most spendable income after all taxes are paid.  
−  In a traditional retirement account such as a deductible [[traditional IRA]] or traditional [[401(k)]], your contributions are deductible, no tax is paid on account growth while the money remains in the account, and withdrawals are taxed as ordinary income. In a Roth retirement account such as a [[Roth IRA]] or [[401(k)#Roth 401(k) Roth 401(k)]], your contributions are not deductible, but all future growth and withdrawals are taxfree in retirement <ref>[https://www.irs.gov/pub/irspdf/p590b.pdf IRS Publication 590B: Distributions from IRAs]</ref> <ref>[http://www.irs.gov/RetirementPlans/RothComparisonChart IRS Roth Comparison Chart]</ref> The approach that incurs a lower [[marginal tax rate]] will provide you more spendable income.  +  In a traditional retirement account such as a deductible [[traditional IRA]] or traditional [[401(k)]], your contributions are deductible, no tax is paid on account growth while the money remains in the account, and withdrawals are taxed as ordinary income. In a Roth retirement account such as a [[Roth IRA]] or [[401(k)#Roth 401(k) Roth 401(k)]], your contributions are not deductible, but all future growth and withdrawals are taxfree in retirement <ref>[https://www.irs.gov/pub/irspdf/p590b.pdf IRS Publication 590B: Distributions from IRAs]</ref> <ref>[http://www.irs.gov/RetirementPlans/RothComparisonChart IRS Roth Comparison Chart]</ref> The approach that incurs a lower [[marginal tax rate]] will, in most cases, provide you more spendable income. Neither is inherently better, as either one may be a better investment choice in different situations. Here are some of the considerations. 
==General guidelines==  ==General guidelines==  
−  +  Considerations for [[Prioritizing investmentsprioritizing investments]] take precedence over any traditional versus Roth decisions:  
+  * If your employer matches 401(k) contributions, put enough to get the maximum match in the 401(k) before contributing to any IRA.  
+  * If you have inferior options in the 401(k), prefer an IRA to unmatched 401(k) contributions.  
−  +  If you have an estimate for your future marginal tax rate, prefer traditional when your current marginal rate is higher than that estimate, and prefer Roth when your current marginal rate is lower. The following general guidelines will help most investors make the correct traditional versus Roth decision in the absence of a more rigorous analysis:  
−  *  +  * Prefer traditional savings during higher earning years, and prefer Roth savings during lower earning years, such as during school and training, early in your career if you expect your income to rise, or during lowerincome years with disability, sabbatical, or parttime work. 
−  *  +  * Most investors benefit from having the majority of savings in traditional accounts. If you currently have little or no traditional savings, prefer traditional. 
+  * If you will have a traditional account or a pension large enough to meet your expected retirement expenses (and you expect to take that pension shortly after retiring), prefer a Roth.<ref>[http://thefinancebuff.com/mosttspparticipiantsshouldswitchtotherothtsp.html Most TSP Participants Should Switch To the Roth TSP] on [http://thefinancebuff.com The Finance Buff], 27 Feb 2012, retrieved 9 September 2012</ref>  
+  * If you are currently living in a hightax state and plan to retire to a lowertax or taxfree state, prefer traditional. If you currently live in a lowtax state and plan to retire to a hightax state, prefer Roth.  
+  * If you expect to leave your estate to heirs who will have a higher marginal tax rate than you, prefer Roth. If you expect them to have a lower marginal rate, prefer traditional.  
+  * Very high earners, who will be in or near the top tax bracket now and in retirement, should prefer Roth.  
+  * Both traditional and Roth are generally superior to nonqualified accounts ([[Taxable accounttaxable accounts]], [[Variable annuityvariable annuities]], etc.) for retirement savings, so maximize retirement account contributions before investing elsewhere.  
−  +  For similar reasons, you should perform [[Roth IRA conversionRoth conversions]] in lowincome years when your withdrawal tax rate will be relatively low. Examples include a year with a job loss, in retirement prior to receiving Social Security and a pension, and prior to large [[IRA distribution tablesRequired Minimum Distributions (RMDs)]] from a taxdeferred account.  
−  These guidelines apply to Roth  +  These guidelines apply to Roth and fully taxdeferred traditional investments. [[Nondeductible traditional IRANondeductible traditional IRA]] contributions are different and generally have lower performance; see that page for more details. 
−  +  ===Eligibility===  
−  +  Within [[Employer retirement plans overviewemployersponsored accounts]] ([[401(k)]], [[403(b)]], [[457(b)]]), the eligibility of traditional vs. Roth is unaffected by income.  
−  
−  ===  +  With IRAs, the eligibility of traditional vs. Roth ''is'' affected by income. While there is no income limit for ''contributions'' to a Traditional IRA, there is an [[Traditional_IRA#Contribution_Eligibility_and_Limitsincome limit]] for ''deducting'' the contributions, and thus getting the main tax benefit. Above that limit, and below the [[Roth_IRA#Contribution_Eligibility_and_Limits Roth IRA contribution income limit]], a Roth IRA is best IRA choice. Above the Roth IRA income contribution limit, one may choose either the [[Backdoor Roth IRA]], a [[Taxable accounttaxable account]], or a [[Nondeductible traditional IRANondeductible traditional IRA]]; see those pages for more details. 
+  
+  ==Calculation==  
+  The main reason to prefer one type of account over the other is the comparison of [[Marginal tax ratemarginal tax rates]].  
+  
+  ===Simple situation===  
For the same contribution amount and growth, the aftertax value is entirely determined by the marginal tax rate on contributions and withdrawals. You can calculate the amount you get after taxes as:<br />  For the same contribution amount and growth, the aftertax value is entirely determined by the marginal tax rate on contributions and withdrawals. You can calculate the amount you get after taxes as:<br />  
+  
<math>  <math>  
\begin{align}  \begin{align}  
Line 31:  Line 43:  
</math>  </math>  
−  The "Growth factor" can be calculated as (1 + r)^t, where ''r'' is the annual rate of return and ''t'' is the time in years.  +  The "Growth factor" can be calculated as (1 + r)^t, where ''r'' is the annual rate of return and ''t'' is the time in years. Because one may choose identical investments regardless of whether held in a traditional or Roth account, the "Growth factor" is the same in each case. 
If your marginal tax rate now (the "contribution tax rate") is higher than your marginal tax rate in retirement (the "withdrawal tax rate"), then the traditional account is better; if it is lower, then the Roth account is better.  If your marginal tax rate now (the "contribution tax rate") is higher than your marginal tax rate in retirement (the "withdrawal tax rate"), then the traditional account is better; if it is lower, then the Roth account is better.  
Line 37:  Line 49:  
When the withdrawal tax rate is the same as the contribution tax rate (a.k.a. the marginal tax rate that would be saved by a traditional contribution), thanks to the commutative property of multiplication (i.e., A * B * C = A * C * B) the traditional and Roth results are equal.  When the withdrawal tax rate is the same as the contribution tax rate (a.k.a. the marginal tax rate that would be saved by a traditional contribution), thanks to the commutative property of multiplication (i.e., A * B * C = A * C * B) the traditional and Roth results are equal.  
−  +  For more complicated situations involving [[#Maxing out your retirement accountscontributing the maximum to retirement accounts]], [[#Straddling bracketsmultiple tax brackets]], [[#Social Security benefitsSocial Security income]], the [[#Saver's creditSaver's credit]], refer to the various sections below.  
−  +  
−  #  +  ===Common misconceptions=== 
−  
−  
−  
−  
−  
−  
There are two common misconceptions, one that incorrectly favors traditional, and one that incorrectly favors Roth.  There are two common misconceptions, one that incorrectly favors traditional, and one that incorrectly favors Roth.  
The first misconception is sometimes described as "contributions are taken from the top tax rate and are withdrawn later at the average rate". In other words, that one saves a marginal rate when contributing but pays only an average rate (starting at 0% for the first dollar withdrawn) when withdrawing. Following is an example of why that is not true.  The first misconception is sometimes described as "contributions are taken from the top tax rate and are withdrawn later at the average rate". In other words, that one saves a marginal rate when contributing but pays only an average rate (starting at 0% for the first dollar withdrawn) when withdrawing. Following is an example of why that is not true.  
−  +  Consider a 50 year old who has already accumulated a $500,000 traditional balance. Even without any further contributions, that could reasonably double to $1 million by age 65. Taking a 4%/yr withdrawal then gives $40K/yr. Any traditional contributions at age 51 (or later) will increase the traditional balance at age 65, thus allowing more than $40K/yr withdrawal. The taxation on the amount above $40K/yr will occur at the marginal rate on that amount, not the effective rate on the total income.  
−  The second misconception is that "it's better to pay tax on the seed than the harvest." In other words, that it is better to pay a lesser tax amount now to make a Roth contribution, instead of a larger amount of tax later on a traditional withdrawal. This is not true because taking a  +  The second misconception is that "it's better to pay tax on the seed than the harvest." In other words, that it is better to pay a lesser tax amount now to make a Roth contribution, instead of a larger amount of tax later on a traditional withdrawal. This is not true, because taking a percentage of the "seed" is the same as letting the full seed grow and then taking the same percentage of the "harvest." The result will be the same in either case. The goal should not be to pay as little tax as possible. The goal should be to have as much money leftover after taxes as possible. Comparing marginal rates between contribution (or conversion now) and withdrawal in the future is the most direct way to achieve this goal. 
−  
−  Comparing marginal rates between contribution (or conversion now) and withdrawal in the future is the most direct way to achieve this goal.  
===Calculating marginal tax rate now===  ===Calculating marginal tax rate now===  
Line 61:  Line 65:  
Your marginal tax rate now is relatively easy to determine. It is not necessarily your tax bracket, because of phaseins and phaseouts of tax benefits (e.g., various credits and [[Taxation of Social Security benefits]]) and taxlike costs (e.g., [[Expected Family Contribution]] and Medicare premiums); see [[Marginal tax rate]] for a more detailed explanation, and [https://www.bogleheads.org/wiki/User:FiveK/Traditional_versus_Roth_examples Traditional versus Roth examples] for examples.  Your marginal tax rate now is relatively easy to determine. It is not necessarily your tax bracket, because of phaseins and phaseouts of tax benefits (e.g., various credits and [[Taxation of Social Security benefits]]) and taxlike costs (e.g., [[Expected Family Contribution]] and Medicare premiums); see [[Marginal tax rate]] for a more detailed explanation, and [https://www.bogleheads.org/wiki/User:FiveK/Traditional_versus_Roth_examples Traditional versus Roth examples] for examples.  
−  +  Your current marginal tax rate can be calculated by any of the following methods:  
+  *Using commercial tax software, prepare a dummy return with some small amount (eg. $100) of additional income added, and calculate the marginal rate as (change in tax due) divided by (change in income).  
+  *Use the [https://www.bogleheads.org/wiki/Tools_and_calculators#Personal_finance_toolbox Personal finance toolbox], which will provide answers in chart form.  
+  *Ask your accountant  
===Estimating future marginal tax rate===  ===Estimating future marginal tax rate===  
Line 69:  Line 76:  
You will need to estimate your taxable retirement income. Consider any expected changes in income over the course of your career. Certain careers are characterized by long periods of lowincome training followed by much higher earnings; other careers have early periods of high income followed by more uncertainty.  You will need to estimate your taxable retirement income. Consider any expected changes in income over the course of your career. Certain careers are characterized by long periods of lowincome training followed by much higher earnings; other careers have early periods of high income followed by more uncertainty.  
−  One approach (  +  One approach (based on [https://forum.mrmoneymustache.com/investoralley/investmentorder/msg1333153/#msg1333153 Investment Order]): 
−  # Estimate any guaranteed income  +  # Estimate any guaranteed retirement income, including pensions, royalties, and rental property and investment income. 
−  # Take current traditional balance and predict value at retirement (  +  # Take current traditional balance and predict value at retirement (using Excel's FV function or similar) a realistic inflationadjusted return (eg. 5% for a 75/25 stock/bond portfolio), including expected future investments. Take 4% of that value as an annual withdrawal. 
−  # Take current taxable balance and predict value at retirement (  +  # Take current taxable balance and predict value at retirement (using Excel's FV function or similar) using a realistic inflationadjusted return (eg. 3% for a 50/50 stock/[[Municipal bondsmunicipal bond]] portfolio), including expected future investments. Assume a realistic yield of taxable income (eg. 2% qualified dividends from stocks and taxfree yield from municipal bonds). 
−  # Decide whether  +  # Decide whether Social Security income should be considered. Social Security income is taxfree with little or no other income, and up to 85% taxable with substantial additional income. Include SS income projections if needed. 
# Calculate marginal rate on withdrawals from traditional accounts using today's tax law on the numbers from step 14.  # Calculate marginal rate on withdrawals from traditional accounts using today's tax law on the numbers from step 14.  
−  # Make your traditional vs. Roth decision for this year's contribution  +  # Make your traditional vs. Roth decision for this year's contribution. 
−  # Repeat steps 16 every  +  # Repeat steps 16 every few years, or when there are major changes to your situation, booms or busts in the market, and changes to the tax code. Through iterative adjustments, you can home in on the optimal answer as you near retirement. 
−  +  In general, most retirees have the same or lower marginal tax rate than when they were working, and thus should prefer a traditional account to a Roth of the same type. When you retire, you will only pay tax on income earned outside a retirement account, and on the money you actually withdraw. In addition, if any of your retirement spending comes from Roth accounts, it will not be taxed, and if it comes from taxable capital gains or [[Qualified dividendqualified dividends]], it will be taxed at a lower rate than your ordinary income. Therefore, you can spend the same amount but have less taxable income.  
−  +  If you currently have very little taxdeferred retirement savings, your calculated retirement tax rate will be very low, so you’ll get a big value by contributing more. In fact, due to the federal standard deduction, the first $13,850 or $27,000 you withdraw in retirement each year (assuming you're over age 65 at the time) should be taxfree. Assuming a 4% withdrawal rate, that corresponds to an account balance of $346,250 (= $13,850 / 4%) or $675,000 (= $27,000 / 4%) that can be accessed federally taxfree, and these figures should grow with inflation.  
−  
−  
−  
−  
−  
−  
−  +  As your taxdeferred balance rises, so will your expected tax rate, but as long as it’s less than your marginal tax rate now it still makes sense to contribute to taxdeferred accounts. If your expected retirement marginal tax rate ever reaches or exceeds your current marginal tax rate, and you still want to save more, then additional savings should be done in a Roth account.  
−  +  If the analysis is close, predicting the same or nearly the same tax rate between now and retirement, then the choice doesn't matter much, and it would be wise to mix traditional and Roth contributions, to take advantage of [[#Tax diversificationtax diversification]].  
===Example===  ===Example===  
−  A single investor earns $200,000 gross income  +  A single investor earns $200,000 gross income. He plans to retire in 25 years at age 65. He currently has $150,000 in traditional (taxdeferred) savings, expected to grow at 8% after fees, and assumes 3% inflation. He also has a $50,000 taxable account with an expected growth of 8%, a yield of 2%, and a dividend tax rate of 15%. He expects to contribute $19,000 to his 401(k) and $5,000 to his taxable account each year between now and retirement. He expects to take $3,000 per month inflationadjusted Social Security benefit immediately after retiring, and expects 85% of the income to be taxable. He does not expect any additional income in retirement. His 401(k) allows either traditional or Roth contributions; which should he be making? If he continues to make traditional contributions to the 401(k), his ''predicted'' retirement marginal tax rate could be calculated as follows: 
{ class="wikitable"  { class="wikitable"  
Line 100:  Line 101:  
! Taxable Income Source !! Excel Calculation !! Value  ! Taxable Income Source !! Excel Calculation !! Value  
    
−   Traditional Savings Withdrawals  =FV(8%3%,25,  +   Traditional Savings Withdrawals  =FV(8%3%,25,19000,150000) * 4%  $56,590.72 
    
−   Taxable Account Dividends  =FV(8%3%(2%*15%),25,  +   Taxable Account Dividends  =FV(8%3%(2%*15%),25,5000,50000) * 2%  $7,732.56 
    
−   Taxable Social Security Benefits  =3000*12*  +   Taxable Social Security Benefits  =3000*12*85%  $30,600.00 
    
 Single Standard Deduction  N/A  $13,850.00   Single Standard Deduction  N/A  $13,850.00  
    
−   Predicted Taxable Income  N/A  $  +   Predicted Taxable Income  N/A  $81,073.28 
}  }  
−  Under the current tax bracket structure, his future marginal rate with that income is predicted to be only 22  +  Under the current tax bracket structure, his future marginal rate with that income is predicted to be only 22%, and since his current marginal rate is 32%, he should prefer traditional contributions to Roth for the current year. He should repeat this analysis periodically, accounting for actual investment growth and tax law changes. 
−  
−  
−  
−  
−  
−  
−  
−  
−  
−  
−  
−  
−  
==Other tax considerations==  ==Other tax considerations==  
Line 152:  Line 140:  
Traditional accounts have the disadvantage of having [[IRA distribution tablesRequired Minimum Distributions (RMDs)]] begin at age 70.5. (Roth 401(k)'s have RMD's as well<ref>[https://www.irs.gov/retirementplans/planparticipantemployee/retirementtopicsrequiredminimumdistributionsrmds IRS list of accounts subject to RMDs]</ref>, but can easily be rolled over into a Roth IRA upon retirement<ref>[https://www.irs.gov/pub/irstege/rollover_chart.pdf IRS rollover chart]</ref>, and Roth IRA's do not have RMD's). RMD's are a reasonable percentage of the account balance, but if you expect to want to leave large IRAs as part of your estate and RMD's would hinder this goal, then prefer Roth contributions.  Traditional accounts have the disadvantage of having [[IRA distribution tablesRequired Minimum Distributions (RMDs)]] begin at age 70.5. (Roth 401(k)'s have RMD's as well<ref>[https://www.irs.gov/retirementplans/planparticipantemployee/retirementtopicsrequiredminimumdistributionsrmds IRS list of accounts subject to RMDs]</ref>, but can easily be rolled over into a Roth IRA upon retirement<ref>[https://www.irs.gov/pub/irstege/rollover_chart.pdf IRS rollover chart]</ref>, and Roth IRA's do not have RMD's). RMD's are a reasonable percentage of the account balance, but if you expect to want to leave large IRAs as part of your estate and RMD's would hinder this goal, then prefer Roth contributions.  
+  
+  ===Risk of shortfall===  
+  
+  Every investor has some level of risk of having a shortfall in savings when they reach retirement age, due to lower than expected contributions and/or investment underperformance. In the event of a shortfall, traditional savings have an advantage, because the lower tax rates on withdrawal will partially offset the shortfall.  
===Tax risk===  ===Tax risk===  
Line 168:  Line 160:  
===Employer match===  ===Employer match===  
−  If your employer matches 401(k) contributions, this is by far the best investment you can make, as it has an immediate return equal to the match rate. Therefore, regardless of the quality of your employer's plan, you should get the maximum match before investing anywhere else.  +  If your employer matches 401(k) contributions, this is by far the [[Prioritizing investmentsbest investment]] you can make, as it has an immediate return equal to the match rate. Therefore, regardless of the quality of your employer's plan, you should get the maximum match before investing anywhere else. 
If your employer offers both traditional and Roth accounts, any match goes to a traditional account, and the match is calculated without regard to whether your contribution is traditional or Roth. Therefore, if you cannot contribute enough to a Roth account to get the maximum match, then you should prefer traditional contributions because you can get a larger match for the same outofpocket (aftertax) cost.  If your employer offers both traditional and Roth accounts, any match goes to a traditional account, and the match is calculated without regard to whether your contribution is traditional or Roth. Therefore, if you cannot contribute enough to a Roth account to get the maximum match, then you should prefer traditional contributions because you can get a larger match for the same outofpocket (aftertax) cost.  
−  For example, assume you are in a 12% tax bracket and your employer will match 100% of your contributions up to $4,000, and you can only afford to contribute $3,000 outofpocket.  +  For example, assume you are in a 12% tax bracket and your employer will match 100% of your contributions up to $4,000, and you can only afford to contribute $3,000 outofpocket. By contributing $3,409 (= $3,000 / (1  12%)) to the traditional 401(k), your aftertax cost is the same as a $3,000 Roth contribution, but you get an additional $409 match. 
−  
−  By contributing $3,409 (= $3,000 / (1  12%)) to the traditional 401(k), your aftertax cost is the same as a $3,000 Roth contribution, but you get an additional $409 match.  
===Investment quality and fees===  ===Investment quality and fees===  
Line 253:  Line 243:  
====Example====  ====Example====  
−  A married couple earns $400,000 gross income and plans to retire in 30 years. They currently have $350,000 in  +  A married couple earns $400,000 gross income and plans to retire in 30 years. They currently have $350,000 in traditional (taxdeferred) savings, expected to grow at 9% after fees. They plan to contribute $75,000 total to their 401(k) accounts, $37,000 of which can be traditional only, and the remaining $38,000 can be either traditional or Roth. They also have a $50,000 taxable account, to which they expect to contribute $5,000 per year, with an expected growth of 8%, a yield of 2%, and a dividend tax rate of 15%. They expect to each receive a $3,000 per month inflationadjusted Social Security benefit, of which 85% will be taxable. They do not expect any additional income in retirement, from parttime work, investments income other than tax drag from the taxable account, rental properties, pensions, etc. Should they make traditional or Roth 401(k) contributions with their $38,000 per year? For fully traditional contributions, their ''predicted'' retirement marginal tax rate could be calculated as follows: 
{ class="wikitable"  { class="wikitable"  
Line 308:  Line 298:  
}  }  
−  By splitting the contribution, this couple can lower their total taxes by staying within the 24% bracket both now ''and'' in retirement. Note that this analysis is extremely imprecise; it depends on future contributions being made, investments performing as expected, and the tax code remaining the same, most of which are very unlikely to occur. However, current tax rates are wellknown, so if the optimum traditional contribution is close to a step down in marginal rate, it's usually a good idea to contribute just up to that step, then contribute the rest to Roth. In this case, a traditional contribution of '''$17,150''' is probably best, as it puts the couple's taxable income exactly at the 24%/32% bracket boundary at $321,450. They would therefore also contribute '''$20,850''' ($38,000  $17,150) to Roth  +  By splitting the contribution, this couple can lower their total taxes by staying within the 24% bracket both now ''and'' in retirement. Note that this analysis is extremely imprecise; it depends on future contributions being made, investments performing as expected, and the tax code remaining the same, most of which are very unlikely to occur. However, current tax rates are wellknown, so if the optimum traditional contribution is close to a step down in marginal rate, it's usually a good idea to contribute just up to that step, then contribute the rest to Roth. In this case, a traditional contribution of '''$17,150''' is probably best, as it puts the couple's taxable income exactly at the 24%/32% bracket boundary at $321,450. They would therefore also contribute '''$20,850''' ($38,000  $17,150) to Roth. 
===Maxing out your retirement accounts===  ===Maxing out your retirement accounts===  
Line 318:  Line 308:  
====Example====  ====Example====  
−  You are deciding between  +  You are deciding between traditional and Roth contributions in your 401(k), with a contribution limit of $19,000. Your marginal rate now is 24%, your marginal rate in retirement is predicted to be 22%, your tax rate on dividends and longterm capital gains are both 15%. Your investments in any account are expected to have annual capital growth of 6% and a yield of 2%, for 8% total return, compounding annually. You plan to withdraw the money in 25 years. If you invest in Roth, you can effectively contribute '''$25,000''' ($19,000 / (1  24%)) of pretax earnings, and your future aftertax value will be: 
<math>$25,000 \cdot (1  24%) \cdot (1 + 8%)^{25} = $19,000 \cdot (1 + 8%)^{25} = $130,121.03</math>  <math>$25,000 \cdot (1  24%) \cdot (1 + 8%)^{25} = $19,000 \cdot (1 + 8%)^{25} = $130,121.03</math>  
Line 345:  Line 335:  
If the analysis were repeated with a wider spread in tax rates (eg. 22% and 12%, or 32% and 24%) then Traditional would retain the advantage. It's also worth noting that the Traditional and taxable investments both retain more flexibility for the future. The Traditional investment may be later converted to Roth, and the taxable investment may be sold and withdrawn without penalty at any time.  If the analysis were repeated with a wider spread in tax rates (eg. 22% and 12%, or 32% and 24%) then Traditional would retain the advantage. It's also worth noting that the Traditional and taxable investments both retain more flexibility for the future. The Traditional investment may be later converted to Roth, and the taxable investment may be sold and withdrawn without penalty at any time.  
−  +  ====Breakeven withdrawal rate====  
−  
−  
−  
−  
−  
−  
−  
−  
−  
−  
−  +  See [https://www.bogleheads.org/forum/viewtopic.php?f=10&t=150516#p2773840 Roth 401(k) vs. 401(k) Spreadsheet Critique] for derivation details of the following formula.  
−  In the example case, the breakeven rate R = 24%  +  <math> 
+  \begin{align}  
+  d & = \text{annual return from dividends and interest (yield)} \\  
+  g &= \text{annual return from growth} \\  
+  i &= \text{total annual return (= g + d)} \\  
+  T &= \text{marginal tax rate for traditional contribution now} \\  
+  T1 &= \text{tax rate on dividends} \\  
+  T2 &= \text{tax rate on capital gains} \\  
+  e &= \text{annual taxable return, including tax effect (= i – d*T1)} \\  
+  n &= \text{number of years invested} \\  
+  e & = \text{annual taxable return (= i  d*T1)} \\  
+  f &= \text{effective capital gains tax rate, including added basis from dividends (= T2 * g / e)} \\  
+  R &= \text{breakeven tax rate at withdrawal (Roth favorable for withdrawal tax rate above this)} \\  
+  \end{align}  
+  </math>  
+  
+  <math>R = T \cdot \frac{(1 + e)^n * (1  f) + f}{(1 + i)^n}</math>  
+  
+  In the example case, the breakeven rate is calculated as follows:<br>  
+  
+  <math>R = 24% \cdot \frac{(1 + 7.7%)^{25} * (1  11.69%) + 11.69%}{(1 + 8%)^{25}} ~= 20.2%</math> <br>  
[[File:Maxing contribution comparison.PNG]]  [[File:Maxing contribution comparison.PNG]]  
−  +  
+  ===Very high earners===  
Very high earners, who will be at or near the top tax bracket during working years and retirement, should generally prefer Roth contributions for three reasons:  Very high earners, who will be at or near the top tax bracket during working years and retirement, should generally prefer Roth contributions for three reasons:  
Line 371:  Line 372:  
===Saver's credit===  ===Saver's credit===  
−  [[Saver's creditSaver's Credit]]<ref>[http://www.irs.gov/uac/GetCreditforYourRetirementSavingsContributions Get Credit for Your Retirement Savings Contributions], and [http://www.irs.gov/pub/irspdf/f8880.pdf IRS Form 8880: Credit for Qualified Retirement Savings Contributions]</ref> is effectively a match from the IRS on your retirement contributions if you have a relatively low income. The credit is given for contributions to either traditional or Roth accounts. However, there are two advantages which may make traditional contributions more attractive. If you cannot afford to contribute $  +  [[Saver's creditSaver's Credit]]<ref>[http://www.irs.gov/uac/GetCreditforYourRetirementSavingsContributions Get Credit for Your Retirement Savings Contributions], and [http://www.irs.gov/pub/irspdf/f8880.pdf IRS Form 8880: Credit for Qualified Retirement Savings Contributions]</ref> is effectively a match from the IRS on your retirement contributions if you have a relatively low income. The credit is given for contributions to either traditional or Roth accounts. However, there are two advantages which may make traditional contributions more attractive. If you cannot afford to contribute $2,000 to a Roth account, then you can contribute more to a traditional account for the same outofpocket cost to get a larger match. In addition, the credit is based on your adjusted gross income; contributions to a Traditional IRA or 401(k) reduce your adjusted gross income and may make you eligible for the credit, or for a larger credit. While qualifying for the Saver's credit, Traditional or Roth can be decided upon using the following analysis. 
−  +  <math>  
−  +  \begin{align}  
−  NI = Net Income (gross pay minus all deductions and tax) before accounting for traditional or Roth contributions  +  mtr_{T} &= \text{marginal tax rate for the traditional contribution} \\ 
−  R = Roth contribution  +  mtr_{R} &= \text{marginal tax rate for the Roth contribution} \\ 
−  +  NI &= \text{Net Income (gross pay minus all deductions and tax) before accounting for traditional or Roth contributions} \\  
−  T = traditional contribution  +  R &= \text{Roth contribution} \\ 
−  +  R_{sp} &= \text{spendable Roth amount in retirement} \\  
−  +  T &= \text{traditional contribution} \\  
+  T_{sp} &= \text{spendable traditional amount in retirement} \\  
+  mwr_{T=R} &= \text{withdrawal marginal tax rate for the traditional account that makes traditional and Roth results equivalent} \\  
+  \end{align}  
+  </math>  
−  For a fair comparison, the two take home pays must be equal  +  For a fair comparison, the two take home pays must be equal:<br> 
−  <math>Take\ home\ pay\ traditional\ = NI  T * (1   +  <math>Take\ home\ pay\ traditional\ = NI  T * (1  mtr_T)</math><br> 
−  <math>Take\ home\ pay\ Roth\ = NI  R * (1   +  <math>Take\ home\ pay\ Roth\ = NI  R * (1  mtr_R)</math><br> 
−  Equating them and solving for R or T we get  +  Equating them and solving for R or T we get: 
−  <math>R = T * (1   +  <math>R = T * (1  mtr_T) / (1  mtr_R)</math><br> 
−  <math>T = R * (1   +  <math>T = R * (1  mtr_R) / (1  mtr_T)</math> 
−  If  +  If <math>mr_R=0</math>, then those reduce to the familiar equations for equivalent Roth and traditional contributions. 
−  The equations for spendable amounts are  +  The equations for spendable amounts are: 
−  <math>  +  <math>R_{sp} = R \cdot (1+i)^n = T * (1  mr_T) / (1  mr_R) * (1+i)^n</math><br> 
−  <math>  +  <math>T_{sp} = T \cdot (1+i)^n * (1  mtr_{T=R})</math> 
−  Equating those and solving for  +  Equating those and solving for <math>mwr_{T=R}</math>, we get: 
−  <math>  +  <math>mwr_{T=R} = (mtr_T  mtr_R) / (1  mtr_R)</math> 
−  For example, take a single filer with $30K gross income. For that person, up to a $  +  For example, take a single filer with $30K gross income. For that person, up to a $2,000 contribution, <math>mtr_T = 22%</math> and <math>mtr_R = 10%</math>. 
−  
−  
−  For a $  +  For a $2,000 traditional contribution, the equivalent Roth contribution is <math>R = $2,000 \cdot (1  22%) / (1  10%) = $1733</math>. 
−  The withdrawal marginal tax rate for equivalent results is  +  The withdrawal marginal tax rate for equivalent results is <math>mwr_{T=R} = (22%  10%) / (1  10%) = 13.3%</math>. 
If one expects the actual withdrawal marginal tax rate will be less than 13.3%, traditional is better. If more than 13.3%, Roth is better.  If one expects the actual withdrawal marginal tax rate will be less than 13.3%, traditional is better. If more than 13.3%, Roth is better.  
−  ===Realworld example===  +  ===Realworld example with irregular marginal rates=== 
The methods described earlier in this article assume that one's marginal tax rate vs. contribution curve is either [https://en.wikipedia.org/wiki/Monotonic_function flat or decreasing], and one's marginal tax rate vs. withdrawal curve is flat or increasing. This behavior would be typical of a simple [[Progressive taxprogressive tax]] system. The US tax code, however, is not simple. Some credits, e.g., the [https://en.wikipedia.org/wiki/Earned_income_tax_credit Earned Income Tax Credit (EITC)] and the [[Saver's credit]], may apply only after a certain amount of low benefit contributions. Similarly, the [[Taxation of Social Security benefits]] may cause high rates on some portion of withdrawals, but past that portion the rates decrease.  The methods described earlier in this article assume that one's marginal tax rate vs. contribution curve is either [https://en.wikipedia.org/wiki/Monotonic_function flat or decreasing], and one's marginal tax rate vs. withdrawal curve is flat or increasing. This behavior would be typical of a simple [[Progressive taxprogressive tax]] system. The US tax code, however, is not simple. Some credits, e.g., the [https://en.wikipedia.org/wiki/Earned_income_tax_credit Earned Income Tax Credit (EITC)] and the [[Saver's credit]], may apply only after a certain amount of low benefit contributions. Similarly, the [[Taxation of Social Security benefits]] may cause high rates on some portion of withdrawals, but past that portion the rates decrease.  
Line 420:  Line 423:  
[[File:NonMonotonicMarginalRate2.pngframenoneTax Rate vs. 401k Contribution (negative values because tax decreases as contributions go up)]]  [[File:NonMonotonicMarginalRate2.pngframenoneTax Rate vs. 401k Contribution (negative values because tax decreases as contributions go up)]]  
−  Their marginal tax rate goes through regions of 22%, 43%, 33%, 31%, and 21%, and there is a $200 spike due to a change in the saver's credit tier from 10% to 20%  +  Their marginal tax rate goes through regions of 22%, 43%, 33%, 31%, and 21%, and there is a $200 spike due to a change in the saver's credit tier from 10% to 20%: 
* 22%: 12% bracket plus 10% saver's credit  * 22%: 12% bracket plus 10% saver's credit  
* 43%: 12% bracket plus 10% saver's credit plus 21% Earned Income Tax Credit phasein  * 43%: 12% bracket plus 10% saver's credit plus 21% Earned Income Tax Credit phasein  
Line 427:  Line 430:  
* 21%: 0% bracket plus 21% Earned Income Tax Credit phasein  * 21%: 0% bracket plus 21% Earned Income Tax Credit phasein  
−  ====  +  ====Method==== 
−  In order to capture the effect of the various peaks, valleys, and spikes,  +  In order to capture the effect of the various peaks, valleys, and spikes, the analysis should be performed instead with cumulative rates over a given interval, rather than the marginal rates. For example, even though the marginal tax rate is 43% for contributions between $1,500 and $2,000, this couple would have to contribute $1,500 at only 22% in order to achieve that benefit. A $2,000 401(k) contribution would result in a tax decrease of $543.83, for a cumulative tax rate of about 27% ($543.83 / $2,000). If the marginal tax rate on withdrawals is fixed, a simple method to optimize contributions is as follows: 
−  # Starting at a traditional contribution of $0, calculate the  +  # Starting at a traditional contribution of $0, calculate the cumulative tax rates ([total additional tax saved] / [total additional contribution]) for all contributions between the starting point and the maximum contribution (limited by either IRS rules, or how much you can afford to save). 
−  # Find the maximum  +  # Find the maximum cumulative rate and the corresponding contribution 
−  # If the maximum  +  # If the maximum cumulative rate is greater than your predicted marginal tax rate at withdrawals, make that traditional contribution. Then return to Step #1 with the starting $0 reset to the traditional contributions so far. If the contribution cumulative tax rate becomes lower than the expected withdrawal tax rate, contribute remaining retirement savings to Roth accounts. 
It may be helpful to use charts such as the example given here to understand these situations. One can download the [https://www.bogleheads.org/wiki/Tools_and_calculators#Personal_finance_toolbox Personal finance toolbox] Excel spreadsheet and use it for a wide variety of tax situations. Simply eyeballing the chart, it appears that somewhere between $13K and $14K would be the best traditional contribution. See below for more exact numbers.  It may be helpful to use charts such as the example given here to understand these situations. One can download the [https://www.bogleheads.org/wiki/Tools_and_calculators#Personal_finance_toolbox Personal finance toolbox] Excel spreadsheet and use it for a wide variety of tax situations. Simply eyeballing the chart, it appears that somewhere between $13K and $14K would be the best traditional contribution. See below for more exact numbers.  
−  ====  +  ====Analysis==== 
−  +  The married oneearner couple described above predict a 22% marginal tax rate in retirement. They can afford to save $10,000 after taxes to retirement accounts. How much should they contribute to traditional and Roth accounts?  
−  * Starting from $0 contribution, their maximum marginal savings rate is at a 401k contribution of '''$12,500''', just enough to reach the 20% Saver's credit tier. This contribution results in a total tax savings of '''$4,169''', for an incremental savings rate of '''~33.35%'''. This rate is higher than the expected marginal tax rate on withdrawals of 22%, and the aftertax cost of $8,331 ($12,500  $4,169) is less than the maximum, so contribute $12,500 to  +  * Starting from $0 contribution, their maximum marginal savings rate is at a 401k contribution of '''$12,500''', just enough to reach the 20% Saver's credit tier. This contribution results in a total tax savings of '''$4,169''', for an incremental savings rate of '''~33.35%'''. This rate is higher than the expected marginal tax rate on withdrawals of 22%, and the aftertax cost of $8,331 ($12,500  $4,169) is less than the maximum, so contribute $12,500 to traditional accounts and try another iteration. 
−  * Starting from $12,500 contribution, their maximum incremental savings rate is at an incremental contribution of '''$1,100''', resulting in an incremental tax savings of '''$342''', for an incremental savings rate of '''~31.1%''' ($342 / $1,100). This rate is still higher than the withdrawal tax rate, and the total aftertax cost is '''$9,089''' ($1,100  $342 + $8,331), so contribute an additional $1,100 to  +  * Starting from $12,500 contribution, their maximum incremental savings rate is at an incremental contribution of '''$1,100''', resulting in an incremental tax savings of '''$342''', for an incremental savings rate of '''~31.1%''' ($342 / $1,100). This rate is still higher than the withdrawal tax rate, and the total aftertax cost is '''$9,089''' ($1,100  $342 + $8,331), so contribute an additional $1,100 to traditional accounts and try another iteration. 
−  * The marginal rate for all  +  * The marginal rate for all traditional contributions beyond $13,600, up to the $19,000 IRS limit, is '''~21.06%'''. This is less than the marginal tax rate on withdrawals, so contribute no additional traditional money. Contribute the remaining '''$911''' ($10,000  $9,089) to Roth accounts. To maximize the saver's credit, the $911 should be contributed by the nonearning spouse. If both spouses are eligible for a 401k, having each contribute at least $2,000 will maximize the saver's credit, and then who contributes to the Roth doesn't matter. 
These steps can be summarized in the following table:  These steps can be summarized in the following table:  
Line 458:  Line 461:  
}  }  
−  The optimal retirement contributions for this couple are '''$13,600''' to  +  The optimal retirement contributions for this couple are '''$13,600''' to traditional accounts and '''$911''' to Roth. 
===Direct calculation method===  ===Direct calculation method===  
Line 468:  Line 471:  
# Calculate the total taxes due in retirement, and the aftertax value of investment withdrawals. The set of contributions with the highest aftertax value is best.  # Calculate the total taxes due in retirement, and the aftertax value of investment withdrawals. The set of contributions with the highest aftertax value is best.  
# The analysis should be repeated every year.  # The analysis should be repeated every year.  
−  
==Notes==  ==Notes== 
Revision as of 22:33, 22 July 2019
This user subpage is a work in progress article and currently isn't part of the Bogleheads wiki. It may or may not be incorporated into an article in the future. It should not necessarily be considered factual nor accurate. Please feel free to edit this page, or leave comments on its talk page. 
It is a common investment decision whether to use a traditional or Roth account. You must make this decision if your employer offers both a traditional and Roth 401(k), or when you can deduct a traditional IRA contribution or use a Roth IRA, or when you consider leaving money in a traditional account or converting some to Roth. The better option is the one that gives you the most spendable income after all taxes are paid.
In a traditional retirement account such as a deductible traditional IRA or traditional 401(k), your contributions are deductible, no tax is paid on account growth while the money remains in the account, and withdrawals are taxed as ordinary income. In a Roth retirement account such as a Roth IRA or Roth 401(k), your contributions are not deductible, but all future growth and withdrawals are taxfree in retirement ^{[1]} ^{[2]} The approach that incurs a lower marginal tax rate will, in most cases, provide you more spendable income. Neither is inherently better, as either one may be a better investment choice in different situations. Here are some of the considerations.
Contents
 1 General guidelines
 2 Calculation
 3 Other tax considerations
 4 Investment options
 5 Complex cases
 6 Notes
 7 References
 8 Further reading
 9 External links
General guidelines
Considerations for prioritizing investments take precedence over any traditional versus Roth decisions:
 If your employer matches 401(k) contributions, put enough to get the maximum match in the 401(k) before contributing to any IRA.
 If you have inferior options in the 401(k), prefer an IRA to unmatched 401(k) contributions.
If you have an estimate for your future marginal tax rate, prefer traditional when your current marginal rate is higher than that estimate, and prefer Roth when your current marginal rate is lower. The following general guidelines will help most investors make the correct traditional versus Roth decision in the absence of a more rigorous analysis:
 Prefer traditional savings during higher earning years, and prefer Roth savings during lower earning years, such as during school and training, early in your career if you expect your income to rise, or during lowerincome years with disability, sabbatical, or parttime work.
 Most investors benefit from having the majority of savings in traditional accounts. If you currently have little or no traditional savings, prefer traditional.
 If you will have a traditional account or a pension large enough to meet your expected retirement expenses (and you expect to take that pension shortly after retiring), prefer a Roth.^{[3]}
 If you are currently living in a hightax state and plan to retire to a lowertax or taxfree state, prefer traditional. If you currently live in a lowtax state and plan to retire to a hightax state, prefer Roth.
 If you expect to leave your estate to heirs who will have a higher marginal tax rate than you, prefer Roth. If you expect them to have a lower marginal rate, prefer traditional.
 Very high earners, who will be in or near the top tax bracket now and in retirement, should prefer Roth.
 Both traditional and Roth are generally superior to nonqualified accounts (taxable accounts, variable annuities, etc.) for retirement savings, so maximize retirement account contributions before investing elsewhere.
For similar reasons, you should perform Roth conversions in lowincome years when your withdrawal tax rate will be relatively low. Examples include a year with a job loss, in retirement prior to receiving Social Security and a pension, and prior to large Required Minimum Distributions (RMDs) from a taxdeferred account.
These guidelines apply to Roth and fully taxdeferred traditional investments. Nondeductible traditional IRA contributions are different and generally have lower performance; see that page for more details.
Eligibility
Within employersponsored accounts (401(k), 403(b), 457(b)), the eligibility of traditional vs. Roth is unaffected by income.
With IRAs, the eligibility of traditional vs. Roth is affected by income. While there is no income limit for contributions to a Traditional IRA, there is an income limit for deducting the contributions, and thus getting the main tax benefit. Above that limit, and below the Roth IRA contribution income limit, a Roth IRA is best IRA choice. Above the Roth IRA income contribution limit, one may choose either the Backdoor Roth IRA, a taxable account, or a Nondeductible traditional IRA; see those pages for more details.
Calculation
The main reason to prefer one type of account over the other is the comparison of marginal tax rates.
Simple situation
For the same contribution amount and growth, the aftertax value is entirely determined by the marginal tax rate on contributions and withdrawals. You can calculate the amount you get after taxes as:
The "Growth factor" can be calculated as (1 + r)^t, where r is the annual rate of return and t is the time in years. Because one may choose identical investments regardless of whether held in a traditional or Roth account, the "Growth factor" is the same in each case.
If your marginal tax rate now (the "contribution tax rate") is higher than your marginal tax rate in retirement (the "withdrawal tax rate"), then the traditional account is better; if it is lower, then the Roth account is better.
When the withdrawal tax rate is the same as the contribution tax rate (a.k.a. the marginal tax rate that would be saved by a traditional contribution), thanks to the commutative property of multiplication (i.e., A * B * C = A * C * B) the traditional and Roth results are equal.
For more complicated situations involving contributing the maximum to retirement accounts, multiple tax brackets, Social Security income, the Saver's credit, refer to the various sections below.
Common misconceptions
There are two common misconceptions, one that incorrectly favors traditional, and one that incorrectly favors Roth.
The first misconception is sometimes described as "contributions are taken from the top tax rate and are withdrawn later at the average rate". In other words, that one saves a marginal rate when contributing but pays only an average rate (starting at 0% for the first dollar withdrawn) when withdrawing. Following is an example of why that is not true.
Consider a 50 year old who has already accumulated a $500,000 traditional balance. Even without any further contributions, that could reasonably double to $1 million by age 65. Taking a 4%/yr withdrawal then gives $40K/yr. Any traditional contributions at age 51 (or later) will increase the traditional balance at age 65, thus allowing more than $40K/yr withdrawal. The taxation on the amount above $40K/yr will occur at the marginal rate on that amount, not the effective rate on the total income.
The second misconception is that "it's better to pay tax on the seed than the harvest." In other words, that it is better to pay a lesser tax amount now to make a Roth contribution, instead of a larger amount of tax later on a traditional withdrawal. This is not true, because taking a percentage of the "seed" is the same as letting the full seed grow and then taking the same percentage of the "harvest." The result will be the same in either case. The goal should not be to pay as little tax as possible. The goal should be to have as much money leftover after taxes as possible. Comparing marginal rates between contribution (or conversion now) and withdrawal in the future is the most direct way to achieve this goal.
Calculating marginal tax rate now
Your marginal tax rate now is relatively easy to determine. It is not necessarily your tax bracket, because of phaseins and phaseouts of tax benefits (e.g., various credits and Taxation of Social Security benefits) and taxlike costs (e.g., Expected Family Contribution and Medicare premiums); see Marginal tax rate for a more detailed explanation, and Traditional versus Roth examples for examples.
Your current marginal tax rate can be calculated by any of the following methods:
 Using commercial tax software, prepare a dummy return with some small amount (eg. $100) of additional income added, and calculate the marginal rate as (change in tax due) divided by (change in income).
 Use the Personal finance toolbox, which will provide answers in chart form.
 Ask your accountant
Estimating future marginal tax rate
Estimating your marginal tax rate in retirement is considerably harder than for today. For one, tax laws may change, and the further you are from retirement, the more likely this becomes. As a starting point, it makes sense to assume the current tax code will still be in place in retirement. But if you have strong feelings that taxes will go up or down in the future, you could make adjustments to these numbers. In any case, you should account for inflation by adjusting the investments' expected rates of return for the predicted inflation rate.
You will need to estimate your taxable retirement income. Consider any expected changes in income over the course of your career. Certain careers are characterized by long periods of lowincome training followed by much higher earnings; other careers have early periods of high income followed by more uncertainty.
One approach (based on Investment Order):
 Estimate any guaranteed retirement income, including pensions, royalties, and rental property and investment income.
 Take current traditional balance and predict value at retirement (using Excel's FV function or similar) a realistic inflationadjusted return (eg. 5% for a 75/25 stock/bond portfolio), including expected future investments. Take 4% of that value as an annual withdrawal.
 Take current taxable balance and predict value at retirement (using Excel's FV function or similar) using a realistic inflationadjusted return (eg. 3% for a 50/50 stock/municipal bond portfolio), including expected future investments. Assume a realistic yield of taxable income (eg. 2% qualified dividends from stocks and taxfree yield from municipal bonds).
 Decide whether Social Security income should be considered. Social Security income is taxfree with little or no other income, and up to 85% taxable with substantial additional income. Include SS income projections if needed.
 Calculate marginal rate on withdrawals from traditional accounts using today's tax law on the numbers from step 14.
 Make your traditional vs. Roth decision for this year's contribution.
 Repeat steps 16 every few years, or when there are major changes to your situation, booms or busts in the market, and changes to the tax code. Through iterative adjustments, you can home in on the optimal answer as you near retirement.
In general, most retirees have the same or lower marginal tax rate than when they were working, and thus should prefer a traditional account to a Roth of the same type. When you retire, you will only pay tax on income earned outside a retirement account, and on the money you actually withdraw. In addition, if any of your retirement spending comes from Roth accounts, it will not be taxed, and if it comes from taxable capital gains or qualified dividends, it will be taxed at a lower rate than your ordinary income. Therefore, you can spend the same amount but have less taxable income.
If you currently have very little taxdeferred retirement savings, your calculated retirement tax rate will be very low, so you’ll get a big value by contributing more. In fact, due to the federal standard deduction, the first $13,850 or $27,000 you withdraw in retirement each year (assuming you're over age 65 at the time) should be taxfree. Assuming a 4% withdrawal rate, that corresponds to an account balance of $346,250 (= $13,850 / 4%) or $675,000 (= $27,000 / 4%) that can be accessed federally taxfree, and these figures should grow with inflation.
As your taxdeferred balance rises, so will your expected tax rate, but as long as it’s less than your marginal tax rate now it still makes sense to contribute to taxdeferred accounts. If your expected retirement marginal tax rate ever reaches or exceeds your current marginal tax rate, and you still want to save more, then additional savings should be done in a Roth account.
If the analysis is close, predicting the same or nearly the same tax rate between now and retirement, then the choice doesn't matter much, and it would be wise to mix traditional and Roth contributions, to take advantage of tax diversification.
Example
A single investor earns $200,000 gross income. He plans to retire in 25 years at age 65. He currently has $150,000 in traditional (taxdeferred) savings, expected to grow at 8% after fees, and assumes 3% inflation. He also has a $50,000 taxable account with an expected growth of 8%, a yield of 2%, and a dividend tax rate of 15%. He expects to contribute $19,000 to his 401(k) and $5,000 to his taxable account each year between now and retirement. He expects to take $3,000 per month inflationadjusted Social Security benefit immediately after retiring, and expects 85% of the income to be taxable. He does not expect any additional income in retirement. His 401(k) allows either traditional or Roth contributions; which should he be making? If he continues to make traditional contributions to the 401(k), his predicted retirement marginal tax rate could be calculated as follows:
Taxable Income Source  Excel Calculation  Value 

Traditional Savings Withdrawals  =FV(8%3%,25,19000,150000) * 4%  $56,590.72 
Taxable Account Dividends  =FV(8%3%(2%*15%),25,5000,50000) * 2%  $7,732.56 
Taxable Social Security Benefits  =3000*12*85%  $30,600.00 
Single Standard Deduction  N/A  $13,850.00 
Predicted Taxable Income  N/A  $81,073.28 
Under the current tax bracket structure, his future marginal rate with that income is predicted to be only 22%, and since his current marginal rate is 32%, he should prefer traditional contributions to Roth for the current year. He should repeat this analysis periodically, accounting for actual investment growth and tax law changes.
Other tax considerations
State taxes
Consider state taxes as well as federal taxes in your tax rate comparisons, both for the state you live in and for the state you expect to retire in.
Some states do not allow deductions for traditional account contributions, or only allow them for some types of contributions (New Jersey, for example, allows deductions for 401(k) but not 403(b) or IRA contributions); if you live in such a state, the Roth has an advantage. If your state allows a deduction but you might retire in a state which has no tax or will not tax your Traditional IRA withdrawals, then the Traditional IRA has a potential advantage; conversely, if your state has no income tax but you might retire in a state which taxes Traditional IRA withdrawals, the Roth has a potential advantage.
Estate planning
For those planning on leaving a significant estate to their heirs, multigenerational affects should be considered. For example, if you are a high earner in the 32% tax bracket, and expect to be throughout retirement, but your heirs are lower earners in the 12% tax bracket, you should prefer Traditional contributions  your heirs will receive a larger inheritance after tax. Likewise, if you are in a lower tax bracket than your heirs, you should prefer to contribute to Roth accounts. If you plan to bequeath assets to a taxexempt charity, that bequest should be from a Traditional account as opposed to a Roth, because neither you nor the charity will pay taxes on the funds, and the charity will receive a larger donation.
The federal estate tax exemption, $11.4M for individuals and $22.8M^{[4]} for married couples as of 2019, applies regardless of whether the accounts being bequeathed are traditional or Roth. Because Roth dollars are worth more than traditional dollars, investors who expect to be close to the estate tax exemption limit should prefer Roth investments, and/or perform Roth conversions to get their estate value under the exemption. Even if there is a marginal tax rate disadvantage, your heirs will likely receive more after taxes by avoiding double taxation.
Opportunity to convert later
If you contribute to a traditional IRA, you can convert to a Roth IRA in a later year. If you contribute to a traditional 401(k) and leave your employer, you can roll the 401(k) into a traditional IRA and then convert it later, or roll it directly to a Roth IRA. Your income (and therefore marginal tax rate) might be lower in a year when you separate from an employer. In either case, you may come out ahead if you can convert in a lower tax bracket, because you pay the taxes in the year of conversion instead of the year of contribution.
This increases the benefit from using traditional accounts when you retire in a low tax bracket. If you retire in a 12% tax bracket before taking Social Security, and don't need the whole 12% tax bracket for living expenses, you can convert part of your Traditional IRA to a Roth at 12%, reducing the amount you will have in the IRA when you start taking Social Security.
But if you expect to retire in the same tax bracket, this is not a significant extra advantage for the traditional accounts. If you are usually in a 22% tax bracket and retire in a 22% tax bracket but happen to have some years in a 12% bracket (large deductions, unemployed part of the year, one spouse takes off from work or works parttime to care for children), you can convert up to the top of the 12% bracket in those years, and you can make those conversions from any traditional accounts you have, whether or not you have Roth accounts.
Required Minimum Distributions
Traditional accounts have the disadvantage of having Required Minimum Distributions (RMDs) begin at age 70.5. (Roth 401(k)'s have RMD's as well^{[5]}, but can easily be rolled over into a Roth IRA upon retirement^{[6]}, and Roth IRA's do not have RMD's). RMD's are a reasonable percentage of the account balance, but if you expect to want to leave large IRAs as part of your estate and RMD's would hinder this goal, then prefer Roth contributions.
Risk of shortfall
Every investor has some level of risk of having a shortfall in savings when they reach retirement age, due to lower than expected contributions and/or investment underperformance. In the event of a shortfall, traditional savings have an advantage, because the lower tax rates on withdrawal will partially offset the shortfall.
Tax risk
If all else is equal (that is, you expect to retire in the same bracket, and never to have the opportunity to convert in a lower bracket), the Roth account has a slight advantage because there is less tax risk. You might not retire with the same marginal tax rate that you expect, either because tax rates change or because your taxable income is higher or lower.
Another risk for MFJ filers is the death of one spouse, leaving the survivor with single filing status and its higher marginal rates. This risk would be mitigated if the spouse's death substantially reduced household expenses.
Tax diversification
Tax Diversification is the principle that having assets spread across different kinds of accounts (Traditional, Roth, taxable, etc). The further you are from retirement, the harder it is to predict what tax law will be. By diversifying between current and future tax rates, you effectively provide yourself insurance against large tax rate changes (up or down). Also, it may be the case that there will be certain steep phaseouts, or "bumps" in marginal rates in the future (eg. the current Social Security taxation bumps), and having the flexibility to control your taxable income to some degree might allow you to better optimize around future tax laws. Conversely, if you only have Traditional investments, you will be required to withdraw RMD's or whatever you need to live on, and pay whatever tax results. Even if the Traditional vs. Roth analysis described above favors one type or the other, there is a potential advantage to having a mix.
Investment options
You may have different investment options in traditional and Roth accounts. If your employer offers a Traditional 401(k) but not a Roth 401(k), then you must use Traditional accounts if you invest in the 401(k). If you are over the income limit for a deductible Traditional IRA, then you must use a Roth account if you invest in an IRA (a nondeductible IRA cannot be better than either a deductible or Roth account). The choice of account, or benefits within the account, may be more important than the different tax treatment of traditional and Roth accounts.
Employer match
If your employer matches 401(k) contributions, this is by far the best investment you can make, as it has an immediate return equal to the match rate. Therefore, regardless of the quality of your employer's plan, you should get the maximum match before investing anywhere else.
If your employer offers both traditional and Roth accounts, any match goes to a traditional account, and the match is calculated without regard to whether your contribution is traditional or Roth. Therefore, if you cannot contribute enough to a Roth account to get the maximum match, then you should prefer traditional contributions because you can get a larger match for the same outofpocket (aftertax) cost.
For example, assume you are in a 12% tax bracket and your employer will match 100% of your contributions up to $4,000, and you can only afford to contribute $3,000 outofpocket. By contributing $3,409 (= $3,000 / (1  12%)) to the traditional 401(k), your aftertax cost is the same as a $3,000 Roth contribution, but you get an additional $409 match.
Investment quality and fees
Many 401(k) plans, and even more retirement plans of other types such as 403(b) plans, have inferior investment options. If you invest in highcost funds in a 401(k), you will usually lose more to the high costs than you can gain from any tax difference between the 401(k) and IRA. Some plans have only highcost options; in such a plan it is better to max out your IRA (Traditional or Roth) before making unmatched contributions to the 401(k). Other plans have some lowcost options, but have no options or highcost options in some asset classes; in such a plan, you should prefer to invest enough in an IRA (Traditional or Roth) to cover the asset classes with no good option in the 401(k). Once your IRA is maxed out, it is usually worth contributing even to a bad 401(k). Conversely, some retirement plans, such as the Thrift Savings Plan, have better options than are available to retail investors in IRAs. If you have such a plan, you may prefer that plan to an IRA, even at a tax cost. Investment quality and tax considerations can be combined into the same calculation, by using the Growth_factor in addition to the marginal tax rates.
Example
You can either contribute $5,000 pretax earnings to a Traditional 401(k) or a Roth IRA. Your marginal tax rate is 22% now, predicted to be 12% in retirement. The investment is expected to grow at 8% before fees in either case, but the Traditional 401(k) charges a 1.00% expense ratio, and the Roth IRA charges a 0.04% expense ratio. Either investment would be withdrawn in 20 years. The future aftertax values of the two investments will be as follows:
 Traditional 401(k): $5,000 * (1 + 8%  1%)^20 * (1  12%) = $17,026.61
 Roth IRA: $5,000 * (1 + 8%  0.04%)^20 * (1  22%) = $18,043.56.
Assuming the investments are held for the full 20 year term, the fees in the 401(k) outweigh the tax savings, and the Roth IRA is a superior investment. However, the tax savings from the Traditional contribution is immediate, whereas the fees reduce performance gradually over time. In this circumstance, if you expected to separate from your employer well before the 20 year term, you could roll the 401(k) into either a lowexpense Traditional IRA, or the 401(k) at your new employer. Depending on how long the money remained in the highexpense 401(k), you might come out ahead contributing to the 401(k) now.
Complex cases
Social Security benefits
One important exception is the phasein of taxation of Social Security benefits. If you are in the phasein range, you may experience a marginal rate in retirement of 22.2% or 40.7% despite being in the 12% or 22% brackets. The 22.2% "bump" affects Social Security recipients with annual Social Security benefits less than $18,236 (Single) or $51,118 (Married Filing Jointly), and the 40.7% bump affects those receiving more than these values. See the main article for more details on where these formulas come from, and for useful visualizations of the phasein effects. As a function of annual Social Security benefit (SS), the 22.2% bump begins and ends at the following levels of income from other sources:
Filing Status  22.2% Bump Begins  22.2% Bump Ends 

Single  $34,000  0.5 * SS  $28,706 + 0.5 * SS 
Married Joint  $42,054  0.2297 * SS  $36,941 + 0.5 * SS 
As a function of annual Social Security benefit (SS), the 40.7% bump begins and ends at the following levels of income from other sources:
Filing Status  40.7% Bump Begins  40.7% Bump Ends 

Single  $42,014  0.2297 * SS  $28,706 + 0.5 * SS 
Married Joint  $74,243  0.2297 * SS  $36,941 + 0.5 * SS 
The 40.7% bump is more abrupt, because it's bracketed by 22.2% below and 22% above. The 22.2% bump is bracketed by 18% below and 12% above. If you are reasonably close (1015 years or less) to retirement and are in the benefits and income range where you may be affected by either bump, you should try to either come in under the bump, or go far above it, depending on which option is easier. For those making Traditional contributions, switching to Roth to lower taxable income in retirement might be the easiest option.
Example
A single investor, age 55, earns $80,000 gross income and has a marginal tax rate of 22%. He plans to retire in 10 years. He currently has $650,000 in Traditional (taxdeferred) savings, expected to grow at 6% after fees, and has been making $12,000 annual contributions. He has no significant taxable investments. He expects to receive a $2,500 per month inflationadjusted Social Security benefit starting upon retirement at age 65. He does not expect any additional income in retirement, from parttime work, investments income, rental properties, pensions, etc. His 401(k) allows either Traditional or Roth contributions; which should he be making? Assuming that roughly 50% of his Social Security benefit is taxable, his predicted retirement marginal tax rate could be calculated as follows:
Taxable Income Source  Excel Calculation  Value 

Traditional Savings Withdrawals  =FV(6%3%,10,12000,650000) * 4%  $40,444.49 
Taxable Social Security Benefits  =2500*12*50%  $15,000.00 
Single Standard Deduction  N/A  $13,850.00 
Predicted Taxable Income  N/A  $41,594.49 
By inspection of just the tax bracket structure, his future marginal rate would be 22%, the same as today, so it would seem that Traditional and Roth contributions would be equally valuable. His future income would be only slightly above the start of the 22% bracket ($39,475), so he might choose to favor Traditional in case his predictions were off. However, the picture changes when considering Social Security taxation. Because he receives more than $18,236 annual benefit, he is susceptible to the 40.7% bump. Using the above formulas, the bump begins and ends at the following levels of other income:
40.7% Bump  Calculation  Value 

Begins  $42,014  0.23 * $30,000  $35,122 
Ends  $28,706 + 0.5 * $30,000  $43,706 
Unfortunately, his $40,444 Traditional withdrawals put him right in the middle of the 40.7% bump. If he instead contributes $10,000 per year to his 401(k) as Roth for the next 10 years, his future income from Traditional accounts will be reduced to $34,942 (=FV(6%3%,10,0,650000)*4%), keeping him below the 40.7% bump. He will still be in the 85% phasein range for Social Security, but will be in the 12% bracket, so his marginal tax rate in retirement will be 22.2% (12% * (1 + 85%)). Roth contributions are by far the better choice.
Straddling brackets
Note that the marginal tax rates now and in the future can be affected by the amount contributed to Traditional accounts. For example, contributing the full $19,000 to a Traditional 401(k) might bring an investor down from the 32% bracket into the 24% bracket. Likewise, contributing more to Traditional accounts might raise the predicted future marginal tax rate such that it might cross into a higher bracket. In these cases, the Traditional vs. Roth analysis should be done for each dollar invested; contributions can be divided in any proportion. The higher the investment performance, longer the time horizon, and higher the contribution limit to Traditional accounts, the more likely straddling becomes.
Example
A married couple earns $400,000 gross income and plans to retire in 30 years. They currently have $350,000 in traditional (taxdeferred) savings, expected to grow at 9% after fees. They plan to contribute $75,000 total to their 401(k) accounts, $37,000 of which can be traditional only, and the remaining $38,000 can be either traditional or Roth. They also have a $50,000 taxable account, to which they expect to contribute $5,000 per year, with an expected growth of 8%, a yield of 2%, and a dividend tax rate of 15%. They expect to each receive a $3,000 per month inflationadjusted Social Security benefit, of which 85% will be taxable. They do not expect any additional income in retirement, from parttime work, investments income other than tax drag from the taxable account, rental properties, pensions, etc. Should they make traditional or Roth 401(k) contributions with their $38,000 per year? For fully traditional contributions, their predicted retirement marginal tax rate could be calculated as follows:
Taxable Income Source  Excel Calculation  Value 

Traditional Savings Withdrawals  =FV(9%3%,30,75000,350000) * 4%  $317,583.44 
Taxable Account Tax Drag  =FV(8%3%(2%*15%),30,5000,50000) * 2%  $10,278.00 
Taxable Social Security Benefits  =3000*12*2*85%  $61,200.00 
Married Standard Deduction  N/A  $24,400.00 
Predicted Taxable Income  N/A  $364,661.44 
Assuming the current tax system remains in effect, their future marginal rate is predicted to be 32%. Their current marginal tax rate with full Traditional contributions would be 24% (taxable income = $400,000  $37,000  $38,000  $24,400 = $300,600). It appears as though they should prefer Roth contributions.
However, if the calculation is run assuming 100% Roth contributions, the result is different:
Taxable Income Source  Excel Calculation  Value 

Traditional Savings Withdrawals  =FV(9%3%,30,37000,350000) * 4%  $197,414.99 
Taxable Account Tax Drag  =FV(8%3%(2%*15%),30,5000,50000) * 2%  $10,278.00 
Taxable Social Security Benefits  =3000*2*12*85%  $61,200.00 
Married Standard Deduction  N/A  $24,400.00 
Predicted Taxable Income  N/A  $244,492.99 
Their future marginal rate would therefore be only 24%, and their current marginal rate with full Roth contributions would be 32% (taxable income = $400,000  $37,000  $24,400 = $338,600), the opposite of before. The optimal solution is to split contributions between Traditional and Roth contributions. For simplicity, we can check six possible proportions, although in practice, spreadsheet or optimization software could automate this calculation to be more precise:
Traditional Contribution  Roth Contribution  Taxable Income Now  Taxable Income Future  Marginal Rate Now  Marginal Rate Future  Result 

$0  $38,400  $338,600  $244,492.99  32%  24%  Too much Roth 
$7,600  $30,400  $331,000  $268,526.68  32%  24%  Too much Roth 
$15,200  $22,800  $323,400  $292,560.37  32%  24%  Too much Roth 
$22,800  $15,200  $315,800  $316,594.06  24%  24%  Close to Optimal 
$30,400  $7,600  $308,200  $340,627.75  24%  32%  Too much Traditional 
$38,000  $0  $300,600  $364,661.44  24%  32%  Too much Traditional 
By splitting the contribution, this couple can lower their total taxes by staying within the 24% bracket both now and in retirement. Note that this analysis is extremely imprecise; it depends on future contributions being made, investments performing as expected, and the tax code remaining the same, most of which are very unlikely to occur. However, current tax rates are wellknown, so if the optimum traditional contribution is close to a step down in marginal rate, it's usually a good idea to contribute just up to that step, then contribute the rest to Roth. In this case, a traditional contribution of $17,150 is probably best, as it puts the couple's taxable income exactly at the 24%/32% bracket boundary at $321,450. They would therefore also contribute $20,850 ($38,000  $17,150) to Roth.
Maxing out your retirement accounts
The IRS sets a maximum contribution to retirement accounts. If you have reached this maximum, anything else you contribute must be in a taxable account that will (if you pay more than 0% on annual earnings or capital gains) lose money to taxes not incurred in either a Traditional or Roth account. The IRS contribution limits do not distinguish between Traditional (pretax) and Roth (aftertax) accounts. Because aftertax money is worth more than pretax money, Roth accounts effectively allow you to contribute more than Traditional accounts. For example, if your marginal tax rate is 32%, a $19,000 Roth 401(k) contribution will taxshelter $27,941.18 ($19,000 / (1  32%)) of pretax earnings, whereas a Traditional 401(k) contribution can only taxshelter $19,000. A fair comparison between Roth and Traditional contributions when at a fixeddollar limit must therefore also take into account the performance of the remaining money in a taxable account. The aftertax amount invested in the taxable account is simply the tax savings from the traditional contribution, in this case $6,080.00 ($19,000 * 32%). The future aftertax values of the Traditional account plus the taxable account can then be compared to the Roth account.
The equivalent conversion decision would be to convert a $19,000 traditional IRA to a Roth IRA, paying the $5320 tax with money that would otherwise have been invested in a taxable account.
Example
You are deciding between traditional and Roth contributions in your 401(k), with a contribution limit of $19,000. Your marginal rate now is 24%, your marginal rate in retirement is predicted to be 22%, your tax rate on dividends and longterm capital gains are both 15%. Your investments in any account are expected to have annual capital growth of 6% and a yield of 2%, for 8% total return, compounding annually. You plan to withdraw the money in 25 years. If you invest in Roth, you can effectively contribute $25,000 ($19,000 / (1  24%)) of pretax earnings, and your future aftertax value will be:
If you invest $19,000 in Traditional, your future Traditional aftertax value will be:
In addition, you will invest the remaining $4,560 tax savings ($19,000 * 24%) in a taxable account. After 25 years, the value of the taxable investment will grow to:
The basis of this investment will be:
When sold, the future aftertax value of the investment will be:
Finally, we compare the two results and see that the Roth investment has an advantage, despite having an apparent disadvantage due to the higher marginal tax rate now:
 Roth = $130,121.03
 Traditional + taxable = $101,494.40 + $26,259.19 = $127,753.59
If the analysis were repeated with a wider spread in tax rates (eg. 22% and 12%, or 32% and 24%) then Traditional would retain the advantage. It's also worth noting that the Traditional and taxable investments both retain more flexibility for the future. The Traditional investment may be later converted to Roth, and the taxable investment may be sold and withdrawn without penalty at any time.
Breakeven withdrawal rate
See Roth 401(k) vs. 401(k) Spreadsheet Critique for derivation details of the following formula.
In the example case, the breakeven rate is calculated as follows:
Very high earners
Very high earners, who will be at or near the top tax bracket during working years and retirement, should generally prefer Roth contributions for three reasons:
 The main benefit of traditional contributions  saving taxes at a higher rate now and paying a lower rate at withdrawal  disappears when you are in the top tax bracket now and in retirement.
 Higher tax rates, including the Net Investment Income Tax (NIIT), degrade the longterm performance of taxable investments, shifting the balance of "Roth vs. traditional + taxable" in favor of Roth for those who contribute the maximum to retirement accounts.
 Investors with high marginal tax rates can taxshelter lots more income with Roth than Traditional. A high earner with a 50.3% marginal tax rate (37% federal and 13.3% state) can taxshelter $38,229.38 ($19,000 / (1  50.3%)) per year with a Roth contribution, more than double than with a traditional.
Saver's credit
Saver's Credit^{[7]} is effectively a match from the IRS on your retirement contributions if you have a relatively low income. The credit is given for contributions to either traditional or Roth accounts. However, there are two advantages which may make traditional contributions more attractive. If you cannot afford to contribute $2,000 to a Roth account, then you can contribute more to a traditional account for the same outofpocket cost to get a larger match. In addition, the credit is based on your adjusted gross income; contributions to a Traditional IRA or 401(k) reduce your adjusted gross income and may make you eligible for the credit, or for a larger credit. While qualifying for the Saver's credit, Traditional or Roth can be decided upon using the following analysis.
For a fair comparison, the two take home pays must be equal:
Equating them and solving for R or T we get:
If , then those reduce to the familiar equations for equivalent Roth and traditional contributions.
The equations for spendable amounts are:
Equating those and solving for , we get:
For example, take a single filer with $30K gross income. For that person, up to a $2,000 contribution, and .
For a $2,000 traditional contribution, the equivalent Roth contribution is .
The withdrawal marginal tax rate for equivalent results is .
If one expects the actual withdrawal marginal tax rate will be less than 13.3%, traditional is better. If more than 13.3%, Roth is better.
Realworld example with irregular marginal rates
The methods described earlier in this article assume that one's marginal tax rate vs. contribution curve is either flat or decreasing, and one's marginal tax rate vs. withdrawal curve is flat or increasing. This behavior would be typical of a simple progressive tax system. The US tax code, however, is not simple. Some credits, e.g., the Earned Income Tax Credit (EITC) and the Saver's credit, may apply only after a certain amount of low benefit contributions. Similarly, the Taxation of Social Security benefits may cause high rates on some portion of withdrawals, but past that portion the rates decrease.
Consider a couple with two children earning $54,000 per year gross income. Their marginal tax rate curve looks as follows. The plot has negative values because the tax goes down as the 401(k) contribution goes up. The rest of this example follows the convention of ignoring the negative sign and refers to the rate at which tax was avoided when using "tax rate."
Their marginal tax rate goes through regions of 22%, 43%, 33%, 31%, and 21%, and there is a $200 spike due to a change in the saver's credit tier from 10% to 20%:
 22%: 12% bracket plus 10% saver's credit
 43%: 12% bracket plus 10% saver's credit plus 21% Earned Income Tax Credit phasein
 33%: 12% bracket plus 21% Earned Income Tax Credit phasein (saver's credit maximum contribution reached for this example)
 31%: 10% bracket plus 21% Earned Income Tax Credit phasein
 21%: 0% bracket plus 21% Earned Income Tax Credit phasein
Method
In order to capture the effect of the various peaks, valleys, and spikes, the analysis should be performed instead with cumulative rates over a given interval, rather than the marginal rates. For example, even though the marginal tax rate is 43% for contributions between $1,500 and $2,000, this couple would have to contribute $1,500 at only 22% in order to achieve that benefit. A $2,000 401(k) contribution would result in a tax decrease of $543.83, for a cumulative tax rate of about 27% ($543.83 / $2,000). If the marginal tax rate on withdrawals is fixed, a simple method to optimize contributions is as follows:
 Starting at a traditional contribution of $0, calculate the cumulative tax rates ([total additional tax saved] / [total additional contribution]) for all contributions between the starting point and the maximum contribution (limited by either IRS rules, or how much you can afford to save).
 Find the maximum cumulative rate and the corresponding contribution
 If the maximum cumulative rate is greater than your predicted marginal tax rate at withdrawals, make that traditional contribution. Then return to Step #1 with the starting $0 reset to the traditional contributions so far. If the contribution cumulative tax rate becomes lower than the expected withdrawal tax rate, contribute remaining retirement savings to Roth accounts.
It may be helpful to use charts such as the example given here to understand these situations. One can download the Personal finance toolbox Excel spreadsheet and use it for a wide variety of tax situations. Simply eyeballing the chart, it appears that somewhere between $13K and $14K would be the best traditional contribution. See below for more exact numbers.
Analysis
The married oneearner couple described above predict a 22% marginal tax rate in retirement. They can afford to save $10,000 after taxes to retirement accounts. How much should they contribute to traditional and Roth accounts?
 Starting from $0 contribution, their maximum marginal savings rate is at a 401k contribution of $12,500, just enough to reach the 20% Saver's credit tier. This contribution results in a total tax savings of $4,169, for an incremental savings rate of ~33.35%. This rate is higher than the expected marginal tax rate on withdrawals of 22%, and the aftertax cost of $8,331 ($12,500  $4,169) is less than the maximum, so contribute $12,500 to traditional accounts and try another iteration.
 Starting from $12,500 contribution, their maximum incremental savings rate is at an incremental contribution of $1,100, resulting in an incremental tax savings of $342, for an incremental savings rate of ~31.1% ($342 / $1,100). This rate is still higher than the withdrawal tax rate, and the total aftertax cost is $9,089 ($1,100  $342 + $8,331), so contribute an additional $1,100 to traditional accounts and try another iteration.
 The marginal rate for all traditional contributions beyond $13,600, up to the $19,000 IRS limit, is ~21.06%. This is less than the marginal tax rate on withdrawals, so contribute no additional traditional money. Contribute the remaining $911 ($10,000  $9,089) to Roth accounts. To maximize the saver's credit, the $911 should be contributed by the nonearning spouse. If both spouses are eligible for a 401k, having each contribute at least $2,000 will maximize the saver's credit, and then who contributes to the Roth doesn't matter.
These steps can be summarized in the following table:
Cumulative Traditional Contribution  Incremental Traditional Contribution  Incremental Tax Savings  Incremental Savings Rate  Cumulative AfterTax Cost  Invest? 

$12,500  $12,500  $4,169.15  33.3532%  $8,330.85  Yes 
$13,600  $1,100  $341.66  31.0602%  $9,089.19  Yes 
Up to $19,000  Up to $5,400  Up to $1,137.25  21.0602%  Up to $13,351.93  No 
The optimal retirement contributions for this couple are $13,600 to traditional accounts and $911 to Roth.
Direct calculation method
For situations where both the marginal savings rate and marginal tax rate at withdrawal are irregularly shaped (perhaps due to taxation of Social Security benefits), direct calculation of future aftertax value in retirement is best. One possible method could be as follows:
 For every possible Traditional contribution, calculate the maximum amount of Roth and taxable contributions that can be made while still having enough spending money to cover expenses.
 For each case, calculate the future value (using "=FV" in Excel, or similar) of the Traditional, Roth, and taxable accounts at retirement.
 Calculate the total taxes due in retirement, and the aftertax value of investment withdrawals. The set of contributions with the highest aftertax value is best.
 The analysis should be repeated every year.
Notes
References
 ↑ IRS Publication 590B: Distributions from IRAs
 ↑ IRS Roth Comparison Chart
 ↑ Most TSP Participants Should Switch To the Roth TSP on The Finance Buff, 27 Feb 2012, retrieved 9 September 2012
 ↑ https://www.irs.gov/businesses/smallbusinessesselfemployed/whatsnewestateandgifttax
 ↑ IRS list of accounts subject to RMDs
 ↑ IRS rollover chart
 ↑ Get Credit for Your Retirement Savings Contributions, and IRS Form 8880: Credit for Qualified Retirement Savings Contributions
Further reading
 Bogleheads' Guide to Retirement Planning, Chapter 10
 Roth vs Traditional 401K on Bogleheads.org forum, 5 March 2008.
 Why the Roth IRA bias? on Bogleheads.org forum, 14 October 2010.
External links
 The Case Against Roth 401(k) on TheFinanceBuff.com, retrieved 9 September 2012
 The Forgotten Deductible IRA on TheFinanceBuff.com, retrieved 9 September 2012
 Should You Invest PreTax or After Tax Dollars? 401K vs Roth IRA on The Digerati Life, 15 February 2012, retrieved 9 September 2012
 IRAs: Roth and the Other Kind on Bad Money Advice, 21 February 2009, retrieved 9 September 2012
