How to Calculate Federal and State Taxes
Estimate annual federal income tax and state income tax using filing status, deductions, and your state selection. This calculator focuses on income taxes and does not include payroll taxes like Social Security and Medicare.
Detailed results
Expert Guide: How to Calculate Federal and State Taxes Step by Step
Learning how to calculate federal and state taxes is one of the most useful personal finance skills you can build. Whether you are evaluating a job offer, planning quarterly payments, adjusting your paycheck withholding, or comparing the tax impact of moving to another state, the process becomes much easier once you break it into a sequence. At a high level, you start with gross income, subtract allowed adjustments and deductions, calculate federal tax using progressive tax brackets, and then calculate state income tax according to your state’s rules. The final amount is your estimated combined income tax liability.
The most important thing to understand is that the United States uses a marginal tax system for federal income tax. That means your entire income is not taxed at one single rate. Instead, portions of your taxable income are taxed in layers. For example, if your highest bracket is 22%, that does not mean all of your income is taxed at 22%. Only the amount that falls inside that bracket is taxed at that rate. The lower portions are taxed at 10% and 12% first.
State taxes are different because every state sets its own rules. Some states have no individual income tax, some use a flat rate, and others use progressive brackets similar to the federal system. That is why a complete answer to how to calculate federal and state taxes always includes two separate calculations.
Step 1: Start with your gross income
Gross income is the amount you earn before taxes are withheld. For many employees, this is annual salary or total wages shown on a pay statement. Depending on your situation, gross income can also include bonuses, freelance income, commissions, business income, interest, rental income, and other taxable earnings.
- Salary or hourly wages
- Bonus income
- Self-employment or freelance income
- Taxable interest and dividends
- Rental or business income
- Certain retirement distributions
If you are using an online estimator like the calculator above, annualizing your income first usually produces the clearest result. For example, if you earn $3,500 every two weeks, multiply by 26 pay periods to estimate $91,000 in annual wages.
Step 2: Subtract pre-tax contributions and other adjustments
Before you apply tax brackets, you need to determine how much of your income is actually taxable. Some payroll deductions reduce taxable wages, including certain 401(k), 403(b), traditional IRA, HSA, and flexible spending account contributions. These are often called pre-tax deductions because they come out before income tax is applied.
Suppose your gross income is $85,000 and you contribute $5,000 to a workplace retirement plan on a pre-tax basis. Your income for tax purposes may be reduced to $80,000 before the standard or itemized deduction is applied. This is why retirement and health savings contributions can lower your current tax bill.
Step 3: Choose standard deduction or itemized deductions
After pre-tax adjustments, most taxpayers subtract either the standard deduction or their itemized deductions. You generally use whichever amount is larger. The standard deduction depends on filing status. For tax year 2024, the federal standard deduction is:
| Filing status | 2024 standard deduction | Notes |
|---|---|---|
| Single | $14,600 | Common for unmarried taxpayers with no qualifying dependent household status. |
| Married Filing Jointly | $29,200 | Generally used by married couples filing one joint return. |
| Head of Household | $21,900 | Usually available to unmarried taxpayers who pay more than half the cost of maintaining a home for a qualifying person. |
Itemized deductions can include mortgage interest, charitable gifts, and certain medical expenses, subject to IRS limits and qualification rules. Many households still use the standard deduction because it is simpler and often larger than itemized totals.
Step 4: Calculate federal taxable income
Your federal taxable income is:
- Gross income
- Minus pre-tax deductions and adjustments
- Minus either the standard deduction or itemized deductions
Example: If gross income is $85,000, pre-tax deductions are $5,000, and you are single using the 2024 standard deduction of $14,600, the estimated federal taxable income is:
$85,000 – $5,000 – $14,600 = $65,400
Step 5: Apply the federal tax brackets
Once you know taxable income, you apply the federal income tax brackets. These are progressive, meaning each layer of income is taxed at a different rate. Below is a simplified summary of 2024 federal ordinary income brackets for two common filing statuses:
| Rate | Single taxable income | Married Filing Jointly taxable income |
|---|---|---|
| 10% | $0 to $11,600 | $0 to $23,200 |
| 12% | $11,601 to $47,150 | $23,201 to $94,300 |
| 22% | $47,151 to $100,525 | $94,301 to $201,050 |
| 24% | $100,526 to $191,950 | $201,051 to $383,900 |
| 32% | $191,951 to $243,725 | $383,901 to $487,450 |
| 35% | $243,726 to $609,350 | $487,451 to $731,200 |
| 37% | Over $609,350 | Over $731,200 |
Using the earlier single filer example with $65,400 of taxable income:
- The first $11,600 is taxed at 10%
- The amount from $11,600 to $47,150 is taxed at 12%
- The amount from $47,150 to $65,400 is taxed at 22%
This layered method is exactly how a good federal tax estimate should be calculated. It is why a taxpayer can be in the 22% marginal bracket while having a much lower effective tax rate overall.
Step 6: Calculate state taxable income and state tax
After federal tax, the next step is state income tax. States do not all follow federal taxable income exactly. Some conform closely to the federal system, while others have their own deductions, exemptions, credits, or flat rates. In practice, an estimate usually falls into one of three categories:
- No state income tax: states such as Texas and Florida tax wages at 0% for state income tax purposes.
- Flat state income tax: Illinois and Pennsylvania are common examples where one statewide rate applies to taxable income.
- Progressive state income tax: California and New York apply brackets with higher rates at higher income levels.
- Local income tax may also apply in some cities and counties.
- Some states offer their own standard deduction or exemptions.
- Some retirement income may be partially excluded depending on state law.
- Credits can materially reduce the final liability.
The calculator on this page estimates state tax by applying a simplified statewide method for the selected state. That makes it useful for planning, but your actual return may differ once state-specific credits or local taxes are considered.
Selected state tax comparison
The table below provides a planning-oriented comparison of several commonly discussed states. These figures reflect well-known statewide structures for individual income tax and are useful when you are trying to understand how location changes your tax burden.
| State | Statewide income tax structure | Top or flat statewide rate | Planning takeaway |
|---|---|---|---|
| California | Progressive | Up to 12.3% | High earners may face materially higher state tax than in flat-tax or no-tax states. |
| New York | Progressive | Up to 10.9% statewide | State tax can be significant, and New York City residents may also owe local income tax. |
| Illinois | Flat | 4.95% | Easier to estimate because the statewide rate is constant. |
| Pennsylvania | Flat | 3.07% | Lower statewide rate, though some municipalities may impose local earned income taxes. |
| Texas | No statewide wage income tax | 0% | State income tax on wages is zero, but property and sales taxes may still be relevant. |
| Florida | No statewide wage income tax | 0% | Helpful for net-pay comparisons when evaluating relocation. |
Step 7: Add federal and state tax together
Once both pieces are calculated, add them to get your combined estimated income tax:
Combined income tax = Federal income tax + State income tax
If your federal tax estimate is $8,661 and your state tax estimate is $3,237, your combined estimated income tax would be $11,898. You can subtract that amount from your gross income to estimate take-home pay before payroll taxes. If you want a more complete paycheck estimate, you would also need to factor in Social Security and Medicare taxes, plus any local taxes and benefit deductions.
Common mistakes people make when calculating taxes
- Applying one tax rate to all income instead of using progressive brackets.
- Forgetting to subtract the standard deduction or itemized deductions.
- Ignoring pre-tax payroll contributions.
- Assuming state tax rules match federal rules exactly.
- Leaving out local taxes in places where cities or counties tax income.
- Ignoring tax credits, which reduce tax dollar for dollar.
Federal and state taxes vs withholding
Another key distinction is the difference between tax owed and tax withheld. Your actual annual tax liability is what the tax calculation says you owe for the year. Withholding is the amount your employer sends to tax agencies during the year based on your Form W-4 and payroll setup. If too much is withheld, you may receive a refund. If too little is withheld, you may owe money when you file.
This is why tax calculation tools are useful even if your paycheck already shows withholding. They help you check whether your current withholding level appears reasonable. For official federal withholding guidance, the IRS offers its own estimator.
When your estimate will be less accurate
Any simplified calculator will be less precise if your tax profile is more complex. Accuracy usually decreases when you have multiple jobs, self-employment income, stock compensation, long-term capital gains, large tax credits, business losses, rental property depreciation, or multistate income. The same is true if you qualify for credits such as the Child Tax Credit, Earned Income Tax Credit, education credits, or state-specific refundable credits. Those items can change the final tax bill substantially.
Best sources for official tax information
If you want to verify the latest rules directly, start with official government resources. These are especially useful because tax thresholds, forms, and state rules can change from year to year:
- IRS federal income tax rates and brackets
- IRS Tax Withholding Estimator
- New York State Department of Taxation and Finance
Practical formula to remember
If you want a simple framework you can use anytime, remember this formula:
- Annual gross income
- Minus pre-tax deductions and adjustments
- Minus standard or itemized deduction
- Equals taxable income
- Apply federal brackets to get federal tax
- Apply state rules to get state tax
- Add both for total estimated income tax
Once you understand those seven steps, calculating taxes becomes far less intimidating. The calculator on this page automates the math, but the real advantage is understanding the logic behind the result. When you know how federal and state taxes are built, you can make stronger decisions about salary negotiations, retirement contributions, relocation, and year-end tax planning.