calculate_us_retirement_account
Analyze 2026 US retirement account contributions, including traditional 401k tax savings and Roth IRA eligibility based on income and age.
Instructions
Analyse US retirement account contributions for 2026. account_type='traditional_401k': employee deferral, employer match, §415 cap, tax savings. account_type='roth_ira': eligibility check and MAGI phase-out calculation. Example queries: 'how much do I save in taxes with 401k contribution', 'am I eligible for Roth IRA at $155k income'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_type | Yes | Retirement account type. | |
| contribution | Yes | Desired annual contribution amount in USD. | |
| age | Yes | Employee/contributor age (determines catch-up limits for 50+). | |
| salary | No | [traditional_401k] Annual gross salary in USD. | |
| employer_match_percent | No | [traditional_401k] Employer match fraction, e.g. 0.50 = 50-cent per dollar. | |
| employer_match_cap | No | [traditional_401k] Match applies up to this % of salary, e.g. 0.06 = 6%. | |
| marginal_tax_rate | No | [traditional_401k] Marginal federal rate for tax savings estimate. | |
| magi | No | [roth_ira] Modified Adjusted Gross Income for phase-out check. | |
| filing_status | No | [roth_ira] Filing status for MAGI phase-out range. | single |