Setting aside $6,000 of pre-tax income every year for 30 years at a 7% return, with a 24% tax rate today and 22% in retirement, leaves about $430,741 after tax in a Roth IRA and $442,076 in a traditional IRA. Traditional comes out $11,335 ahead because your tax rate falls in retirement.
How to use this Roth vs. traditional IRA calculator
Enter how much pre-tax income you set aside each year, your expected annual return, the years until retirement, your marginal tax rate today and the rate you expect when you withdraw. The calculator adds the contribution at the end of every year and shows what each account is worth after tax.
It compares the two accounts on an equal-cost basis: the same pre-tax dollars go in either way. With a Roth you pay tax now, so less money is invested, but withdrawals are tax-free. With a traditional IRA the full amount is invested and the withdrawals are taxed.
The formula
With a contribution C at the end of each year, return r and n years, both accounts grow by the same annuity factor A = ((1 + r)n − 1) / r (A = n when the return is 0).
- Roth IRA after tax: C × (1 − tax rate now) × A
- Traditional IRA after tax: C × A × (1 − tax rate in retirement)
So the account that wins is simply the one with the lower tax rate: Roth if you expect a higher rate in retirement, traditional if you expect a lower one. With the same rate both end equal.
Worked example
$6,000 a year, 7%, 30 years: A = (1.0730 − 1) / 0.07 ≈ 94.46. Roth: $6,000 × 0.76 × 94.46 ≈ $430,741. Traditional: $6,000 × 94.46 × 0.78 ≈ $442,076. Difference: −$11,335 (traditional ahead). If your rate is 12% now and 24% later, the Roth wins instead.
Frequently asked questions
Is a Roth IRA always better? No. On the same pre-tax budget a Roth comes out ahead only when your tax rate in retirement is higher than it is today. When your rate falls in retirement, a traditional IRA leaves more after tax.
What return should I use? Use a long-run estimate for your mix of investments and try a lower rate as a cautious case. The return does not change which account wins; it only scales both results.
Does this include IRA contribution limits? No, it uses the amount you enter. For 2026 the IRA contribution limit is $7,500, plus a $1,100 catch-up at age 50 or older ($8,600), under IRS Notice 2025-67. Your Roth limit can be lower if your income is in the phase-out range; check it with the Roth IRA calculator. The IRS has not yet published the 2027 limits (checked 9 November 2026).
Sources
- IRS Notice 2025-67, 2026 amounts relating to retirement plans and IRAs (section 219(b)(5): $7,500, catch-up $1,100)
- IRS: 401(k) limit increases to $24,500 for 2026, IRA limit increases to $7,500
- IRS Publication 590-A, Contributions to Individual Retirement Arrangements (IRAs)
Estimate only; not tax or investment advice.