US Solo 401(k) contribution
solo_401k_shieldCompare Solo 401(k) and SEP-IRA contribution limits for the tax year in force on as_of_date, and the income-tax reduction their pre-tax part gives at the marginal rate entered.
Behavior: Deterministic, idempotent calculation with zero external side effects. Computes employee elective deferral (up to $23,000 or $30,500 if age 50+) plus employer profit-sharing (20% of adjusted net earnings for LLC/sole prop, 25% of W-2 salary for S-Corp) subject to annual statutory additions cap. Multiplies total deductible contribution by marginal tax rate to return net cash saved.
Usage Guidelines: Use when an owner-only business, independent contractor, or partner wants to optimize pre-tax retirement deductions. Do not use for multi-year exponential compound investment growth modeling; use compound_wealth instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of_date | Yes | Civil date YYYY-MM-DD. Selects the rule pack in force on that date. Required: the engine will not assume a date. | |
| entityType | No | Tax treatment of the business, which changes the contribution limits. The previously advertised value "llc" is not accepted: an LLC may be taxed either way, so choosing one on the caller's behalf would be a guess. State the tax treatment, not the legal form. | |
| isAge50Plus | No | Deprecated and ignored: catch-up eligibility and its limit come from participant_age (required), under the rule pack in force on as_of_date. | |
| netEarnings | Yes | Annual net business profit (Schedule C) or W-2 officer salary (S-Corp) in USD ($/yr). Must be a positive number. | |
| participant_age | Yes | Participant age in years. Required: it decides catch-up eligibility (IRC s.414(v), SECURE 2.0 s.109). | |
| marginalTaxRatePercent | No | Combined federal and state marginal income tax bracket percentage (e.g. 28 for 28%). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sepIra | No | ||
| sep_ira | No | ||
| currency | No | ||
| solo401k | No | ||
| solo_401k | No | ||
| as_of_date | No | ||
| comparison | No | ||
| disclaimer | No | ||
| entityType | No | ||
| entity_type | No | ||
| isAge50Plus | No | ||
| minor_units | No | ||
| netEarnings | No | ||
| net_earnings | No | ||
| rate_pack_id | No | ||
| catch_up_type | No | ||
| participant_age | No | ||
| effectiveTaxYear | No | ||
| planCompensation | No | ||
| plan_compensation | No | ||
| statutory_authority | No | ||
| mandatory_roth_catchup | No | ||
| marginalTaxRatePercent | No | ||
| annual_compensation_cap | No | ||
| catch_up_eligible_limit | No | ||
| marginal_tax_rate_percent | No |