How to Calculate Federal and State Income Tax
Use this premium tax calculator to estimate your federal income tax, state income tax, total tax bill, and effective tax rate based on annual income, filing status, deductions, and state of residence.
Your Estimated Tax Breakdown
Enter your information and click Calculate Income Tax to see your estimated federal and state income tax.
Expert Guide: How to Calculate Federal and State Income Tax
Understanding how to calculate federal and state income tax is one of the most useful personal finance skills you can build. Whether you are evaluating a new job offer, planning quarterly estimated payments, preparing for tax filing season, or simply trying to understand why your take-home pay looks smaller than your salary, the process becomes much easier once you break it into logical steps. The key idea is simple: your tax bill is rarely based on your entire gross income. Instead, taxes are generally applied to your taxable income after adjustments, deductions, and, in some cases, credits.
For federal income tax, the United States uses a progressive tax system. That means different portions of your income are taxed at different rates. For state income tax, the rules depend on where you live. Some states use progressive brackets similar to the federal system, some use a flat rate, and some have no broad wage income tax at all. Because of these differences, two people earning the same salary can owe very different amounts if they live in different states or claim different deductions.
Important: This calculator provides a practical estimate for educational planning. Actual returns can vary based on dependents, retirement contributions, business income, capital gains, itemized deductions, local taxes, and current-year law updates.
Step 1: Start with gross income
Your gross income is the amount you earn before income taxes are deducted. For many employees, that starts with annual wages shown on pay stubs or an offer letter. However, gross income can also include bonuses, self-employment income, rental income, taxable interest, certain dividends, side gig earnings, unemployment compensation, and portions of retirement distributions. If you are trying to estimate tax accurately, include all taxable income sources you expect to receive during the year.
For example, if you earn a salary of $80,000 and expect a $5,000 bonus, your preliminary gross income estimate is $85,000. If you also contribute to certain pre-tax accounts, those contributions may reduce taxable income, which leads to the next step.
Step 2: Subtract eligible adjustments and deductions
After identifying gross income, subtract adjustments that lower taxable income. Common examples include traditional 401(k) salary deferrals, health savings account contributions, deductible self-employment tax, and certain educator or student loan interest adjustments if you qualify. Then determine whether you will use the standard deduction or itemize deductions. Most taxpayers use the standard deduction because it is simpler and often larger than total itemized expenses.
Federal taxable income is generally calculated like this:
- Gross income
- Minus above-the-line adjustments such as eligible pre-tax retirement and HSA contributions
- Equals adjusted gross income in simplified terms
- Minus the standard deduction or itemized deductions
- Equals taxable income
Taxable income can never fall below zero. Once you know taxable income, you can apply the correct tax brackets for your filing status.
Step 3: Identify your filing status
Your filing status changes both your tax bracket thresholds and your standard deduction. The most common filing statuses are Single, Married Filing Jointly, and Head of Household. A married couple earning the same combined income as a single filer will usually face a different federal tax calculation because the bracket thresholds are different. Head of Household often has more favorable treatment than Single when you qualify, which can significantly reduce taxes for eligible parents or caregivers.
If you are unsure about filing status, review IRS guidance carefully. Filing status affects more than just brackets. It can also change eligibility for credits, income phaseouts, and certain deductions.
Step 4: Apply marginal federal tax brackets
The federal system is marginal, not flat. Many taxpayers mistakenly believe that if they move into a higher bracket, all of their income is taxed at that higher rate. That is not how it works. Only the portion of income within each bracket is taxed at that bracket’s rate. This is why a raise does not cause your entire income to be taxed at the top rate you reached.
Suppose a single filer has $50,000 of taxable income. The first slice is taxed at the lowest bracket, the next slice at the next bracket, and only the amount above each threshold moves into a higher rate. This structure is one reason why effective tax rate is usually much lower than your top marginal bracket.
| Federal 2024 Tax Rate | Single Taxable Income | Married Filing Jointly Taxable Income | Head of Household Taxable Income |
|---|---|---|---|
| 10% | $0 to $11,600 | $0 to $23,200 | $0 to $16,550 |
| 12% | $11,601 to $47,150 | $23,201 to $94,300 | $16,551 to $63,100 |
| 22% | $47,151 to $100,525 | $94,301 to $201,050 | $63,101 to $100,500 |
| 24% | $100,526 to $191,950 | $201,051 to $383,900 | $100,501 to $191,950 |
| 32% | $191,951 to $243,725 | $383,901 to $487,450 | $191,951 to $243,700 |
| 35% | $243,726 to $609,350 | $487,451 to $731,200 | $243,701 to $609,350 |
| 37% | Over $609,350 | Over $731,200 | Over $609,350 |
These thresholds are commonly referenced for 2024 planning and can change over time because of inflation adjustments and legislative action. Always confirm current figures when preparing a real tax return.
Step 5: Subtract tax credits
Once you calculate preliminary tax from brackets, subtract any tax credits for which you qualify. Credits are especially powerful because they reduce tax dollar for dollar. A $2,000 deduction does not save $2,000 in tax; it only reduces taxable income. But a $2,000 credit can reduce tax liability by the full $2,000, subject to eligibility rules and refundability limits.
Examples of credits include the Child Tax Credit, education credits, foreign tax credit, and certain clean energy credits. Some credits are refundable, some are nonrefundable, and many phase out at higher incomes. In simple estimation, nonrefundable credits can reduce your federal tax to zero but generally not below zero.
Step 6: Calculate state income tax
State income tax works differently depending on the state. Broadly, states fall into three categories:
- No state income tax: Examples include Texas, Florida, and Washington on regular wage income.
- Flat tax states: A single rate applies to most taxable income. Illinois and Pennsylvania are common examples.
- Progressive tax states: Higher income levels are taxed at higher rates. California and New York are well-known examples.
Some states use federal adjusted gross income as a starting point. Others have their own deductions, exemptions, or credits. Local taxes can also matter. New York City, Philadelphia, and certain Ohio municipalities have additional local taxes that are separate from state income tax. That means your actual combined burden may be higher than a state-only estimate.
| State | General System | Top or Flat Rate | Planning Takeaway |
|---|---|---|---|
| California | Progressive | Up to 12.3% on ordinary income, plus additional high-income rules | High earners often face meaningful state liability |
| New York | Progressive | Multiple brackets exceeding 10% at high income levels | Watch for local tax if you live in New York City or Yonkers |
| Illinois | Flat | 4.95% | Easy to estimate because one rate applies broadly |
| Pennsylvania | Flat | 3.07% | Simple state estimate, but local wage taxes may apply |
| Massachusetts | Flat with surtax rules for very high income | 5.00% standard wage income | Often straightforward for most wage earners |
| Texas, Florida, Washington | No broad state wage income tax | 0% | Federal tax may still be substantial, and other taxes can be higher |
Step 7: Determine your total tax and effective tax rate
To estimate total income tax, add federal and state income tax together. Then divide the total by your gross income to find your effective tax rate. This number helps you compare different jobs, states, and salary offers more realistically. For instance, a worker earning $100,000 in a no-income-tax state may keep more of each paycheck than someone earning the same amount in a high-tax state, even if federal tax is identical.
The formula is straightforward:
- Total income tax = Federal income tax + State income tax
- Effective tax rate = Total income tax / Gross income
Remember that this is not the same as your marginal tax rate. Your marginal rate is the rate on your last dollar of taxable income. Your effective rate is your overall average tax burden.
Common mistakes people make when estimating taxes
- Using gross income instead of taxable income
- Assuming all income is taxed at one bracket rate
- Ignoring the standard deduction
- Forgetting about pre-tax retirement or HSA contributions
- Leaving out bonuses, freelance income, or side hustle earnings
- Ignoring state and local taxes
- Confusing deductions with credits
- Forgetting that tax law and brackets update periodically
Example walkthrough
Imagine a single taxpayer earns $90,000 in wages, contributes $5,000 to a traditional 401(k), and takes the standard deduction. In a simplified estimate, gross income starts at $90,000, then drops to $85,000 after the pre-tax retirement contribution. Next, subtract the standard deduction to get taxable income. Federal tax is then calculated across the applicable tax brackets. If that taxpayer lives in Illinois, state tax can be estimated by applying the flat state rate to the state taxable base. If the same taxpayer lived in Texas, estimated state income tax on wages would be zero. The difference in take-home pay could be meaningful even with the same salary.
Why paycheck withholding may not match your final tax bill
Employers withhold tax from each paycheck based on payroll formulas, Form W-4 information, and estimated annualized earnings. However, withholding is only a prepayment. Your final return compares actual tax liability to what was withheld during the year. If too much was withheld, you may receive a refund. If too little was withheld, you may owe money. This is why tax calculators are helpful during the year: they help you spot under-withholding before filing season.
Self-employed individuals face an extra layer of planning because they may need to make estimated quarterly payments and also account for self-employment tax, which is separate from federal and state income tax. If you have mixed income sources, your final tax situation can be more complex than a simple wage-only estimate.
Best practices for a more accurate estimate
- Use year-to-date pay stubs and expected bonus information.
- Include pre-tax deductions such as 401(k), 403(b), and HSA contributions.
- Select the correct filing status.
- Use current-year standard deductions and bracket thresholds.
- Estimate credits conservatively if eligibility is uncertain.
- Check whether your city or locality imposes additional wage or income taxes.
- Recalculate after a raise, relocation, marriage, divorce, or major life event.
Authoritative resources
For official guidance, review these trusted sources:
- IRS: Federal income tax rates and brackets
- IRS: Tax Topic 551, Standard Deduction
- New York State Department of Taxation and Finance
Final takeaway
To calculate federal and state income tax, begin with gross income, subtract eligible adjustments and deductions, apply the federal and state tax rules that match your filing status and location, then subtract any credits. Finally, compare total tax to gross income to understand your effective rate. Once you understand that process, estimating taxes becomes far less intimidating. With the calculator above, you can quickly model the effect of salary changes, retirement contributions, tax credits, and different states so you can plan with more confidence.