Retirement Tax Calculator

Estimate federal income taxes in retirement across Traditional 401(k) withdrawals, Social Security taxation, and Roth tax-free distributions.

Forecast your annual income tax liability in retirement. Distinguishes between ordinary taxable income (Traditional IRAs, 401(k)s, pensions), provisional income rules governing Social Security taxation (up to 85% taxable), and 100% tax-free Roth distributions to optimize after-tax spendable income.

How this calculator works

Provisional Income = MAGI + 50% of Social Security. If Provisional Income > $34,000 (Single) or $44,000 (MFJ), up to 85% of Social Security is taxable. Total Taxable Income = Trad Withdrawals + Taxable SS + Pension - Standard Deduction. Federal Tax = Progressive Brackets.

Key benefits

Assumptions & exclusions

Frequently asked questions

How is Social Security taxed by the federal government?

If your provisional income (AGI + tax-exempt interest + 50% of Social Security) exceeds $25,000 for single filers ($32,000 for married filing jointly), up to 50% of benefits are taxable. Above $34,000 for single ($44,000 for married), up to 85% of benefits become taxable.

How do Roth withdrawals protect against higher taxes in retirement?

Roth distributions do not count toward your AGI or provisional income. Having Roth assets allows you to withdraw money without triggering higher tax brackets or increasing the taxation of your Social Security benefits.

Which retirement income sources are taxed, and how?

Withdrawals from traditional 401(k) and IRA accounts and most pension income are taxed as ordinary income. Social Security is partly taxable above income thresholds, qualified Roth withdrawals are tax-free, and capital gains in taxable accounts follow their own rates. Your mix of sources sets your real tax bill.

Why does the order of withdrawals matter for taxes?

Each year's withdrawals help set that year's taxable income and bracket. Drawing from taxable and Roth accounts in some years and pre-tax accounts in others can keep income inside lower brackets and affect how much of your Social Security is taxed, which is why sequencing is a real planning lever.

Do required minimum distributions affect my retirement taxes?

Yes. Once they begin, required distributions from pre-tax accounts are taxable income you must take whether you need the cash or not, and they can push you into higher brackets and increase the taxable share of Social Security. Projecting your balance growth helps you see those years coming.

Are retirement accounts taxed by states as well?

Often, but the rules vary widely: some states exempt Social Security and some pension income, others tax most retirement income, and a few have no income tax at all. This page's projection is a before-tax national picture, so check your own state's treatment before estimating spendable income.

Formula-Based Calculator · By QalcTools Editorial Team. Formulas tested against independent reference values · Content reviewed November 2026 by the QalcTools Editorial Team.

Methodology note: IRS Publication 17, Publication 915 (Social Security Benefits), and IRC § 86 tax formulas.

Related calculators

Category: Investments & Retirement Calculators

About this calculator

What a retirement portfolio is worth and what it buys after tax are two different numbers, and the distance between them is set by where your income comes from: pre-tax withdrawals are taxed as income, Social Security is partly taxable above income thresholds, and Roth money arrives tax-free. This page supports that planning by projecting the full picture first — the nest egg your saving builds in nominal and today’s dollars, the target your spending implies after Social Security and pension offsets, and how long the portfolio lasts while those income streams flow alongside it. Knowing the size and shape of the income is the necessary first step before estimating the tax on it.

How it works

Enter your ages, savings, salary, contribution and match percentages, expected returns, inflation, desired spending, and the Social Security and pension income you expect. The engine accumulates year by year — your contribution is salary times your percentage, the match follows your plan formula, and growth is charged on the balance plus half the year’s new money. It then deflates the nest egg into today’s dollars and compares it with 25 times the spending the portfolio must fund itself. Finally it simulates the retirement years, escalating spending, Social Security and pension by inflation each year and withdrawing only the difference from the portfolio, so you can see how much of your income depends on taxable portfolio withdrawals at all.

The formula, explained

Accumulation growth = (Start balance + (Contribution + Match) ÷ 2) × Return%; Retirement withdrawal = max(0, Spendingₜ − Social Securityₜ − Pensionₜ), each escalated by inflation; Target = (Spending − Social Security − Pension) × 25

The engine clamps the current age to at least 18, keeps each phase within 100 years, and computes contributions once from the entered salary without growing them. During accumulation, growth each year is the starting balance plus half the combined contributions, times the pre-retirement return. The post-retirement return defaults to two points below the accumulation return when not entered separately. In the spending phase, spending, Social Security and pension amounts are each multiplied by cumulative inflation, the withdrawal is the uncovered remainder capped at the available balance, and growth is charged on the balance less half the withdrawal. Implied withdrawal rate and longevity come from that simulation. The engine projects balances and income streams; it does not itself apply progressive tax brackets, deductions or Social Security taxation tiers to the results.

