1. Home
  2. Calculators
  3. How is federal income tax calculated?
Income tax, explained

How is federal income tax calculated?

Your tax isn't a flat percentage of your pay. It's built in a fixed order: income, adjustments, deductions, brackets, then credits.

Estimates only, not tax advice. DoesWhat tax calculators use US federal figures for tax year 2026 from the IRS; state and local taxes are not included.

Step 1: Add up your income

Start with gross income: wages from your W-2, self-employment profit, interest, dividends, capital gains, rental income, and most other money that comes in. Some income is excluded, such as many gifts and most life insurance payouts.

Step 2: Subtract adjustments to get AGI

Certain items come off before anything else, called adjustments or "above-the-line" deductions. Common ones are traditional IRA contributions, HSA contributions, student loan interest and half of self-employment tax. Traditional 401(k) contributions taken from your paycheck are already left out of the wages on your W-2. What's left is your adjusted gross income (AGI), a number that many other tax rules key off.

Step 3: Subtract the standard or itemized deduction

Next you subtract either the standard deduction, a fixed amount set by filing status and adjusted for inflation each year, or your itemized deductions (such as mortgage interest, state and local taxes up to a cap, and charitable gifts). You pick whichever is bigger. Most people take the standard deduction because it's larger than what they could itemize. The result is taxable income.

Step 4: Apply the tax brackets

Taxable income is taxed in layers. The federal rates run from 10% to 37%, and each rate applies only to the slice of income inside its band. This is the part people most often get wrong: moving into a higher bracket only affects the dollars above the line.

Simplified exampleTo keep the math readable, this example uses made-up round brackets: 10% on the first $10,000 of taxable income, 20% on the next $30,000, and 30% on anything above $40,000. Real brackets have seven rates and different thresholds; see the current tax brackets.

With taxable income of $50,000 in that toy system:

  • 10% on the first $10,000 = $1,000
  • 20% on the next $30,000 = $6,000
  • 30% on the last $10,000 = $3,000

Total tax: $10,000. The top rate is 30%, but the tax is 20% of taxable income overall. Long-term capital gains and qualified dividends are taxed separately at 0%, 15% or 20%, stacked on top of ordinary income.

Step 5: Subtract credits and compare with what you paid

Credits reduce the tax itself, dollar for dollar, which makes them more valuable than deductions of the same size. Examples include the Child Tax Credit, education credits and the Earned Income Tax Credit. Some credits are refundable, meaning they can pay you even if your tax hits zero.

Finally, the tax owed is compared with what you've already paid through paycheck withholding or estimated payments. Paid more: refund. Paid less: balance due. The guide to refunds and balances due explains the common reasons for owing.

What this doesn't include

Social Security and Medicare (FICA) are separate payroll taxes at 6.2% and 1.45%, not part of income tax. Self-employed people pay both halves as self-employment tax. State income tax follows each state's own rules. To see your own federal figure, use the income tax calculator.

Frequently asked questions

Is federal income tax a percentage of my salary?

No. It's calculated on taxable income using progressive brackets, so the overall percentage is lower than your top bracket.

What is taxable income?

Your income after adjustments and the standard or itemized deduction. It's the figure the brackets apply to.

What's the difference between a deduction and a credit?

A deduction lowers the income that's taxed. A credit lowers the tax itself, dollar for dollar.

Do I pay income tax on my 401(k) contributions?

Not in the year you contribute to a traditional 401(k). You pay income tax when you withdraw. Roth contributions work the other way.

Keep reading

Related tools

See everything in Calculators →