The Basic Steps the IRS Uses to Calculate Your Tax

Federal income tax starts with your gross income — all the money you earned from wages, self-employment, investments, and other sources during the year. The IRS then subtracts deductions to arrive at your taxable income, applies a tax rate to that number, and subtracts any credits you are owed. What remains is the tax you owe, or the refund you will receive if you paid too much through withholding or estimated payments.

The calculation happens in a fixed order, and each step depends on the one before it. You cannot skip steps or rearrange them. The IRS publishes the tax rates and standard deduction amounts each year, so the numbers change annually, but the method stays the same.

Key Takeaways

  • Gross income includes wages, self-employment earnings, interest, dividends, and other money sources; the IRS requires you to report all of it.
  • You subtract either the standard deduction or itemized deductions from gross income to get taxable income, and the standard deduction amount changes every year.
  • Tax brackets are marginal, meaning different portions of your income are taxed at different rates — not your entire income at one rate.
  • Tax credits reduce your tax dollar-for-dollar, while deductions only reduce the income that gets taxed, so credits are worth more.
  • Your employer withholds tax from each paycheck based on your W-4 form; if too much is withheld, you receive a refund when you file.

Step 1: Add Up Your Gross Income

Gross income is every dollar you received that the tax code requires you to report. For most people, this is wages from a job, shown on a W-2 form. But it also includes self-employment income, tips, rental income, interest from savings accounts, stock dividends, unemployment benefits, Social Security (in some cases), and prizes or gambling winnings.

The IRS requires you to report all income, even if you did not receive a form documenting it. If you earned $500 in cash from a side job and received no 1099 form, you still owe tax on it. The IRS matches W-2s and 1099s to your return electronically, so underreporting is caught regularly.

Some types of income are excluded from tax entirely — for example, gifts, inheritances, and life insurance proceeds do not count as gross income. But these are exceptions; the default is that money you earned is taxable.

Step 2: Subtract the Standard Deduction or Itemized Deductions

Once you have your gross income, you subtract deductions. You have two choices: take the standard deduction or itemize deductions. You cannot do both.

The standard deduction is a flat dollar amount that the IRS sets each year. For 2024, it is $14,600 for single filers and $29,200 for married couples filing jointly, but these amounts increase slightly each year. You do not need to keep receipts or prove anything — you simply subtract this number from your gross income.

Itemized deductions are specific expenses you paid during the year: mortgage interest, state and local taxes (up to $10,000), charitable donations, and medical expenses above a threshold. You add these up and subtract the total from gross income. Most people use the standard deduction because it is larger than their itemized deductions, but high-income earners or people with large medical bills or charitable giving sometimes itemize instead.

The result after subtracting deductions is your taxable income.

Step 3: Apply the Tax Rate Using Tax Brackets

Tax brackets are the most misunderstood part of the calculation. A bracket is not a single rate applied to all your income — it is a range of income, each with its own rate. Different portions of your income are taxed at different rates.

For 2024, a single filer with $60,000 in taxable income falls into multiple brackets. The first $11,600 is taxed at 10 percent. Income from $11,601 to $47,150 is taxed at 12 percent. Income from $47,151 to $60,000 is taxed at 22 percent. You do not pay 22 percent on all $60,000 — you pay 10 percent on the first chunk, 12 percent on the middle chunk, and 22 percent only on the portion above $47,150.

The IRS publishes new brackets every year because they are adjusted for inflation. The brackets also differ based on your filing status: single, married filing jointly, married filing separately, and head of household each have their own bracket structure.

Step 4: Subtract Tax Credits

After calculating tax using the brackets, you subtract tax credits. A credit reduces your tax dollar-for-dollar, which makes it more valuable than a deduction. If you owe $3,000 in tax and you have a $500 credit, your tax drops to $2,500. If you had a $500 deduction instead, it would only reduce your taxable income by $500, saving you roughly $110 in tax (depending on your bracket).

Common credits include the Child Tax Credit (up to $2,000 per child under 17), the Earned Income Tax Credit (for lower-income workers), and the American Opportunity Credit (for education expenses). Some credits are refundable, meaning if the credit is larger than your tax, you receive the difference as a refund. Others are non-refundable, meaning they can reduce your tax to zero but not below.

Step 5: Compare to Withholding and Payments You Made

Throughout the year, your employer withholds federal income tax from your paycheck based on the W-4 form you completed. Self-employed people make quarterly estimated tax payments. These withholdings and payments are credited against the tax you owe.

If you withheld $4,500 during the year and your final tax is $3,800, you overpaid by $700 and receive a refund. If your final tax is $5,200, you owe an additional $700. The amount withheld depends on how you filled out your W-4 — if you claimed too many allowances, too little is withheld and you owe money at tax time. If you claimed too few, too much is withheld and you receive a refund.

How Self-Employment Tax Fits In

If you are self-employed, you owe both income tax (calculated as described above) and self-employment tax, which funds Social Security and Medicare. Self-employment tax is calculated separately on Schedule SE and is roughly 15.3 percent of your net self-employment income (after deducting business expenses).

You can deduct half of your self-employment tax from your gross income before calculating income tax, which provides some offset. But self-employment tax is owed in addition to income tax, not instead of it. If you earn $50,000 from self-employment, you owe income tax on that amount plus self-employment tax on top of it.

Why Your Refund or Amount Owed Varies Year to Year

Your tax changes when your income changes, when you have a major life event (marriage, child, home purchase), when tax law changes, or when you adjust your W-4. A larger refund does not mean you are getting assistance programs — it means you overpaid during the year and the IRS is returning your own money. A smaller refund or an amount owed means your withholding was closer to your actual tax, which is more efficient but requires you to plan for the payment.

Many people aim for a small refund or small amount owed because it means they did not give the government an interest-free loan all year. Others prefer a larger refund because it forces them to save. The W-4 form lets you adjust your withholding to hit either target.

Frequently Asked Questions

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

Your tax depends on your income, deductions, and credits that year — not on prior years. If you earned more this year, had fewer deductions, or lost a credit (like a child aging out of the Child Tax Credit), you may owe money even if you received a refund before. Your W-4 withholding is also independent each year, so if you did not update it after a life change, too little may have been withheld.

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

No. Tax brackets are marginal. If you earn $100,000 and the top bracket you fall into is 24 percent, you do not pay 24 percent on all $100,000. You pay 10 percent on the first portion, 12 percent on the next portion, 22 percent on the next, and 24 percent only on the income above the 22 percent bracket threshold. Your effective tax rate (total tax divided by total income) is always lower than your marginal rate.

Can I reduce my taxes by taking more deductions?

You can only deduct expenses that the tax code allows. You cannot invent deductions. If you do not own a home, you cannot deduct mortgage interest. If you did not make charitable donations, you cannot deduct them. You can choose between the standard deduction and itemizing, but you cannot exceed what you actually spent or what the law permits.

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

You will owe the difference when you file your return. If the amount is large, you may also owe a penalty for underpayment. You can adjust your W-4 at any time during the year to increase withholding, or you can make a voluntary payment to the IRS before year-end to avoid owing a large amount in April.

Is the standard deduction the same for everyone?

No. The standard deduction depends on your filing status (single, married filing jointly, head of household, etc.) and your age. People 65 and older get a higher standard deduction. The amount also changes every year. You can find the current year's standard deduction on the IRS website or on the instructions to Form 1040.