Roth 401(k) Calculator
Test cases replayed : 3 of 3 match · Methodology · No outside source listed
Enter what you would put in a traditional 401(k) each year, your tax rate today and the rate you expect in retirement. The calculator compares what each account leaves you after tax for the same cost to your paycheck.
Result
Which account leaves more after tax
Roth result minus traditional result, after tax ($)
- Roth 401(k) balance, tax-free ($)
- Traditional 401(k) balance after tax ($)
- Traditional 401(k) balance before tax ($)
- Roth contribution with the same take-home cost ($ per year)
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Yearly traditional (pre-tax) 401(k) contribution, in dollars: enter 0 or more.
- Your marginal tax rate now, federal plus state, in percent: enter a number from 0 to 100.
- Expected tax rate on withdrawals in retirement, in percent: enter a number from 0 to 100.
- Expected yearly return, in percent: enter a number from -50 to 50.
- Years until retirement, in years: enter a number from 1 to 70.
- Read the result: Which account leaves more after tax; the panel also shows Roth result minus traditional result, after tax ($), Roth 401(k) balance, tax-free ($), Traditional 401(k) balance after tax ($), Traditional 401(k) balance before tax ($) and Roth contribution with the same take-home cost ($ per year).
How this calculator works
Equal take-home cost: a pre-tax contribution C lowers your take-home pay by C × (1 − tax rate now). Putting that same amount into the Roth 401(k) costs the same take-home pay, so the Roth contribution is C × (1 − tax rate now).
Both accounts grow at the same return with a contribution at the end of each year: balance = contribution × ((1 + r)^n − 1) ÷ r. The traditional balance is taxed on withdrawal: after tax = balance × (1 − retirement tax rate). Qualified Roth withdrawals are tax-free.
This gives the textbook rule: the Roth comes out ahead when your tax rate in retirement is higher than today, the traditional account when it is lower, and they tie when the rates are equal.
Not included in the comparison: the employer match, the yearly contribution limit the IRS sets for each year, required minimum distributions and the IRS conditions for a qualified Roth withdrawal. Check the current limit and rules on irs.gov or with your plan.
Worked example
| Yearly traditional (pre-tax) 401(k) contribution | $10,000 |
|---|---|
| Your marginal tax rate now, federal plus state | 22% |
| Expected tax rate on withdrawals in retirement | 12% |
| Expected yearly return | 7% |
| Years until retirement | 25 years |
| Which account leaves more after tax | Traditional 401(k), because your tax rate in retirement is lower than today |
|---|---|
| Roth result minus traditional result, after tax ($) | -$63,249.04 |
| Roth 401(k) balance, tax-free ($) | $493,342.49 |
| Traditional 401(k) balance after tax ($) | $556,591.53 |
| Traditional 401(k) balance before tax ($) | $632,490.38 |
| Roth contribution with the same take-home cost ($ per year) | $7,800.00 |
Frequently asked questions
Which tax rate should I enter for today?
Use your marginal rate, the rate on your last dollars of income, federal plus state. A pre-tax contribution saves tax at that rate.
What if I contribute the same dollar amount to either account?
Then the Roth costs more take-home pay each year, the tax you would have saved. To compare fairly, either invest that tax saving or use this calculator's equal-cost view.
Can I split my contributions?
Many plans let you divide contributions between Roth and pre-tax. Splitting spreads the risk of guessing your future tax rate.