Tax-advantaged account calculator
Which tax treatment leaves the most after tax on the same saving?
What this tells you: What the same yearly saving ends at under three tax treatments, with the rates you type and nothing assumed.
Go to the calculatorAlso called: tax deferred vs tax free calculator · pre-tax vs after-tax savings calculator · tax free growth calculator Read the guide Last updated
Result
Saving 6,000 a year for 25.0 years, tax on the way out ends highest: an ordinary account 213,605, tax on the way out 279,151, tax paid first 244,257.
This tool shows math, not advice.
Details
| Ordinary account, after tax | 213,605 |
|---|---|
| Tax on the way out, after tax | 279,151 |
| Tax paid first, after tax | 244,257 |
| Going in for the taxed-first cases | 4,200 |
| Gap between best and worst | 65,546 |
| Year | Ordinary account | Tax on the way out | Tax paid first |
|---|---|---|---|
| 1 | 4,414 | 5,088 | 4,452 |
| 2 | 9,054 | 10,481 | 9,171 |
| 3 | 13,929 | 16,198 | 14,173 |
| 4 | 19,054 | 22,258 | 19,476 |
| 5 | 24,440 | 28,682 | 25,096 |
| 6 | 30,101 | 35,490 | 31,054 |
| 7 | 36,050 | 42,708 | 37,369 |
| 8 | 42,303 | 50,358 | 44,064 |
| 9 | 48,874 | 58,468 | 51,159 |
| 10 | 55,781 | 67,064 | 58,681 |
| 11 | 63,040 | 76,176 | 66,654 |
| 12 | 70,669 | 85,834 | 75,105 |
| 13 | 78,688 | 96,072 | 84,063 |
| 14 | 87,115 | 106,925 | 93,559 |
| 15 | 95,972 | 118,428 | 103,625 |
| 16 | 105,281 | 130,622 | 114,294 |
| 17 | 115,064 | 143,547 | 125,604 |
| 18 | 125,347 | 157,248 | 137,592 |
| 19 | 136,154 | 171,771 | 150,299 |
| 20 | 147,512 | 187,165 | 163,769 |
| 21 | 159,449 | 203,483 | 178,048 |
| 22 | 171,995 | 220,780 | 193,182 |
| 23 | 185,181 | 239,115 | 209,225 |
| 24 | 199,040 | 258,550 | 226,231 |
| 25 | 213,605 | 279,151 | 244,257 |
Use the left and right arrow keys to read the values.
| x | Ordinary account | Tax on the way out | Tax paid first |
|---|---|---|---|
| 0.0 years | 0 | 0 | 0 |
| 4.0 years | 19,054 | 22,258 | 19,476 |
| 8.0 years | 42,303 | 50,358 | 44,064 |
| 12.0 years | 70,669 | 85,834 | 75,105 |
| 16.0 years | 105,281 | 130,622 | 114,294 |
| 20.0 years | 147,512 | 187,165 | 163,769 |
| 24.0 years | 199,040 | 258,550 | 226,231 |
| 25.0 years | 213,605 | 279,151 | 244,257 |
How we got this
- In an ordinary account the 6,000 is taxed at 30.0% first, so 4,200 goes in, and each year's growth is taxed at 15.0%, so it grows at a lower rate than 6.00%. After 25.0 years: 213,605.
- With tax on the way out, all 6,000 goes in untaxed and grows at 6.00% in full. Tax at 20.0% is taken when it comes out. After 25.0 years, after tax: 279,151.
- With tax paid first, 4,200 goes in after tax at 30.0%, grows at 6.00% in full and comes out untaxed. After 25.0 years: 244,257.
About this answer
- These are three shapes of tax treatment, not any particular scheme. This page stores no tax rule, rate, limit or allowance, so every figure that governs the answer is the one you type. Payments are made at the start of each year.
- When the rate on the way in matches the rate on the way out, tax on the way out and tax paid first end level. What separates them is the gap between those two rates.
Did this calculator help?
Keep this calculator. Your numbers are in the address, so a bookmark brings them back exactly as you left them. Press Ctrl + D · ⌘ + D
What to do next
Calculators that usually come after this one.
Not quite what you need?
Type your question in plain words and get the calculators that answer it.
No exact match. Try other words, or browse every calculator. Browse all calculators
How to use it
- Type what you set aside each year before tax and the number of years.
- Type your tax rate on pay today and your expected rate when money comes out.
- Type the yearly growth and any tax on growth in an ordinary account.
- Read the three end values, after tax, and the gap between the highest and lowest.
Example
Saving 6,000 a year for 25 years, tax on the way out ends highest: an ordinary account 213,605, tax on the way out 279,151, tax paid first 244,257.
Type these numbers into the boxes
- How much do you save each year?
- 6,000
- Tax rate on pay today
- 30 %
- Tax rate when withdrawn
- 20 %
- Yearly growth
- 6 % a year
- Tax on growth in an ordinary account
- 15 %
- How many years do you save?
- 25 years
What you get: Saving 6,000 a year for 25.0 years, tax on the way out ends highest: an ordinary account 213,605, tax on the way out 279,151, tax paid first 244,257.
What your answer means
These are three shapes of tax treatment, not any one scheme, and every rate is yours to type, so the answer is only as good as those rates. What separates the two wrappers is the gap between your tax rate going in and your tax rate coming out: if they match, tax on the way out and tax paid first end level, and when they do not, the one that is taxed at the lower rate wins. An ordinary account trails both because its growth is taxed every year, which slows the compounding.
How we calculate · the conventions behind every answer, in one place.
Questions about the tax-advantaged account calculator
What does this calculator compare?
It compares the same yearly saving in three tax set-ups: an ordinary account, an account taxed on the way out, and an account taxed first. Saving 6,000 a year for 25 years at 6% growth, the after-tax results are 213,605, 279,151 and 244,257. You type every tax rate; none is stored.
How does an ordinary account work here?
In an ordinary account, the saving is taxed before it goes in and each year's growth is taxed as well. In the default run, 6,000 taxed at 30% leaves 4,200 to put in. Growth is taxed at 15%, so it compounds at a lower rate than 6%. After 25 years it holds 213,605.
Why does taxing on the way out end higher in this example?
With tax on the way out, the full 6,000 goes in and grows at the full 6%, and tax is taken only at the end. Here the rate when withdrawn, 20%, is lower than the rate on pay today, 30%. That gap is why it ends at 279,151 against 244,257 when tax is paid first.
When would tax paid first and tax on the way out give the same result?
When the tax rate today equals the tax rate at withdrawal, the two give the same end value, because taking a share off at the start or at the end of the same growth leaves the same amount. In the default run the rates differ, 30% today and 20% later, so the results differ by 279,151 less 244,257, or 34,894.
How big is the gap between the highest and lowest result?
The page shows the spread between the highest and lowest result. In the default run, the highest is 279,151 and the lowest, the ordinary account, is 213,605. The gap is 65,546. It grows with the number of years, the growth rate and the difference between the tax rates you type.
Ask about this calculator
Something the page does not answer? Ask it here. A person reads every question, and the useful ones are answered on this page.
Cite this page
Copy this line into a reference list, a report or a spreadsheet note.
Investment Math Calculator. “Tax-advantaged account calculator”. Updated 2026-11-18. https://investmentmathcalculator.com/tools/tax-advantaged-account/
This tool shows math, not advice.
Disclaimer: For education only. These calculators show arithmetic and hypothetical scenarios. They are not investment, tax or legal advice and do not recommend any security or product. Consult a licensed adviser in your country before acting.