The basic formula: gross income minus deductions equals taxable income, then tax brackets determine what you owe

Federal income tax is calculated in layers. First, you start with your gross income — everything you earned from wages, self-employment, investments, and other sources. Then you subtract deductions, which shrink the amount the government taxes. What remains is your taxable income. Finally, you explore the tax rate that matches your income level, which depends on your filing status and the year.

The calculation looks straightforward on paper, but the order matters and different income types follow different paths. Wages are handled one way, capital gains another, and self-employment income a third. Understanding which path your money takes explains why two people earning the same total amount can owe different taxes.

Key Takeaways

  • Gross income minus deductions equals taxable income, and only taxable income gets multiplied by tax rates.
  • Tax brackets are progressive — you do not pay one rate on all your income, but different rates on different chunks of it.
  • Deductions come in two forms: the standard deduction (a flat amount based on filing status) or itemized deductions (specific expenses you list), and you choose whichever is larger.
  • Wages, capital gains, and self-employment income are taxed differently because they are treated as different income types under the tax code.
  • The amount withheld from your paycheck is an estimate; your actual tax bill is calculated when you file, and you either owe more or get a refund.

How tax brackets work: you do not pay one rate on all your income

The most common misunderstanding is that if you earn $50,000 and the tax rate is 22%, you owe $11,000. That is not how it works. The United States uses progressive tax brackets, meaning different portions of your income are taxed at different rates.

For 2024, if you file as single, the brackets are roughly: 10% on the first $11,600, then 12% on income from $11,601 to $47,150, then 22% on income from $47,151 to $100,525, and so on. If your taxable income is $50,000, you pay 10% on the first $11,600, 12% on the next $35,550, and 22% on the remaining $2,850. Your total tax is not 22% of $50,000; it is the sum of tax owed in each bracket. The brackets change every year and vary by filing status (single, married filing jointly, head of household, and so on).

Your marginal tax rate is the rate on your last dollar of income — in this example, 22%. Your effective tax rate is your total tax divided by your total income, which will be lower than your marginal rate because earlier dollars were taxed at lower rates.

Deductions: standard versus itemized, and why you choose one

After you know your gross income, you subtract deductions. There are two paths: take the standard deduction or itemize deductions. You choose whichever gives you the larger deduction.

The standard deduction is a flat amount set by the IRS each year. For 2024, it is $14,600 for single filers, $29,200 for married filing jointly, and $21,900 for head of household. You do not have to prove anything; you just claim it. The standard deduction is adjusted each year for inflation, so the amount changes annually.

Itemized deductions are specific expenses you list on Schedule A: mortgage interest, state and local taxes (capped at $10,000), charitable donations, medical expenses above 7.5% of your income, and a few others. You add them up and use that total as your deduction instead of the standard deduction — but only if the sum is larger. Most people use the standard deduction because it is simpler and often larger, especially after the 2017 tax law changes increased it significantly.

How wages, capital gains, and self-employment income follow different paths

Not all income is treated the same. Wages from an employer are ordinary income. Capital gains — profit from selling an investment you held more than a year — are taxed at lower rates (0%, 15%, or 20% depending on your income level). Self-employment income is ordinary income, but you also owe self-employment tax (Social Security and Medicare), which is separate from income tax.

On your tax return, you report wages on Form 1040 line 1. Long-term capital gains go on Schedule D and are taxed at preferential rates. Self-employment income goes on Schedule C, and you calculate self-employment tax on Schedule SE. The self-employment tax is roughly 15.3% of your net self-employment income (after deducting half of it), and it funds Social Security and Medicare directly. This is why a self-employed person earning $50,000 owes more total tax than an employee earning $50,000 in wages — the employee's employer pays half the Social Security and Medicare tax, but the self-employed person pays both halves.

The role of withholding: what comes out of your paycheck versus what you actually owe

If you are an employee, your employer withholds federal income tax from each paycheck based on a W-4 form you fill out. The withholding is an estimate of your annual tax liability, spread across the year. It is not your actual tax bill — it is a prepayment.

When you file your tax return, the IRS calculates what you actually owe based on your real income, deductions, and credits. If you withheld too much, you get a refund. If you withheld too little, you owe more. The W-4 lets you adjust how much is withheld by claiming allowances or requesting extra withholding, but most people do not change it unless their life circumstances shift (marriage, second job, large investment income, and so on).

