How to Calculate Federal and State Withholding
Use this premium withholding calculator to estimate how much federal income tax and state income tax may be withheld from each paycheck. Enter your gross pay, pay frequency, filing status, pre-tax deductions, and state to see a practical withholding estimate and annual tax picture.
Withholding Calculator
At a Glance
What this calculator estimates
This tool annualizes your wages, subtracts pre-tax deductions, applies a standard deduction based on filing status, then estimates federal income tax using 2024 bracket logic. It also estimates state withholding using selected state rules or simplified state rate assumptions.
What is not included
This estimate does not calculate Social Security, Medicare, local payroll taxes, tax credits, multiple jobs adjustments, or every state-specific worksheet nuance. Always compare your estimate with your pay stub and payroll department.
Best use case
Use this page to understand the mechanics of withholding, compare states, and estimate the impact of pre-tax deductions or extra withholding elections on your net paycheck.
Expert Guide: How to Calculate Federal and State Withholding
Learning how to calculate federal and state withholding is one of the most practical payroll skills an employee, freelancer transitioning to W-2 work, HR professional, or small business owner can develop. Withholding is the amount your employer takes out of each paycheck and remits to tax authorities on your behalf. If too little is withheld, you may owe money when you file your tax return. If too much is withheld, you may receive a refund, but your cash flow throughout the year will be lower than it needed to be.
At its core, the withholding process works by estimating your annual taxable income and dividing the expected tax burden across the number of pay periods in the year. Federal income tax withholding follows IRS formulas, while state withholding depends on where you work and live. Some states have progressive income tax systems, some use flat rates, and others have no state income tax at all.
When people ask how to calculate federal and state withholding, they often mean one of two things. First, they may want to know why the withholding number on their paycheck is what it is. Second, they may want to estimate future withholding before changing jobs, adjusting their Form W-4, or updating benefits. Both goals require the same foundation: annualized income, taxable wages, filing status, deduction rules, and the applicable tax tables or formulas.
Step 1: Determine your gross pay for the pay period
Start with gross pay. This is your total wage for the pay period before any taxes or deductions are taken out. If you are paid hourly, gross pay equals hours worked multiplied by your hourly rate, plus overtime, bonuses, shift premiums, or commissions. If you are salaried, gross pay is typically your annual salary divided by the number of pay periods in the year.
- Weekly pay uses 52 pay periods.
- Biweekly pay uses 26 pay periods.
- Semimonthly pay uses 24 pay periods.
- Monthly pay uses 12 pay periods.
For example, if your gross biweekly paycheck is $2,500, your annualized gross pay is $65,000 because $2,500 multiplied by 26 equals $65,000.
Step 2: Subtract pre-tax deductions
Not every dollar of gross pay is subject to federal or state income tax withholding. Many employees have pre-tax deductions that reduce taxable wages. Common examples include certain health insurance premiums, health savings account contributions through payroll, flexible spending account elections, and traditional 401(k) or 403(b) contributions.
If you contribute $200 per biweekly paycheck to pre-tax benefits, your annual pre-tax deductions are $5,200. In the example above, that reduces annual taxable wages from $65,000 to $59,800 before applying federal standard deduction logic in a simplified estimate.
Step 3: Apply filing status and annual deduction assumptions
Federal withholding depends heavily on filing status because the IRS tax brackets and standard deduction thresholds differ for single filers, married couples filing jointly, and heads of household. A practical estimate often starts by subtracting the standard deduction from annualized taxable wages.
For 2024, the federal standard deduction is widely cited as:
- Single: $14,600
- Married filing jointly: $29,200
- Head of household: $21,900
If your annualized taxable wages are $59,800 and your filing status is single, a simple tax estimate would reduce that amount by the $14,600 standard deduction. The resulting estimated federal taxable income would be $45,200.
Step 4: Use the federal tax brackets
Once you have estimated federal taxable income, apply the federal tax brackets. Under a progressive tax system, you do not pay one rate on all of your income. Instead, each portion of income is taxed at the rate for that bracket. This is the step most people misunderstand.
For a simplified 2024 federal estimate, the key brackets are:
| Filing status | 10% bracket ceiling | 12% bracket ceiling | 22% bracket ceiling | 24% bracket ceiling |
|---|---|---|---|---|
| Single | $11,600 | $47,150 | $100,525 | $191,950 |
| Married filing jointly | $23,200 | $94,300 | $201,050 | $383,900 |
| Head of household | $16,550 | $63,100 | $100,500 | $191,950 |
Suppose your estimated federal taxable income is $45,200 and your filing status is single. The first $11,600 is taxed at 10%. The amount from $11,601 to $45,200 is taxed at 12%. That produces an estimated annual federal income tax of:
- 10% of $11,600 = $1,160
- 12% of $33,600 = $4,032
- Total estimated annual federal tax = $5,192
If you are paid biweekly, divide $5,192 by 26. That gives an estimated federal withholding of about $199.69 per paycheck, before any extra withholding elections.
Step 5: Estimate state withholding
State withholding varies widely. Some states mirror federal concepts with their own progressive brackets. Others use a flat rate. A few states, such as Texas and Florida, currently have no state income tax on wages. Because of these differences, state withholding can range from zero to a significant percentage of taxable wages.
Below is a comparison of several commonly discussed state systems:
| State | General wage tax structure | Top published rate or notable rule | Planning takeaway |
|---|---|---|---|
| California | Progressive income tax | Top marginal rate commonly cited at 13.3% | High earners may see materially higher withholding than in flat-tax states. |
| New York | Progressive income tax | Top state rate commonly cited above 10% | Employees should also watch for potential local withholding in some areas. |
| Illinois | Flat income tax | 4.95% flat rate | Easier to estimate because the same rate generally applies to taxable wages. |
| Pennsylvania | Flat income tax | 3.07% flat rate | State withholding is straightforward, but local earned income taxes may also apply. |
| Texas | No state wage income tax | 0% | No state income tax withholding on wages. |
| Florida | No state wage income tax | 0% | No state income tax withholding on wages. |
If your state uses a flat tax, the estimate is easy. For example, if your annual state-taxable wages are $59,800 and you work in Illinois, the annual state tax estimate is $59,800 multiplied by 4.95%, or about $2,960.10. Dividing by 26 produces about $113.85 of state withholding per biweekly paycheck.
If your state uses progressive rates, your payroll system may annualize wages and apply a withholding formula or state table in a way that resembles federal withholding, but with state-specific deductions and rates. California and New York are two of the most common examples where the estimate may differ meaningfully from a flat percentage shortcut.
Step 6: Add any extra withholding elections
Employees can request extra withholding per paycheck. This is common if they have multiple jobs, receive side income, expect investment gains, or simply want a larger buffer to reduce the risk of underpayment. If you ask payroll to withhold an additional $50 in federal tax and $15 in state tax per paycheck, you simply add those amounts to the estimated withholding from the tax formulas.
Step 7: Understand what withholding is not
Income tax withholding is not the same thing as total payroll deductions. Many pay stubs also include:
- Social Security tax
- Medicare tax
- State disability insurance in some states
- Local payroll taxes in some cities or counties
- After-tax deductions for benefits or garnishments
When people compare a withholding estimate to their net paycheck and think something is wrong, the missing piece is often that other payroll deductions are also reducing take-home pay.
Common formula for a practical estimate
A reliable simplified process for how to calculate federal and state withholding looks like this:
- Calculate annualized gross wages.
- Subtract annualized pre-tax deductions.
- For federal tax, subtract the standard deduction based on filing status.
- Apply the federal progressive tax brackets to estimate annual federal tax.
- Divide annual federal tax by the number of pay periods.
- For state tax, apply the state rate or state bracket method to annual state-taxable wages.
- Divide annual state tax by the number of pay periods.
- Add any extra withholding elections.
Why your actual paycheck may differ from an estimate
Even if you understand the calculation steps, your real withholding may not match a simple calculator exactly. There are several reasons:
- Your employer may use the percentage method or wage bracket method under IRS payroll guidance.
- Your Form W-4 may include multiple jobs adjustments, dependents, or other entries.
- Supplemental wages such as bonuses may be withheld under separate methods.
- Your state may have its own worksheets, exemptions, credits, or supplemental withholding rates.
- Certain pre-tax benefits may reduce federal wages but not state wages.
This is why a good calculator is best used as a decision-making tool and not as a substitute for an actual payroll register.
How to improve withholding accuracy
If your withholding is too low or too high, do not guess. Update your withholding forms and review your latest pay stub. You can also use official resources for cross-checking. The IRS provides employer withholding guidance through Publication 15-T, and many state departments of revenue publish withholding tables and calculators. Three highly useful references are the IRS Publication 15-T, the IRS Tax Withholding Estimator, and payroll guidance from the New York State Department of Taxation and Finance.
Example walkthrough
Assume the following:
- Gross biweekly paycheck: $2,500
- Pay frequency: 26 pay periods
- Pre-tax deductions: $200 per paycheck
- Filing status: Single
- State: Illinois
- Extra federal withholding: $25
- Extra state withholding: $10
Here is the simplified estimate:
- Annual gross pay = $2,500 × 26 = $65,000
- Annual pre-tax deductions = $200 × 26 = $5,200
- Annual wages after pre-tax deductions = $59,800
- Federal taxable income estimate = $59,800 – $14,600 = $45,200
- Estimated annual federal tax = $5,192
- Federal tax per paycheck = $5,192 ÷ 26 = $199.69
- Add extra federal withholding = $199.69 + $25 = $224.69
- Illinois annual state tax = $59,800 × 4.95% = $2,960.10
- Illinois state tax per paycheck = $2,960.10 ÷ 26 = $113.85
- Add extra state withholding = $113.85 + $10 = $123.85
In that example, estimated income tax withholding for one paycheck would be about $348.54 total, made up of $224.69 federal and $123.85 state. Again, Social Security and Medicare would still be separate deductions.
Bottom line
If you want to understand how to calculate federal and state withholding, focus on the order of operations. Start with gross pay, annualize it, subtract eligible pre-tax deductions, apply filing-status-based federal deduction assumptions, use the tax brackets, then divide back down to the paycheck level. After that, estimate state withholding using your state rules and add any extra withholding elections. Once you see the process in annual form, the numbers on a paycheck become much easier to understand.
The calculator above gives you a fast, practical estimate you can use for planning. It is especially useful when comparing job offers across states, evaluating benefit changes, or checking whether your current withholding looks reasonable based on your wages and filing status.