Retirement Contribution Limits 2027
v1.0.1401(k), IRA, HSA limits, age 60-63 catch-up, Roth catch-up rule, Social Security COLA, 2025-2027.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_contribution_limits 401(k), IRA, HSA and SIMPLE contribution limits (2025-2027)
Returns official IRS contribution limits for 2025, 2026 and 2027: 401(k)/403(b)/TSP and 457(b) elective deferral ($24,500 for 2026), age 50+ catch-up ($8,000 for 2026), the SECURE 2.0 age 60-63 super catch-up ($11,250), IRA limit and catch-up ($7,500 + $1,100 for 2026), SIMPLE limits, 415(c) total ($72,000), 401(a)(17) compensation limit, highly compensated employee threshold, Roth IRA phase-outs, HSA self/family limits (2027: $4,500 / $9,000, Rev. Proc. 2026-24) and the Social Security wage base (2027: $192,300). Also states the Roth catch-up rule status. Figures copied from IRS Notices 2024-…
| Parameter | Type | Description |
|---|---|---|
year * | integer | Calendar year: 2025, 2026 or 2027. |
account | string | Which limits: all (default), 401k, 403b, 457b, tsp, simple, ira, roth_ira, hsa, 415c, hce, social_security. |
calculate_max_contribution Maximum contribution by age, year and plans
Calculates the most a person can contribute for a year given age (on Dec. 31), plans held (401k, 403b, 457b, tsp, simple, ira, hsa_self, hsa_family) and optional wages. Applies the age 50+ catch-up, the SECURE 2.0 age 60-63 super catch-up (eligible only if age 60, 61, 62 or 63 at year end; 64 drops back), the HSA $1,000 catch-up at 55, the shared 402(g) limit across 401(k)/403(b)/TSP/SIMPLE, the separate 457(b) limit, and the compensation cap. With prior_year_fica_wages it tells whether catch-ups must be Roth under SECURE 2.0 section 603 (2026: over $150,000 of 2025 FICA wages).
| Parameter | Type | Description |
|---|---|---|
age * | integer | Age on December 31 of the year. |
plans * | array | Plans the person contributes to, e.g. ["401k","ira","hsa_family"]. |
year * | integer | Calendar year: 2025, 2026 or 2027. |
plan_offers_super_catch_up | boolean | False if the employer plan does not offer the age 60-63 catch-up. Default true. |
prior_year_fica_wages | number | Prior-year FICA wages (W-2 box 3) from the plan sponsor, for the Roth catch-up rule. |
simple_higher_limits | boolean | True if the SIMPLE plan uses the higher small-employer limits. |
wages | number | Compensation for the year in USD, used to cap deferrals and IRA contributions. |
get_social_security_cola Social Security COLA, wage base and earnings test
Returns the Social Security cost-of-living adjustment and related figures from SSA's official annual notice in the Federal Register: 2027 COLA 3.6% (announced October 2026), 2027 taxable maximum (wage base) $192,300, retirement earnings test limits ($25,560 under full retirement age, $67,920 in the year you reach it, for 2027), quarter of coverage, SGA amounts and SSI federal payment. Covers 2025, 2026 and 2027.
| Parameter | Type | Description |
|---|---|---|
year * | integer | Calendar year: 2025, 2026 or 2027. |
compare_years Compare limits between 2025, 2026 and 2027
Shows each retirement, IRA, HSA and Social Security figure for two years side by side with the dollar and percent change: 401(k) deferral, catch-ups, 415(c), compensation limit, HCE threshold, SIMPLE, IRA, Roth catch-up threshold, HSA, wage base, earnings test and COLA. Items the IRS has not yet published (2027 plan limits on 2026-11-02) come back as null, never estimated.
| Parameter | Type | Description |
|---|---|---|
from_year * | integer | Calendar year: 2025, 2026 or 2027. |
to_year * |