Skip to content
401k Calculator

Roth vs Traditional 401k Calculator

Compare Roth and traditional after-tax value.

Roth after-tax value
944 608 $US
Traditional after-tax value
963 500 $US
Your details
$
%
%
%
years
Roth after-tax value
944 608 $US
Traditional after-tax value
963 500 $US
Traditional wins by
18 892 $US

On 10 000 $US a year for 30 years at 7%, traditional wins by 18 892 $US after tax. The account grows to 944 608 $US before any retirement tax — the traditional's 22% retirement tax is the swing factor.

Calculated in your browser. Compares equal contributions and assumes the traditional's up-front tax saving is invested. Uses flat marginal rates. Not tax advice.

  • Free — no signup
  • Updates as you type
  • Runs in your browser

Formulas and content last reviewed . IRS limits change each year — confirm current figures at IRS.gov and with your plan administrator.

The short answer

Is a Roth or traditional 401k better?

Roth vs traditional 401k comes down to your tax rate now versus in retirement. A Roth is funded with after-tax dollars and withdrawn tax-free; a traditional is pre-tax now and taxed on withdrawal. If your tax rate in retirement will be the same or higher than today, the Roth usually wins; if it will be lower, the traditional wins. For example, contributing $10,000 a year for 30 years at 7%, with a rate falling from 24% today to 22% later, leaves the traditional ahead by about $18,800; if your rate instead rose to 28%, the Roth would win by roughly $55,700. This calculator compares the after-tax value of both on identical contributions. One caveat: a fair comparison assumes you actually invest the traditional's up-front tax saving, and your employer's match is always pre-tax (traditional) regardless of which type you choose.

Formula & method

How it's calculated

Roth = C·F vs Trad = C·F·(1 − Tr) + (C·Tc)·F

Both accounts grow at the same rate; the difference is when the tax is paid. F is the future-value growth factor.

C
Annual contribution (gross dollars)
F
Future-value factor from the return and years
Tr
Your income tax rate in retirement
Tc
Your income tax rate today (invests the deduction)

Step by step

  1. 1

    Grow the contribution over your time horizon at the expected return.

  2. 2

    Roth: the full balance is yours tax-free at withdrawal.

  3. 3

    Traditional: subtract retirement tax from the balance…

  4. 4

    …then add the invested value of the up-front tax deduction the traditional gave you.

Guide

How to use this calculator

A few inputs, live results. Nothing to submit and nothing to sign up for.
  1. 1

    Enter your annual contribution

    The gross amount you would put into either account each year.

  2. 2

    Set your tax rates

    Your marginal rate today and your expected rate in retirement.

  3. 3

    Add return and years

    Your expected average return and the years until you withdraw.

  4. 4

    Read the winner

    The tool shows both after-tax values and the dollar difference.

Examples

Worked examples

Real numbers, worked all the way through — so you can sanity-check the calculator against your own figures.

Higher tax now than later

Inputs

Contribution
$10,000/yr
Tax now / later
24% / 22%
Return / years
7% / 30

Result

Roth after-tax
$944,600
Traditional total
$963,400
Traditional wins by
$18,800

When your rate drops in retirement, the traditional edges ahead — but only if you actually invest the up-front tax savings.

Higher tax in retirement

Inputs

Contribution
$10,000/yr
Tax now / later
22% / 28%
Return / years
7% / 30

Result

Roth after-tax
$944,600
Traditional total
$888,900
Roth wins by
$55,700

If you expect a higher rate later — common for high earners early in their careers — the Roth's tax-free growth wins clearly.

Methodology

Accuracy & assumptions

Every calculator makes assumptions. Here are ours, stated plainly, so you know exactly what the numbers do and do not account for.
  • Compares equal gross contributions, and assumes the traditional's up-front tax saving is invested in a taxable account (otherwise the Roth looks better than a fair comparison shows).

  • Uses flat marginal tax rates; real brackets are progressive and change over time.

  • The employer match is always pre-tax (traditional) regardless of which type you choose for your own contributions.

  • Ignores state tax changes, required minimum distributions and the taxable account's own drag on the invested tax savings.

Contribution limits, catch-up amounts, the early-withdrawal penalty and RMD rules follow the Internal Revenue Code as administered by the IRS, using the published figures for the 2026 tax year. Confirm current limits at IRS.gov, as they are adjusted annually for inflation.

Primary sources

Where these rules come from

The rules this calculator follows are set by the IRS and federal law, not by us. Each one links to the issuing body so you can check it rather than take our word for it.

Details

Key details and rules

Scannable facts worth knowing before you change your contributions or take a distribution.
  • Roth 401k: pay tax now, withdraw tax-free after 59½ (account open 5+ years). No income limit, unlike a Roth IRA.

  • Traditional 401k: deduct now, pay ordinary income tax on every withdrawal.

  • Your employer's matching contributions are always traditional (pre-tax), even in a Roth 401k.

  • You can split contributions between both types in the same year, as long as the combined total stays under the deferral limit.

  • Roth 401k funds can be rolled to a Roth IRA to escape required minimum distributions entirely.

Applications

Who this calculator is for

  • Early-career savers

    Likely to earn (and be taxed) more later — the Roth's tax-free growth often wins.

  • Peak earners

    In a high bracket today with a likely lower one in retirement — the traditional deduction can win.

  • Tax diversifiers

    Split across both to hedge against not knowing future tax rates.

Related tools

Every 401k calculator

Focused tools covering the whole 401(k) picture — contributions, match, taxes, withdrawals and more.

FAQs

Roth vs Traditional 401k Calculator FAQs

Direct answers to the questions asked most about this calculation. More on the FAQ hub.
  • It depends on your tax rate now versus in retirement. A Roth wins if your future rate is equal or higher, because you pay tax at today's lower rate and withdraw tax-free; a traditional wins if your rate will be lower later, because you deduct at today's higher rate. When rates are similar the difference is small. For example, $10,000 a year for 30 years at 7%, with a rate falling from 24% today to 22% later, leaves the traditional ahead by about $18,800; if your rate instead rose to 28%, the Roth would win by roughly $55,700. Many savers split the two to hedge future tax uncertainty. One caveat: a fair comparison assumes you actually invest the traditional's up-front tax saving — spending it erases its advantage — and your employer's match is always pre-tax regardless of which you pick.

Security & privacy

Your numbers never leave your browser

Every calculation on this site runs as JavaScript on your own device. There is no account, no server call, and no analytics attached to the figures you enter.
  • IRS-accurate formulas

    Uses the current IRS contribution limits, penalty rules and RMD tables — updated for 2026.

  • 100% free, no login

    No signup, no email wall, no paywall. Every calculator is fully usable on first visit.

  • Your data never leaves your browser

    Every calculation runs client-side in JavaScript. Nothing is sent to a server or stored.

Served over HTTPS with no mixed content. Read our privacy policy or see the formulas and methodology behind every figure.

Roth or traditional — see the real difference

The right choice can be worth tens of thousands of dollars over a career. Enter your numbers to see which account type leaves you with more after tax.