Roth vs. Traditional 401(k) & IRA Calculator

Traditional accounts are taxed when you withdraw and Roth accounts when you earn the money, so the winner depends on whether your tax rate is higher now or in retirement. Investing $7,800 of take-home pay yearly for 25 years at 6%, taxed 22% now and 12% later, leaves $508,195.57 traditional versus $450,446.08 Roth.

See whether Roth or traditional (pre-tax) contributions leave you more after tax at retirement, based on your tax rate now and the rate you expect when you withdraw. An estimate, not tax advice.

Results

Enter your numbers and press Calculate.

Which one comes out ahead?

It depends on your numbers. In general:

Roth tends to win when…
your tax rate in retirement will be higher than it is now: for example early in your career, if you expect your income to rise, or if you think tax rates will go up. If you contribute the maximum allowed, the math also shifts toward Roth, because a Roth dollar holds more after-tax money than a pre-tax dollar.
Traditional tends to win when…
your tax rate now is higher than you expect it to be in retirement, for example in your peak earning years. You get the deduction at today's higher rate and pay tax later at a lower one.
It's a tie when…
the two rates are the same and you invest the same take-home amount. The math then gives an identical after-tax result.

No one knows future tax rates, which is why many people split contributions between the two.

How it works

The calculator grows each yearly contribution in 12 monthly installments at your expected return, compounded monthly, then applies tax the way each account is taxed:

You can compare them two ways:

Tax rates: enter your marginal federal rate (plus state, if you like) for today. For retirement, enter the rate you expect to pay on withdrawals, which is often lower than your top bracket because some income falls in lower brackets. Rates are held constant. The comparison does not model the 10% early-withdrawal tax, required minimum distributions, employer matches, Social Security taxation or Roth IRA income limits.

2026 limits used to check your contribution (IRS): 401(k) employee contributions up to $24,500.00, plus a $8,000.00 catch-up at 50 or older ($11,250.00 instead at ages 60–63). IRA contributions up to $7,500.00, plus $1,100.00 at 50 or older. Roth IRA eligibility phases out between $153,000.00 and $168,000.00 of modified AGI for single filers and $242,000.00–$252,000.00 for married couples filing jointly. Check yours with the Roth IRA calculator. Roth 401(k) contributions have no income limit.

Worked examples

The calculator's default numbers: $10,000 a year for 25 years at 6%, 22% tax rate now, 12% in retirement, same take-home cost

Traditional: $10,000 a year (take-home cost $7,800.00) grows to $577,494.97. After $69,299.40 of tax at 12% it is worth $508,195.57.
Roth: the same $7,800.00 of take-home pay goes in each year and grows to $450,446.08, tax-free.
Traditional comes out $57,749.50 ahead because its tax is paid at 12% instead of 22%. The break-even retirement rate is 22%.

Same inputs, but a 22% or 32% tax rate in retirement

At 22% both are worth $450,446.08: same rate, same result. At 32% the traditional account is worth $392,696.58 after tax, so the Roth's $450,446.08 comes out $57,749.50 ahead.

Maxing out: $24,500 a year for 25 years at 6%, 22% now, 12% in retirement, same contribution amount

Roth: $1,414,862.67, tax-free.
Traditional: $1,414,862.67 before tax, $1,245,079.15 after tax, plus $255,065.52 in the taxable account where the yearly tax savings were invested, for $1,500,144.67.
Traditional comes out $85,282.00 ahead. When both contribute the maximum, the break-even retirement rate falls to about 18.0%, because the Roth shelters more money from tax.

Sources

Frequently asked questions

Is Roth or traditional better?

Neither is always better. If your tax rate in retirement will be higher than today, Roth tends to come out ahead. If it will be lower, traditional tends to. If the rates are equal and you invest the same take-home amount, they come out the same.

What tax rate should I enter for retirement?

Enter the rate you expect to pay on withdrawals. It is often lower than your top bracket today because, in retirement, part of your income is taxed in lower brackets. Since future rates are unknown, try a few values and watch the break-even rate.

Why does maxing out shift the math toward Roth?

The limit is the same dollar amount for both accounts, but a Roth dollar is after tax and a pre-tax dollar still owes tax. So $24,500 in a Roth 401(k) holds more after-tax money than $24,500 pre-tax. The "same contribution amount" mode shows the effect: with the defaults, the break-even retirement rate drops from 22% to about 18.0%.

What are the 2026 contribution limits?

$24,500.00 for 401(k) employee contributions, plus $8,000.00 at age 50 or older ($11,250.00 at ages 60–63), and $7,500.00 for IRAs plus $1,100.00 at 50 or older, per the IRS. The 401(k) limit is shared between Roth and pre-tax contributions.

Is this tax advice?

No. It is a simplified estimate that holds tax rates and returns constant and leaves out many rules. A tax professional can help you weigh your own situation.