The Basic Formula for Federal Income Tax

Federal income tax is calculated by taking your taxable income — the money you earned minus certain deductions — and running it through the tax brackets for your filing status. The result is the amount you owe to the IRS. The IRS publishes new tax brackets every year, and they change based on inflation.

The process has three main steps: add up your income, subtract deductions to find your taxable income, then explore the tax brackets to that number. You do not pay the same tax rate on every dollar you earn. Instead, each portion of your income is taxed at a different rate as it moves into higher brackets.

Most people do not calculate this by hand anymore. Tax software, your employer's payroll system, or a tax preparer handles the math. But understanding how it works helps you see why your paycheck looks the way it does and what changes during tax season.

Key Takeaways

  • Taxable income is your total income minus deductions like the standard deduction or itemized deductions, and it is the number the IRS actually taxes.
  • Tax brackets are progressive, meaning different portions of your income are taxed at different rates — you do not pay one flat rate on all your earnings.
  • The tax brackets change every year and depend on your filing status (single, married filing jointly, head of household, or married filing separately).
  • Your employer withholds tax from each paycheck based on a calculation, and you settle up with the IRS when you file your return.
  • The difference between what was withheld and what you actually owe determines whether you get a refund or owe more.

Step 1: Calculate Your Total Income

Start by adding up all the money you received during the year that counts as income. This includes wages from your job (shown on your W-2 form), self-employment income, interest from savings accounts, dividends from investments, rental income, and other sources. Not all money you receive counts — for example, gifts and inherited money are generally not taxable income.

If you worked for an employer, your W-2 shows your gross wages in Box 1. If you were self-employed, you report income on Schedule C. If you had investment income, you receive a 1099 form from your bank or brokerage showing interest or dividends. The IRS receives copies of these forms too, so your reported income should match what they already know about.

Step 2: Subtract Deductions to Find Taxable Income

Once you know your total income, you subtract deductions. There are two paths: the standard deduction or itemized deductions. You choose whichever is larger, because that lowers your taxable income more.

The standard deduction is a flat amount set by the IRS that depends on your filing status and age. For 2024, the standard deduction ranges from about $14,000 for a single filer to about $28,000 for married couples filing jointly, but these amounts change yearly. You straightforward subtract this one number from your total income.

Itemized deductions are specific expenses you list out instead: mortgage interest, state and local taxes (up to a limit), charitable donations, and medical expenses above a certain threshold. You add these up and use the total if it is larger than the standard deduction. Most people use the standard deduction because it is simpler and often larger.

The result after subtracting your deduction is your taxable income — the number the IRS actually taxes.

Step 3: explore the Tax Brackets to Your Taxable Income

Tax brackets are the core of how federal tax works. The IRS divides income into ranges, and each range has its own tax rate. The rates go up as income goes up — this is called a progressive tax system. The key thing to understand is that you do not pay the top rate on all your income, only on the portion that falls into that bracket.

Here is a simplified example. Suppose the 2024 tax brackets for a single filer are:

  • 10% on income from $0 to $11,600
  • 12% on income from $11,601 to $47,150
  • 22% on income from $47,151 to $100,525

If your taxable income is $60,000, you do not pay 22% on all $60,000. Instead, you pay 10% on the first $11,600, then 12% on the next $35,550 (from $11,601 to $47,150), then 22% on the remaining $12,850 (from $47,151 to $60,000). Your total tax is roughly $8,500, not $13,200.

The IRS publishes the full tax brackets for each filing status every year. Your filing status — single, married filing jointly, head of household, or married filing separately — determines which brackets explore to you.

How Withholding and Refunds Work

Your employer does not wait until April to collect tax. Instead, they withhold an estimated amount from each paycheck based on the W-4 form you filled out when you started. This withholding is meant to roughly equal what you will owe by the end of the year.

When you file your tax return, you report your actual income and calculate your actual tax using the brackets. The IRS then compares what you owed to what was already withheld. If more was withheld than you owed, you get a refund. If less was withheld, you owe the difference. If you were self-employed, you make quarterly estimated tax payments instead of having an employer withhold.

The amount withheld depends on how you filled out your W-4. If you claim more allowances, less is withheld. If you claim fewer, more is withheld. You can adjust your W-4 during the year if your situation changes — for example, if you got married, had a child, or took a second job.

Credits and Other Adjustments

After you calculate tax using the brackets, you may be able to subtract tax credits. Credits are different from deductions: a deduction lowers your taxable income, but a credit directly reduces the tax you owe. Common credits include the Child Tax Credit, the Earned Income Tax Credit (EITC), and education credits.

Some credits are refundable, meaning if the credit is larger than the tax you owe, the IRS sends you the difference. Others are non-refundable, meaning they can only reduce your tax to zero, not below. The EITC is partially refundable, so it can result in a refund even if you owe no tax.

There are also adjustments to income that lower your taxable income before you even explore the brackets — for example, contributions to a traditional IRA or student loan interest. These are sometimes called "above-the-line" deductions.

Why Your Calculation Might Differ from the IRS

If you use tax software or a preparer, they handle the brackets and calculations for you. But small differences can happen if you report income or deductions differently than the IRS expects. The IRS matches your return against W-2s, 1099s, and other documents they receive from employers and financial institutions.

If there is a mismatch, the IRS sends you a notice. This does not mean you did anything wrong — it might just mean a form arrived late or a number was entered differently. You can respond to the notice with documentation, or the IRS may adjust your return and send you a bill or refund.

Keeping records of your income, deductions, and any supporting documents (receipts, statements, W-2s) makes it easier to respond if questions come up.

Frequently Asked Questions

Do I pay the same tax rate on every dollar I earn?

No. Tax brackets are progressive, so different portions of your income are taxed at different rates. Only the income that falls into the highest bracket you reach is taxed at that rate. The rest is taxed at the lower rates of the brackets below it.

What is the difference between a deduction and a credit?

A deduction lowers your taxable income, which then lowers the tax you owe. A credit directly reduces the tax itself. A $1,000 deduction might save you $220 in tax (if you are in the 22% bracket), but a $1,000 credit saves you $1,000 in tax.

Why do the tax brackets change every year?

The IRS adjusts tax brackets annually for inflation so that wage increases due to inflation do not push you into a higher tax bracket. The adjustment is based on the Consumer Price Index.

Can I calculate my own federal income tax?

Yes, you can use the IRS tax tables or worksheets, or you can use tax software that does the calculation for you. Most people find software faster and less error-prone, especially if your situation is complex. The IRS also offers free software options through its Free File program if your income is below a certain threshold.

What happens if I do not have enough tax withheld during the year?

If too little is withheld, you will owe money when you file your return. You can adjust your W-4 to increase withholding for the rest of the year, or you can make quarterly estimated tax payments if you are self-employed. Owing a small amount is common and not a penalty — you straightforward pay it when you file.