the math, step by step

How We Calculate

This page explains how our calculators turn your inputs into a result, which official tables they use, and where a number is an estimate. Every calculator page also lists its own sources and the date they were checked.

Withholding is not the same as your tax bill

Two different questions get mixed up a lot:

The two rarely match to the dollar. Withholding is designed to land close; the difference becomes your refund or balance due when you file.

Federal income tax withholding (Pub 15-T)

For paychecks we follow the IRS percentage method for automated payroll systems in Publication 15-T, for Forms W-4 from 2020 or later:

  1. Subtract pre-tax deductions you enter (such as traditional 401(k), pre-tax health premiums and HSA contributions) from gross pay for the period.
  2. Annualize: multiply by the number of pay periods in a year (52 weekly, 26 biweekly, 24 semimonthly, 12 monthly).
  3. Add W-4 Step 4(a) other income and subtract Step 4(b) deductions.
  4. Look up the annual percentage-method table for your filing status — the standard table, or the higher-rate table if W-4 Step 2 is checked.
  5. Subtract the Step 3 credit for dependents, never going below zero.
  6. Divide by the number of pay periods and add any Step 4(c) extra withholding.

Bonuses and other supplemental wages paid separately use the IRS optional flat rate (22%, and 37% on supplemental wages above $1 million in a year) unless the calculator says otherwise.

Social Security and Medicare (FICA)

Social Security is 6.2% of wages up to the year's wage base set by the Social Security Administration; Medicare is 1.45% of all wages. Employers must also withhold the 0.9% Additional Medicare Tax on wages above $200,000 in a calendar year, regardless of filing status. Self-employed people pay both halves as self-employment tax, which our 1099 tools calculate on 92.35% of net earnings, as on Schedule SE.

Payroll systems apply the Social Security wage base using your year-to-date wages with that employer. The paycheck calculator does the same when you enter wages earned earlier in the year; if you leave that field blank it treats the paycheck as if no earlier wages had been paid, which is exact for most people and overstates Social Security only on late-year paychecks of people earning above the wage base.

State income tax withholding

Each state publishes its own withholding formula or tables, usually in an employer's withholding guide. We store each state's rules as structured data — standard deductions, allowances, brackets, credits and flat rates — with a link to the exact document and page, and run them in order the way the guide describes. Where a state publishes worked examples, we use them as tests.

If a state's withholding tables for a year aren't available yet, or a state only publishes its income tax brackets, we calculate from the statutory brackets and label the result estimate. Nine states — Alaska, Florida, Nevada, New Hampshire, South Dakota, Tennessee, Texas, Washington and Wyoming — have no state income tax withholding on wages.

Other state and local deductions

Where they apply, we add employee-paid state programs (such as disability insurance and paid family leave) and local income taxes we support, such as New York City and Yonkers, Maryland counties, Indiana counties and Philadelphia. Each is shown as its own line so you can see what it adds.

Hours, overtime and minimum wage

Time tools add up hours exactly in minutes and only round where you ask them to (for example the 7-minute rule). Overtime follows the federal FLSA rule — 1.5 times the regular rate after 40 hours in a workweek — plus state rules where they are stricter, such as daily overtime. Minimum wage pages use the Department of Labor's state table and each state labor department's announcements, including scheduled increases.

Years and estimates

Calculators default to the current tax year and let you switch to next year. Next year's federal brackets and standard deduction come from the IRS inflation-adjustment release; next year's withholding tables (Pub 15-T) are usually published in December. Until then, next-year paycheck results use the announced federal amounts with the current year's withholding method and are marked as estimates. We replace them when the official tables appear.

How accurate the results are

For the standard situation each calculator is built for — one job, the inputs on the page, the official tables for the selected year — results match the agencies' published methods to the cent; that is what our automated tests and independent recalculations check. Your real paycheck can still differ, usually by a few cents to a few dollars (a fraction of a percent of gross pay), because employers round at different steps, use slightly different period counts or annualize differently. Differences are larger when something below applies. Results are estimates for planning — see the disclaimer.

What we don't model

Update schedule

Main federal sources

  1. IRS Publication 15-T, Federal Income Tax Withholding Methods
  2. IRS Publication 15 (Circular E), Employer's Tax Guide
  3. IRS: tax inflation adjustments for tax year 2027
  4. Social Security Administration: contribution and benefit base
  5. US Department of Labor: state minimum wage laws
  6. US Department of Labor: overtime pay (FLSA)

Checked against the 2026 rules. How we calculate

Last updated