How We Calculate Paychecks
Last updated November 28, 2026
Every calculator follows the same steps your employer's payroll system uses. Here is exactly what happens to the numbers you enter.
1. Gross pay per paycheck
Salary is divided by the number of paychecks in the year (52 weekly, 26 every two weeks, 24 twice a month, 12 monthly). Hourly pay is hourly wage × weekly hours, plus overtime hours at 1.5×, × 52 weeks, then divided the same way.
2. Pre-tax deductions
- Traditional 401(k) / 403(b) lowers wages for federal and most state income tax, but not for Social Security or Medicare.
- Health insurance and HSA contributions through a section 125 plan lower wages for income tax and for Social Security and Medicare.
- Exception: California taxes HSA contributions, so they are added back for California income tax.
3. Federal income tax
We use the IRS percentage method for automated payroll systems (Publication 15-T, Worksheet 1A) with Form W-4 from 2020 or later:
- Taxable pay per paycheck × paychecks per year, plus Step 4(a) other income.
- Minus Step 4(b) deductions, and minus $8,600 ($12,900 if married filing jointly) unless the Step 2 box is checked.
- Look up the tentative tax in the 2026 annual table (standard or Step 2 checkbox) for your filing status, and divide by paychecks per year.
- Subtract the Step 3 dependent credit divided by paychecks per year (not below zero), then add Step 4(c) extra withholding.
4. Social Security and Medicare
Social Security is 6.2% of wages up to the 2026 wage base of $184,500. Medicare is 1.45% of all wages, plus the 0.9% Additional Medicare Tax employers withhold on wages above $200,000. For high earners we spread the annual amounts evenly across paychecks. In reality Social Security stops once you pass the wage base and the 0.9% starts after $200,000, so paychecks late in the year differ.
5. State and local taxes
- California: EDD Method B (exact calculation) on annualized wages: low-income exemption, estimated-deduction allowances, standard deduction, annual tax rate table, minus the allowance credit. Plus SDI at 1.3%.
- New York State and New York City: Method II exact calculation with the official weekly, biweekly, semimonthly and monthly tables (the annual schedule for annual pay), and Method III flat rates for very high wages. Plus Paid Family Leave at 0.432%, up to $411.91.
- Illinois: the IL-700-T automated payroll formula: 4.95% of wages after $2,925 per Line 1 allowance and $1,000 per Line 2 allowance.
- Washington: no income tax; Paid Family & Medical Leave employee premium (71.43% of 1.13%, up to $184,500) and WA Cares (0.58%).
- Texas, Florida, Nevada, Tennessee: no state income tax on wages and no employee state payroll premiums.
6. Rounding and testing
Each tax is calculated exactly and rounded to the cent per paycheck. Before a state goes live, our automated tests must reproduce the worked examples printed in its official guide. Today that covers the IRS tables, every California, New York State, New York City and Illinois example we use, and Washington's premium rates. A handful of New York booklet examples round an intermediate step, and there we match to within one cent.
What we don't cover yet
- Bonuses and other supplemental wages withheld at flat rates.
- Pre-2020 W-4 forms with withholding allowances.
- Nonresident or multi-state withholding, and local taxes outside New York City.
- New York disability insurance (DBL) contributions and voluntary deductions your employer may take.