Retirement Tax Bracket Estimator Formula
Understand the math behind the retirement tax bracket estimator. Each variable explained with a worked example.
Formulas Used
Estimated Federal Tax
est_tax = taxable_income <= 11600 ? taxable_income * 0.10 : (taxable_income <= 47150 ? 1160 + (taxable_income - 11600) * 0.12 : (taxable_income <= 100525 ? 5426 + (taxable_income - 47150) * 0.22 : 17168.5 + (taxable_income - 100525) * 0.24))Effective Tax Rate
effective_rate = gross_income > 0 ? (taxable_income <= 11600 ? taxable_income * 0.10 : (taxable_income <= 47150 ? 1160 + (taxable_income - 11600) * 0.12 : (taxable_income <= 100525 ? 5426 + (taxable_income - 47150) * 0.22 : 17168.5 + (taxable_income - 100525) * 0.24))) / gross_income * 100 : 0Taxable Income
taxable_income_display = taxable_incomeVariables
| Variable | Description | Default |
|---|---|---|
ss_income | Social Security Income(USD) | 24000 |
pension_income | Pension Income(USD) | 12000 |
withdrawal_income | IRA/401(k) Withdrawals(USD) | 30000 |
other_income | Other Taxable Income(USD) | 5000 |
standard_deduction | Standard Deduction(USD) | 15700 |
ss_taxable | Derived value= min(ss_income * 0.85, ss_income) | calculated |
gross_income | Derived value= ss_taxable + pension_income + withdrawal_income + other_income | calculated |
taxable_income | Derived value= max(gross_income - standard_deduction, 0) | calculated |
How It Works
Retirement Tax Estimation
Retirement income from Traditional IRAs, 401(k)s, and pensions is taxed as ordinary income. Up to 85% of Social Security may also be taxable.
2024 Tax Brackets (Single)
| Taxable Income | Rate | |---|---| | $0-$11,600 | 10% | | $11,601-$47,150 | 12% | | $47,151-$100,525 | 22% | | $100,526-$191,950 | 24% |
Retirees 65+ get a higher standard deduction ($15,700 single).
Worked Example
$24,000 SS, $12,000 pension, $30,000 withdrawals, $5,000 other.
ss_income = 24000pension_income = 12000withdrawal_income = 30000other_income = 5000standard_deduction = 15700
- 01SS taxable (85%) = $20,400
- 02Gross = $20,400 + $12,000 + $30,000 + $5,000 = $67,400
- 03Taxable = $67,400 - $15,700 = $51,700
- 04Tax = $1,160 + ($47,150-$11,600) x 12% + ($51,700-$47,150) x 22%
- 05= $1,160 + $4,266 + $1,001 = $6,427
Ready to run the numbers?
Open Retirement Tax Bracket Estimator