Income tax is calculated by taking your total income, subtracting deductions you're allowed to claim, and then applying the tax rate that matches your income level

The federal government taxes income in brackets, meaning different portions of your income are taxed at different rates. If you earn $50,000, you don't pay the same percentage on all of it — you pay a lower rate on the first portion, a higher rate on the next portion, and so on. Most people's taxes are withheld automatically from paychecks by their employer, but understanding how the calculation works helps you know whether you'll owe money or get a refund when you file.

The basic formula is: (Gross Income − Deductions) × Tax Rate = Tax Owed. But each piece of that formula has rules, and the rules change based on your filing status, age, and what kind of income you received.

Key Takeaways

  • Your employer withholds federal income tax from each paycheck based on a W-4 form you fill out, which tells them how much to take out.
  • You can either take the standard deduction (a flat amount based on your filing status) or itemize deductions if you have large expenses like mortgage interest or medical bills.
  • Tax brackets are progressive, meaning higher portions of your income are taxed at higher rates, not your entire income at one rate.
  • When you file your tax return, the IRS compares what was withheld against what you actually owe, and you either get a refund or pay the difference.

The three pieces: gross income, deductions, and tax brackets

Gross income is everything you earned before anything was taken out. This includes wages from a job, self-employment income, interest from a savings account, rental income, and certain benefits. It does not include money you borrowed or money you already paid taxes on.

Deductions reduce the income that gets taxed. The IRS lets you subtract either a standard deduction (a fixed amount that depends on your filing status and age) or your itemized deductions (the actual total of things like mortgage interest, property taxes, and medical expenses). You choose whichever is larger. For 2024, the standard deduction is $14,600 for single filers and $29,200 for married couples filing jointly, but these amounts change each year.

Tax brackets are the rates applied to different portions of your income. For 2024, federal brackets for single filers range from 10% on the first portion up to 37% on the highest portion. The key point: if you're in the 22% bracket, that does not mean you pay 22% on all your income — it means the top portion of your income is taxed at 22%.

How withholding works during the year

When you start a job, you fill out a W-4 form that tells your employer how much federal tax to withhold from each paycheck. The form asks about your filing status, number of dependents, and other income in your household. Your employer uses this information to calculate a withholding amount and removes it from your pay before you receive it.

The withholding is an estimate. If you filled out your W-4 correctly, the total withheld over the year should be close to what you actually owe. If you claimed too many exemptions or didn't account for a spouse's income, you might have too little withheld and owe money at tax time. If you had too much withheld, you get a refund.

You can adjust your withholding during the year by submitting a new W-4 to your employer. This is useful if you got married, had a child, started a second job, or realized your withholding was way off.

Standard deduction versus itemizing

After you calculate your gross income, you subtract either the standard deduction or your itemized deductions — whichever is larger. Most people take the standard deduction because it's simpler and because their actual deductible expenses don't add up to more than the standard amount.

You itemize if you have large deductible expenses. Common ones include mortgage interest (not the principal), state and local taxes (capped at $10,000), charitable donations, and medical expenses above 7.5% of your adjusted gross income. You add these up and use that total instead of the standard deduction if it's higher.

For example: if you're single with a standard deduction of $14,600, but your mortgage interest, property taxes, and charitable donations add up to $18,000, you would itemize and subtract $18,000 instead. The difference ($3,400) reduces your taxable income and therefore your tax bill.

Calculating taxable income and applying tax brackets

Once you subtract your deduction from gross income, you have taxable income. This is the number you use to find your tax bracket and calculate what you owe.

Tax brackets work in layers. Say you're single with taxable income of $50,000 in 2024. The first $11,600 is taxed at 10%, the next portion up to $47,150 is taxed at 12%, and the remaining amount is taxed at 22%. You don't pay 22% on all $50,000 — you pay the lower rates on the lower portions and the higher rate only on the top portion. This is called a progressive tax system.

The IRS publishes tax tables and worksheets each year that show you exactly what you owe based on your taxable income and filing status. Most people use tax software or a tax preparer to do this calculation, but the math is straightforward once you know your taxable income.

Credits and adjustments that reduce your final bill

After you calculate the tax on your taxable income, you can subtract tax credits. A credit is different from a deduction — a deduction reduces your income, but a credit reduces your tax bill dollar-for-dollar. Common credits include the Earned Income Tax Credit (EITC) for lower-income workers, the Child Tax Credit, and the American Opportunity Credit for education expenses.

For example: if your calculated tax is $3,000 and you have a $2,000 child tax credit, your final tax bill is $1,000. Credits are powerful because they directly reduce what you owe.

Some credits are refundable, meaning if the credit is larger than your tax bill, the IRS sends you the difference. The EITC and the Additional Child Tax Credit are refundable, so they can result in a refund even if you owe zero tax.

Self-employment income and additional taxes

If you're self-employed, you calculate income tax the same way — gross income minus deductions, then apply brackets. But you also owe self-employment tax, which covers Social Security and Medicare. This is 15.3% of your net self-employment income (after certain deductions), split between you and what would normally be your employer's share.

Self-employed people don't have an employer withholding taxes, so they usually make estimated tax payments four times a year to avoid owing a large amount at tax time. These payments are based on your expected income for the year.

What happens when you file your return

When you file your tax return (usually by April 15), you report your income, deductions, and credits to the IRS. The IRS compares what you reported against what your employer withheld (shown on your W-2 form) and what you paid in estimated taxes.

If you withheld more than you owe, you get a refund. If you withheld less, you owe the difference. If you withheld exactly what you owe, you break even. The return is where the IRS verifies the calculation and either sends you money or bills you for the remainder.

Filing is required if your income exceeds certain thresholds, which vary by age and filing status. Even if you don't have to file, you should if you had taxes withheld, because you might be due a refund.

Frequently Asked Questions

Why do I owe money if my employer was supposed to withhold taxes?

Withholding is an estimate based on the W-4 you filled out. If your circumstances changed (you got married, had a second job, or had investment income), your withholding may not match what you actually owe. You can adjust your W-4 during the year, or you'll settle the difference when you file your return.

Does a tax bracket mean I pay that rate on all my income?

No. Tax brackets are progressive layers. If you're in the 24% bracket, only the income in that bracket is taxed at 24%. All the income below it is taxed at the lower rates that apply to those lower brackets. This is why people with high incomes don't pay 37% on every dollar.

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

A deduction reduces your income before tax is calculated, so it saves you tax at your bracket rate. A credit reduces your tax bill directly, dollar-for-dollar. A $1,000 credit saves you $1,000 in tax; a $1,000 deduction saves you tax only at your rate (so $220 if you're in the 22% bracket).

Do I have to file a tax return if I didn't earn much?

You must file if your income exceeds the threshold for your filing status and age. For 2024, a single person under 65 must file if they earned over $14,600. But you should file even if you're below the threshold if you had taxes withheld, because you'll likely get a refund.

How do I know if I'm withholding the right amount?

Use the IRS withholding calculator on irs.gov. It asks about your income, deductions, and credits, and tells you whether your current withholding is on track. If it's not, you can adjust your W-4 with your employer to increase or decrease the amount taken from each paycheck.