Method Deck / tax

FICA payroll tax, by stated table

Computes employee-side FICA tax (Social Security, Medicare, and Additional Medicare Tax) on a given amount of annual wages, using a stated, cited FICA table.

Published for review. The Founder is checking every card himself; anything he strikes comes down the same hour.
Disclaimer: General payroll tax formula only, using a stated, cited FICA table. Not tax advice. Employer-side matching and self-employment tax rules differ. Consult a licensed tax professional or the IRS/SSA for your actual situation.

Try it

Inputs

Outputs

Steps

  1. The visitor supplies social_security_wage_base, social_security_rate_percent, medicare_rate_percent, additional_medicare_rate_percent, both Additional Medicare Tax thresholds, plus fica_table_source and fica_table_date; this method never looks up a table itself. Replace all eight together to use a newer official table.
  2. social_security_tax = social_security_rate_percent / 100 * min(annual_wages, social_security_wage_base).
  3. medicare_tax = medicare_rate_percent / 100 * annual_wages (no wage base cap).
  4. additional_medicare_tax = additional_medicare_rate_percent / 100 * max(0, annual_wages - threshold), where threshold is additional_medicare_threshold_mfj for married filing jointly, otherwise additional_medicare_threshold_other.
  5. total_fica_tax = social_security_tax + medicare_tax + additional_medicare_tax.
  6. Round every component to 2 decimals (money to cents).

Constants

Sources

Worked example and test vectors

NameInputsAnswer
worked example{"annual_wages":150000,"filing_status":"single","social_security_wage_base":184500,"social_security_rate_percent":6.2,"medicare_rate_percent":1.45,"additional_medicare_rate_percent":0.9,"additional_medicare_threshold_mfj":250000,"additional_medicare_threshold_other":200000,"fica_table_source":"SSA Contribution and Benefit Base (2026) and IRS Topic 560","fica_table_date":"2026-09-30"}$11,475.00
test vector: wages above both the wage base and the Additional Medicare threshold{"annual_wages":300000,"filing_status":"married_filing_jointly","social_security_wage_base":184500,"social_security_rate_percent":6.2,"medicare_rate_percent":1.45,"additional_medicare_rate_percent":0.9,"additional_medicare_threshold_mfj":250000,"additional_medicare_threshold_other":200000,"fica_table_source":"SSA Contribution and Benefit Base (2026) and IRS Topic 560","fica_table_date":"2026-09-30"}$16,239.00

Published card