US Tax Tools

Compound Interest Calculator

See how your money grows over time and compare after-tax outcomes across US investment accounts. Model a Roth IRA, Traditional 401(k), and taxable brokerage account side by side to understand how tax treatment affects long-term wealth.

01INPUTS
Investment Details

Used for annual tax drag on taxable accounts and withdrawal tax on tax-deferred accounts.

Tax Wrappers
Share

Roth IRA

$301,888

After-tax value

Pre-tax balance$301,888
Total contributions$130,000
Total growth$171,888
Tax during growth$0

Traditional 401(k)

$235,473

After-tax value

Pre-tax balance$301,888
Total contributions$130,000
Total growth$171,888
Tax during growth$0

Taxable Brokerage

$222,548

After-tax value

Pre-tax balance$248,651
Total contributions$130,000
Total growth$118,651
Tax during growth$33,466
Growth Over Time
Contribution vs Growth Breakdown
Roth IRA$301,888
Contributions: 43%Growth: 57%
Traditional 401(k)$301,888
Contributions: 43%Growth: 57%
Taxable Brokerage$248,651
Contributions: 52%Growth: 48%
Year-by-Year Breakdown
YearRoth IRATraditional 401(k)Taxable Brokerage
1$17,120$17,120$16,874
2$24,738$24,738$24,123
3$32,890$32,890$31,767
4$41,612$41,612$39,829
5$50,945$50,945$48,332
6$60,931$60,931$57,298
7$71,617$71,617$66,754
8$83,050$83,050$76,727
9$95,283$95,283$87,243
10$108,373$108,373$98,334
11$122,379$122,379$110,031
12$137,366$137,366$122,366
13$153,401$153,401$135,375
14$170,559$170,559$149,094
15$188,919$188,919$163,562
16$208,563$208,563$178,821
17$229,582$229,582$194,912
18$252,073$252,073$211,882
19$276,138$276,138$229,778
20$301,888$301,888$248,651
Edit inputs ↑

Frequently asked questions

What is the difference between a Roth IRA and a Traditional 401(k) for compound growth?

A Roth IRA uses post-tax contributions but grows completely tax-free — you pay no tax on withdrawals in retirement. A Traditional 401(k) uses pre-tax contributions (reducing your current taxable income) and grows tax-deferred, but the entire withdrawal is taxed as ordinary income in retirement. If your tax rate stays the same, the after-tax result is identical. If your retirement tax rate is lower, the 401(k) wins; if higher, the Roth wins.

How does tax drag affect a taxable brokerage account?

Tax drag is the annual reduction in returns caused by paying taxes on dividends, interest, and realized capital gains each year. In a taxable brokerage account, these taxes reduce the amount that compounds, so over 20-30 years the difference can be substantial compared to tax-advantaged accounts like a Roth IRA or 401(k) where growth compounds without annual tax.

What are the 2025 contribution limits for Roth IRA and 401(k)?

For 2025, the Roth IRA contribution limit is $7,000 ($8,000 if age 50 or older). The 401(k) employee contribution limit is $23,500 ($31,000 if age 50-59 or 64+, and $34,750 if age 60-63 under the new super catch-up provision). Roth IRA contributions phase out at higher incomes: $150,000-$165,000 for single filers and $236,000-$246,000 for married filing jointly.

What is the long-term capital gains tax rate?

For 2025, long-term capital gains (assets held over one year) are taxed at 0%, 15%, or 20% depending on your taxable income. Single filers pay 0% on gains up to $48,350, 15% on gains from $48,351 to $533,400, and 20% on gains above $533,400. An additional 3.8% Net Investment Income Tax (NIIT) applies to higher earners.

How does compound interest work?

Compound interest means you earn returns on both your original investment and on previously earned returns. For example, $10,000 earning 7% annually becomes $10,700 after year one. In year two, you earn 7% on $10,700 (not just $10,000), giving you $11,449. Over long periods, this snowball effect becomes very powerful — $10,000 at 7% grows to $38,697 after 20 years and $76,123 after 30 years, even with no additional contributions.

Should I invest in a Roth IRA or a taxable brokerage account?

If you are eligible and have not maxed out your Roth IRA, it is almost always better to contribute there first. Roth IRA growth and qualified withdrawals are completely tax-free, while taxable brokerage accounts face annual tax drag and capital gains tax on sale. The main reasons to use a taxable account are if you have exceeded retirement account limits, need access before age 59.5 without penalties, or your income exceeds the Roth IRA eligibility threshold.

What marginal tax rate should I use in the calculator?

Use your current federal marginal tax rate — the rate applied to your last dollar of income. For 2025, common brackets are 10%, 12%, 22%, 24%, 32%, 35%, and 37%. Most working Americans fall in the 22% or 24% bracket. If you are unsure, 22% is a reasonable default. The marginal rate affects the annual tax drag on taxable accounts and the withdrawal tax on Traditional 401(k) distributions.

Can I contribute to both a Roth IRA and a 401(k)?

Yes, you can contribute to both a Roth IRA and a Traditional 401(k) in the same year, subject to each account's separate contribution limits. Many financial advisors recommend maxing out your employer 401(k) match first, then contributing to a Roth IRA, and finally adding more to the 401(k) if you have additional funds. This diversifies your tax exposure in retirement between tax-free (Roth) and tax-deferred (401k) withdrawals.

Sources

Related Calculators

Last updated May 1, 2026 Tax year 2025-26

Data sources: IRS (irs.gov), Social Security Administration

This tool is general information only, not financial advice.

Reviewed by USTax Tools Editorial Desk

Read our methodology →