Home › Methodology

Methodology

The calculator is a simplified model of US federal and state income tax and payroll tax. This page lists every step so you can check it.

Calculation steps

  1. Payroll tax. W-2: 6.2% Social Security (up to the wage base) plus 1.45% Medicare on wages after pre-tax health premiums, plus 0.9% additional Medicare tax above $200,000 ($250,000 joint, $125,000 separate). 1099: 12.4% + 2.9% on 92.35% of net self-employment income, plus the same 0.9% surcharge; half of the regular part is deductible.
  2. Adjusted gross income (AGI) = wages (minus health premiums and payroll HSA contributions, or net business income minus self-employed health premiums) + other income − traditional 401(k) − half of SE tax. Roth 401(k) contributions are not subtracted: they are taxed now and still come out of take-home pay.
  3. Deductions = standard deduction (plus the age-65 amount), the 2025–2028 senior deduction ($6,000 per person 65+, reduced by 6% of AGI over $75,000 / $150,000 joint), and the qualified tips and overtime deductions (reduced by $100 per $1,000 of AGI over $150,000 / $300,000 joint). Married filing separately gets none of the three 2025–2028 deductions.
  4. Federal income tax from the 10/12/22/24/32/35/37% brackets for your filing status.
  5. Child tax credit of $2,300 per child under 17 in 2027, reduced by $50 per $1,000 above $200,000 of income ($400,000 joint). The part above your tax is refundable up to $1,800 per child and 15% of earned income above $2,500.
  6. State income tax = that tax year's state brackets applied to federal AGI minus the state's standard deduction and personal and dependent exemptions (or credits). Head of household and married filing separately use the single schedule. A few state rules are modeled specifically: Pennsylvania's tax on 401(k) contributions, Ohio's income-based exemption, Utah's taxpayer credit phase-out, and the deduction or exemption phase-outs in Wisconsin, Connecticut, Maryland, Illinois, Oregon and Rhode Island. California and New Jersey add payroll HSA contributions back.
  7. State payroll programs (W-2 only, from tax year 2024): the employee share of disability and paid family leave programs, such as California SDI, New York PFL and DBL, New Jersey TDI and FLI, Washington PFML and WA Cares, and the paid leave programs in Massachusetts, Colorado, Connecticut, Oregon, Rhode Island, Hawaii, Delaware, Maine and Minnesota, plus the employee share of unemployment insurance in Alaska, New Jersey and Pennsylvania, each with that year's rate and wage cap.
  8. City and county income tax (from tax year 2025), if you pick a locality: New York City and Yonkers, Philadelphia (resident and non-resident rates), the Maryland county taxes, Detroit, St. Louis, Kansas City, Cleveland, Cincinnati, Toledo, Akron, and the Portland-area Metro and Multnomah County taxes. Each uses the base its law uses: wages, state taxable income, or state tax.
  9. Take-home pay = income − expenses − health premiums − HSA − 401(k) − federal tax − payroll tax − state tax − state payroll programs − local tax + refundable child credit.
  10. Per-paycheck federal withholding (optional W-4 section) follows the IRS Publication 15-T percentage method for 2020-or-later Forms W-4: Step 2 checkbox, Step 3 credits, Step 4(a) other income, 4(b) deductions and 4(c) extra withholding. It shows what your employer would likely withhold, which can differ from the tax you actually owe.

Not modeled

Data sources and status

Every tax number lives in one data layer, separate from the calculation code, and is recorded with its source.

Item20202021202220232024202520262027
Federal brackets (all filing statuses)IRS, checkedIRS, checkedIRS, checkedIRS, checkedIRS, checkedIRS, checkedIRS, checkedIRS, checked
Standard deduction + age 65IRS, checkedIRS, checkedIRS, checkedIRS, checkedIRS, checkedIRS, checkedIRS, checkedIRS, checked
Social Security wage base$137,700 (SSA, checked)$142,800 (SSA, checked)$147,000 (SSA, checked)$160,200 (SSA, checked)$168,600 (SSA, checked)$176,100 (SSA, checked)$184,500 (SSA, checked)$192,300 (SSA, checked)
Child tax credit$2,000 / $1,400 refundable$2,000 / $1,400 refundable$2,000 / $1,500 refundable$2,000 / $1,600 refundable$2,000 / $1,700 refundable$2,200 / $1,700 refundable$2,200 / $1,700 refundable$2,300 / $1,800 refundable
Business mileage rate57.5¢56.0¢60.5¢65.5¢67.0¢70.0¢74.3¢76.0¢ (not yet published, carried)
State rules2020 law (Tax Foundation)2021 law (Tax Foundation)2022 law (Tax Foundation)2023 law (Tax Foundation)2024 law (Tax Foundation)2025 law (Tax Foundation)2026 law (Tax Foundation)2026 law, carried

State income tax rules come from the Tax Foundation's compilation of each year's state law as of January 1 (one data file per year). Changes a state passed later in the year are not reflected unless noted. They have not yet been checked one by one against each state's tax agency. Where a later value is not yet published, the latest known value is carried forward and marked above. See updates and sources.

Built by one person, free for everyone

I made this calculator because the paycheck tools I kept running into were cluttered, pushed paid products, or got it wrong when a W-2 job was mixed with side-gig income. So I built the one I wanted: free, no sign-up, no tracking.

If it saved you some time or a headache, a small tip helps cover hosting and the hours spent keeping every tax rate up to date. Thank you for using it.

Leave a tip with PayPal

Tips are optional thank-you payments to the person who runs this site, not charitable donations, so they are not tax-deductible. A tip never changes a calculation. Payments are handled by PayPal.