Inputs and variables

VariableMeaningExample
Current Age, Retirement Age and LifespanThese set the saving years and the length of the spending simulation — the window over which portfolio withdrawals and other income must together cover spending.45 to 67, lifespan 92
Current SavingsThe balance already accumulated. Its tax character matters in real life — pre-tax dollars will be taxed on withdrawal — but the projection tracks the combined balance.$320,000
Annual SalaryThe base for your contribution percentage and the employer match. It is held level throughout the saving phase in this engine.$110,000
Contribution PercentThe share of salary you save yearly — $13,200 a year at 12 percent of $110,000. Higher contributions both raise the nest egg and shift more income into the withdrawal years.12%
Employer Match Percent and LimitYour plan’s match formula, here 50 percent on the first 6 percent of salary, worth $3,300 a year at this salary.50% match, 6% limit
Expected Returns and InflationAssumed yearly returns before and after retirement, plus inflation, which converts the final balance into today’s dollars and escalates retirement income needs.7.0% / 4.5% / 2.5%
Desired Annual SpendingThe yearly spending the combined income must support, in today’s dollars. The portion covered by Social Security and pension never needs portfolio withdrawals.$72,000 per year
Expected Social Security and PensionYearly amounts from these sources, in today’s dollars. Together they cover most of the example spending, which is why the portfolio withdrawal share — the taxable part for pre-tax accounts — stays modest.$30,000 plus $12,000 per year

Worked example

A 45-year-old with $320,000 saved earns $110,000, contributes 12 percent, receives a 50 percent match on the first 6 percent, assumes 7 percent returns before retirement and 4.5 percent after, 2.5 percent inflation, plans to retire at 67, wants $72,000 a year, and expects $30,000 of Social Security plus a $12,000 pension.

  1. Saving phase totals: your contributions $13,200 × 22 years = $290,400, and match $3,300 × 22 = $72,600, on top of the $320,000 starting balance.
  2. Nest egg at 67: $2,254,624.07 nominal, which inflation-deflates to $1,309,631.46 in today’s dollars.
  3. Target: the portfolio must fund $72,000 − $30,000 − $12,000 = $30,000 a year, so the 25-times target is $750,000 in today’s dollars — leaving a surplus of $559,631.46.
  4. Implied withdrawal rate: the portfolio-funded share of first-year spending is only about 2.29 percent of the nominal nest egg, because Social Security and the pension cover the majority.
  5. Spending phase: first-year income need in future dollars is $123,953.14, total portfolio withdrawals across retirement come to $1,764,150.88, and the portfolio lasts the full 25 years to age 92.

Nest egg of $2,254,624.07 nominal ($1,309,631.46 in today’s dollars) against a $750,000 target — a $559,631.46 surplus — with an implied withdrawal rate of 2.29 percent and longevity of 25 years.

The tax-relevant lesson is the composition of the income, not just its size. Because Social Security and the pension together cover $42,000 of the $72,000 spending goal in today’s dollars, the portfolio only has to supply the remaining $30,000 — and only that withdrawal stream would be taxed as ordinary income if the savings sit in pre-tax accounts. A retiree drawing the same $72,000 entirely from a traditional account faces a very different tax bill from one in this position, which is why the split between income sources deserves as much attention as the total.

Understanding your results

Start with the implied withdrawal rate. At 2.29 percent in the example, portfolio withdrawals are a minority of total income, so the retiree’s taxable income is driven more by the pension and the taxable share of Social Security than by the portfolio. When the rate is high — little outside income, large spending — pre-tax withdrawals dominate taxable income, and strategies such as spreading withdrawals across years or holding some Roth assets matter much more. The projection lets you see which situation you are actually in.

The surplus should be read in today’s dollars against the target, not from the nominal balance. It also carries an important caveat for tax planning: the balance is shown before any tax due on pre-tax withdrawals, so the spendable value of a traditional-account surplus is smaller than the same surplus held in Roth accounts. Use the income split the simulation produces — portfolio withdrawals versus Social Security versus pension — as the input to a bracket-by-bracket tax estimate using the current federal tables.

Assumptions and limitations

This projection models balances and income streams, not a tax return: it does not apply progressive federal brackets, a standard deduction, state taxes, or the provisional-income rules that decide how much of Social Security is taxable, and it does not distinguish pre-tax, Roth and taxable balances inside the total. Returns are smooth constants, contributions never grow because the salary input is fixed, and required minimum distributions, Medicare premium surcharges tied to income, and changing tax law are all outside the model. Treat the outputs as the before-tax skeleton of a retirement income plan; the tax estimate itself belongs in a dedicated calculation with current IRS tables and, for consequential decisions, a tax professional.

Common mistakes to avoid

Sources