How to Calculate State and Federal Taxes on Paycheck
Use this premium paycheck tax calculator to estimate federal income tax, state income tax, Social Security, Medicare, and net take-home pay for a single paycheck. Enter your gross pay, pay frequency, filing status, and state to get a fast annualized estimate.
Estimated paycheck results
This calculator provides an estimate based on annualized wages, 2024 federal standard deductions, common payroll tax rules, and simplified state models. Your actual withholding can differ due to local taxes, tax credits, dependent adjustments, supplemental wages, pre-tax benefit treatment, and employer payroll settings.
Expert Guide: How to Calculate State and Federal Taxes on a Paycheck
Learning how to calculate state and federal taxes on a paycheck helps you understand where your money goes before it reaches your bank account. Many workers look at gross pay, then compare it to net pay, and wonder why the difference seems so large. The answer is that a paycheck usually includes several layers of withholding: federal income tax, state income tax when applicable, Social Security tax, Medicare tax, and sometimes local taxes or court-ordered deductions. If you can break the process into steps, paycheck math becomes much easier to follow.
At the highest level, paycheck tax calculation starts by annualizing your earnings. Employers do not simply guess withholding. They generally convert your current paycheck into an annual estimate, apply tax rules to that annual amount, and then convert the result back to the current pay period. This is why your pay frequency matters. A weekly, biweekly, semimonthly, or monthly payroll schedule can produce slightly different withholding patterns even when annual salary is the same.
There are also important differences between income taxes and payroll taxes. Federal and state income taxes are based on taxable income after certain adjustments and deductions. Social Security and Medicare are payroll taxes tied to earned wages, and they follow separate rules. Understanding those differences is essential if you want a realistic estimate of what your actual take-home pay will be.
Step 1: Start with gross pay
Gross pay is the amount you earn before taxes and deductions. For hourly employees, gross pay is hours worked multiplied by the hourly rate, including overtime when applicable. For salaried employees, gross pay per paycheck is typically annual salary divided by the number of pay periods in the year. If you earn bonuses, commissions, or shift differentials, those can change withholding because they increase taxable wages.
For example, if you earn $65,000 per year and are paid biweekly, your gross pay per paycheck is roughly $2,500. If you are paid weekly, it would be about $1,250. The annual income may be the same, but the tax withholding shown on each paycheck is tied to the individual pay period amount.
Step 2: Subtract eligible pre-tax deductions
Many employees have pre-tax deductions that reduce taxable income for certain taxes. Common examples include traditional 401(k) contributions, health insurance premiums under a cafeteria plan, health savings account contributions through payroll, and some flexible spending account elections. These reduce the wages used for federal income tax in many cases, but not every deduction reduces every tax. That distinction matters.
- Traditional 401(k) contributions usually reduce federal and most state income tax withholding, but they do not reduce Social Security and Medicare wages.
- Section 125 cafeteria plan deductions often reduce federal income tax, Social Security, and Medicare wages.
- Roth 401(k) contributions do not reduce current taxable income because they are made after tax.
If you want a highly precise paycheck estimate, you need to know which deductions affect which tax bases. Our calculator uses a simplified approach suitable for planning, but real payroll software can be more detailed.
Step 3: Estimate federal income tax withholding
Federal income tax withholding is based primarily on your filing status, taxable wages, Form W-4 entries, and the IRS withholding method used by the employer. A practical way to estimate withholding is to annualize wages, subtract the standard deduction for your filing status, apply federal tax brackets, then divide the annual tax by the number of pay periods. If you request extra withholding on your W-4, that amount is added to each paycheck.
For 2024, the standard deductions are as follows:
| Filing Status | 2024 Standard Deduction | Common Use |
|---|---|---|
| Single | $14,600 | Unmarried individual taxpayers |
| Married Filing Jointly | $29,200 | Married couples filing one joint return |
| Head of Household | $21,900 | Eligible unmarried taxpayers supporting a household |
Once taxable income is calculated, federal tax is applied using marginal brackets. That means your entire income is not taxed at one rate. Instead, each portion of income is taxed at the rate for that bracket. This is one of the most misunderstood parts of paycheck taxation. If your top bracket is 22%, that does not mean every dollar you earned was taxed at 22%.
Step 4: Add Social Security and Medicare taxes
Payroll taxes are often called FICA taxes. These taxes are separate from federal income tax and have their own rate structure. Social Security tax is 6.2% on wages up to the annual wage base. Medicare tax is 1.45% on all covered wages, with an additional Medicare tax for higher earners once annual wages exceed the applicable threshold. Employers also pay matching amounts, but the employee share is what reduces take-home pay.
| Tax Type | Employee Rate | 2024 Limit or Threshold | Notes |
|---|---|---|---|
| Social Security | 6.2% | Applies up to $168,600 of wages | Stops after the wage base is reached |
| Medicare | 1.45% | No wage cap | Applies to all covered wages |
| Additional Medicare | 0.9% | Over $200,000 single payroll threshold | Higher earners may owe more depending on filing status |
These payroll taxes can feel substantial because they apply even when your income tax withholding is low. For moderate earners, Social Security and Medicare often represent a meaningful share of total withholding. That is why workers who expect a tax refund may still notice a large reduction from gross pay.
Step 5: Calculate state income tax
State tax rules vary widely. Some states, such as Texas, Florida, and Washington, do not impose a broad state income tax on wage income. Others use a flat tax rate, while many use graduated tax brackets similar to the federal system. In addition, some cities and local governments impose wage taxes or local income taxes that appear on your paystub.
Because state rules are so different, there is no single national formula for state paycheck withholding. A reliable estimate requires selecting the correct state and applying that state’s current withholding structure. Some states conform closely to federal taxable wages, while others have their own adjustments, deductions, or exemptions. That means the same salary can produce meaningfully different net pay depending on where you work and live.
Simple formula for paycheck tax estimation
- Determine gross pay for one paycheck.
- Multiply by pay periods to estimate annual gross pay.
- Subtract annualized pre-tax deductions if they reduce taxable wages.
- Subtract the standard deduction to estimate federal taxable income.
- Apply federal tax brackets to estimate annual federal income tax.
- Divide annual federal tax by pay periods and add any extra W-4 withholding.
- Calculate Social Security and Medicare taxes on covered wages.
- Apply state income tax rules for your state.
- Subtract all taxes from gross pay to get estimated net pay.
Example: How to calculate paycheck taxes step by step
Assume you earn $2,500 biweekly, file as single, contribute $100 per paycheck to a pre-tax retirement plan, and live in Illinois. First, annualize pay: $2,500 multiplied by 26 equals $65,000. Annualized pre-tax deductions are $2,600, leaving $62,400 for simplified federal taxable wage estimation before the standard deduction. Next, subtract the 2024 single standard deduction of $14,600, leaving about $47,800 of taxable income for federal income tax purposes.
Then apply federal tax brackets progressively to estimate annual federal income tax. Divide that annual tax by 26 to get federal withholding per paycheck. Next, calculate Social Security as 6.2% of covered wages and Medicare as 1.45%. Since Illinois uses a flat individual income tax rate, a practical estimate is to apply the state rate to state-taxable wages. Finally, subtract federal tax, state tax, Social Security, and Medicare from gross pay to estimate take-home pay.
This approach will not mirror every employer payroll system exactly, but it gives you a strong working estimate and helps explain why your paycheck is lower than gross wages.
Why your withholding can change even if your pay rate stays the same
- Your pay frequency changes, altering annualization.
- You work overtime, which increases the current paycheck and may push estimated annualized withholding higher.
- You update your Form W-4 to request extra withholding or claim dependents.
- You begin or stop pre-tax benefit contributions.
- You receive a bonus or supplemental wage payment.
- You hit the Social Security wage base later in the year, causing Social Security withholding to stop temporarily.
- Your state updates withholding tables or tax rates.
Federal taxes vs state taxes vs payroll taxes
It helps to separate taxes into three buckets. Federal income tax is based on your expected annual taxable income and federal tax brackets. State income tax depends on your state’s tax structure and taxable wage definitions. Payroll taxes, including Social Security and Medicare, are based on wage income and usually have fewer deductions than income tax systems. If you are trying to reduce withholding surprises, identify which bucket is driving the biggest reduction from gross pay.
Common mistakes when estimating paycheck taxes
- Assuming the top tax bracket applies to all income.
- Ignoring pre-tax deductions or misunderstanding which taxes they reduce.
- Forgetting that biweekly means 26 pay periods, not 24.
- Using annual tax rates but forgetting to convert back to the pay period.
- Overlooking Social Security and Medicare taxes.
- Assuming all states have the same tax structure.
- Ignoring local wage taxes where applicable.
Where to verify official withholding rules
If you want the most authoritative guidance, use federal and state government sources. The IRS provides official withholding rules, forms, and publications for employers and employees. The Social Security Administration publishes the annual wage base used for Social Security taxation. You can review official materials here:
- IRS Tax Withholding Estimator
- IRS Publication 15-T, Federal Income Tax Withholding Methods
- Social Security Administration contribution and benefit base information
How to use a paycheck tax calculator effectively
A calculator is most useful when you treat it as a planning tool instead of a perfect payroll replica. Start by entering your typical paycheck, not an unusual one with large overtime or a bonus. Choose the right pay frequency and filing status. Enter realistic pre-tax deductions. Then compare the estimate to your actual paystub. If the difference is large, inspect each category separately. Is federal withholding too high because of extra W-4 withholding? Is state withholding larger because your state has a steep rate? Are payroll taxes the main cause of the gap?
If your actual paycheck still differs from the estimate, review your paystub for line items like local taxes, post-tax benefits, union dues, garnishments, Roth retirement contributions, or health deductions that were not included in your estimate. Those items can materially affect net pay even though they are not all taxes.
Final takeaway
To calculate state and federal taxes on a paycheck, begin with gross pay, adjust for eligible pre-tax deductions, annualize wages, apply federal tax rules, add payroll taxes, apply state tax rules, then divide back to the current pay period. Once you understand this structure, paycheck withholding stops feeling random. You can estimate your net pay more confidently, adjust your W-4 more intelligently, and make better decisions about retirement contributions, health benefits, and salary negotiations.
Use the calculator above whenever you want a fast estimate of take-home pay. For official withholding decisions, always compare your results with current IRS guidance and your state tax agency’s instructions.