Traditional IRA deduction and Roth IRA limit at a modified AGI (2026; 2027 ranges projected)
ira_deduction_and_roth_limitRuns IRS Publication 590-A Worksheet 1-2 (the deductible part of a traditional IRA contribution when you or your spouse is covered by a plan at work) and Worksheet 2-2 (the reduced Roth IRA contribution limit) for 2026 or 2027 on a given modified AGI, line by line, with the age-50 catch-up, the compensation cap, the spousal IRA rule and the worksheets' rounding and minimum; returns the deductible and nondeductible parts of a traditional contribution, the Roth IRA limit and the Roth room left. The limits and ranges are the website's IRA and Roth income-limit pages' own figures (the 2027 limit and ranges are projections under the statutory indexing formula until the IRS publishes them, labelled as such). Not tax advice.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"filing_status": "<filing_status>",
"age": "<age>",
"magi": "<magi>"
},
"name": "ira_deduction_and_roth_limit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| age | Yes | Your age on December 31 of the tax year (18-110): 50 or older adds the catch-up. | |
| magi | Yes | Modified AGI: the income the worksheets run on. | |
| wages | No | Your wages (W-2 box 1): your compensation, which caps the contribution. Default: the MAGI is taken as your compensation. | |
| amount | No | The contribution for the year. Default: your full limit. | |
| covered | No | You are covered by a retirement plan at work (the W-2 'Retirement plan' box). Default false. | |
| tax_year | No | 2026 (default) or 2027. 2027: the limits and phase-out ranges are the 2027 pages' PROJECTIONS under each limit's statutory indexing formula (the IRS's 2027 retirement-plan limits notice is not out yet), labelled as such. Stated in the result. | |
| spouse_wages | No | Joint return only: the spouse's wages. Default 0. | |
| filing_status | Yes | single, mfj, hoh, mfs (lived with the spouse at some time in the year) or mfs_apart (married filing separately, lived apart all year: treated as unmarried). | |
| spouse_covered | No | mfj or mfs: your spouse is covered by a plan at work. Default false. | |
| contribution_type | No | traditional (default): the deductible and nondeductible parts of the contribution. roth: your Roth IRA limit at this MAGI. | |
| spouse_ira_contributions | No | Joint return only: the spouse's own IRA contributions (the spousal IRA rule). Default 0. |