Self-employed people do not have withholding, so they usually make estimated tax payments four times a year (quarterly) to avoid owing a large amount at tax time. The IRS charges a penalty if you underpay estimated tax by too much.

Tax credits reduce your tax bill dollar-for-dollar, unlike deductions

A tax credit is different from a deduction. A deduction reduces your taxable income; a credit reduces your tax bill directly. If you have a $1,000 deduction and you are in the 22% bracket, you save $220 in tax. If you have a $1,000 credit, you save $1,000 in tax. Credits are more valuable.

Common credits include the Earned Income Tax Credit (EITC) for lower-income workers, the Child Tax Credit ($2,000 per may have access to child in 2024), and the American Opportunity Tax Credit for education expenses. Some credits are refundable, meaning if the credit is larger than your tax bill, you get the difference as a refund. Others are non-refundable, meaning they can reduce your tax to zero but not below. The EITC and the refundable portion of the Child Tax Credit are refundable; many education credits are not.

State and local taxes do not reduce your federal tax, with one exception

If you pay state income tax or local income tax, that does not reduce your federal income tax. Federal and state taxes are separate systems. However, if you itemize deductions, you can deduct state and local taxes (income tax, sales tax, or property tax) on Schedule A, up to a total of $10,000 per year. This is called the SALT deduction cap, and it was introduced in 2017.

Most people do not benefit from this because their standard deduction is larger than their itemized deductions. But in high-tax states like California, New York, and New Jersey, some high-income earners do itemize partly to claim the SALT deduction.

How the calculation flows from start to finish

Here is the order in which the IRS calculates your tax:

  1. Add up all income: wages, self-employment, capital gains, interest, dividends, and other sources.
  2. Subtract adjustments to income (like half of self-employment tax, contributions to a traditional IRA, and student loan interest). This gives you adjusted gross income (AGI).
  3. Subtract either the standard deduction or itemized deductions. This gives you taxable income.
  4. explore tax brackets to taxable income to calculate income tax.
  5. Add any self-employment tax owed (if applicable).
  6. Subtract tax credits. This gives you your total tax.
  7. Subtract withholding and estimated tax payments already made. If the result is negative, you get a refund; if positive, you owe.

The IRS Form 1040 follows this order. Lines 1 through 9 are income. Lines 10 through 12 are adjustments. Line 13 is AGI. Lines 14 through 16 are deductions. Line 17 is taxable income. Lines 18 through 20 calculate tax. Lines 21 through 32 are credits and other adjustments. Line 33 is total tax. Lines 34 through 37 are payments and refunds.

Frequently Asked Questions

Why do I owe taxes if I got a refund last year?

Your withholding is based on your W-4, which is an estimate. If your life changed — you got married, had a child, started a side job, or had large investment gains — your actual tax liability changed, but your withholding did not. You can adjust your W-4 anytime to change how much is withheld going forward. The refund or amount owed is just the difference between what you prepaid and what you actually owed.

Does a higher tax bracket mean I pay more on all my income?

No. Moving into a higher bracket only affects the income in that bracket, not all your income. If the 22% bracket ends at $47,150 and you earn $50,000, you do not pay 22% on all $50,000 — only on the $2,850 above $47,150. The first $47,150 is taxed at the lower rates in the brackets below.

Can I reduce my federal tax by paying more state tax?

Only if you itemize deductions. If you itemize, you can deduct up to $10,000 in state and local taxes (income, sales, or property tax combined). But most people use the standard deduction, which is larger, so paying more state tax does not help them. If you do itemize, paying more state tax does reduce your federal taxable income, but the benefit is capped at $10,000.

What is the difference between my marginal rate and my effective rate?

Your marginal rate is the tax rate on your last dollar of income — the bracket you are in. Your effective rate is your total tax divided by your total income. Because earlier dollars are taxed at lower rates, your effective rate is always lower than your marginal rate. If you earn $50,000 and owe $6,000 in tax, your effective rate is 12%, but your marginal rate might be 22%.

Do I have to file if I did not earn much?

It depends on your income and filing status. For 2024, you generally must file if your gross income exceeds the standard deduction for your status (for example, $14,600 for a single person). However, you should file anyway if you had taxes withheld or if you are owed a refundable credit like the EITC, because you will not get the refund unless you file.