What you actually owe depends on your income, filing status, and deductions

Federal income tax is calculated in layers. You start with your total income, subtract deductions to get your taxable income, then use the tax tables or tax brackets for your filing status to find what you owe. The result is your tax liability — the number you compare against what you've already paid through withholding or estimated payments.

The math itself is straightforward. The complexity comes from deciding what counts as income, which deductions you can take, and whether your situation triggers special rules. This guide walks through the actual steps in the order the IRS uses them.

Key Takeaways

  • Start with all income from wages, self-employment, investments, and other sources, then subtract above-the-line deductions to reach adjusted gross income (AGI).
  • From AGI, subtract either the standard deduction or itemized deductions to get taxable income.
  • Use the tax bracket table for your filing status to calculate tax on your taxable income, then subtract any credits you're may have access to to.
  • The result is your total tax liability, which you compare to withholding and estimated payments already made.
  • Self-employed people and those with investment income face additional calculations for self-employment tax and net investment income tax.

Step 1: Add up all your income sources

Income includes wages from a W-2 job, self-employment earnings, interest, dividends, capital gains, rental income, retirement distributions, and other sources. The IRS calls this your gross income. You report it on Form 1040 and supporting schedules depending on the type.

Wages appear on your W-2. Self-employment income goes on Schedule C. Interest and dividends go on Schedule B. Capital gains (profit from selling investments or property) go on Schedule D. Rental income goes on Schedule E. If you received unemployment benefits, Social Security, or distributions from retirement accounts, those have their own lines on Form 1040.

Some income is not taxable — for example, gifts, inheritances, and life insurance proceeds. Municipal bond interest is also tax-free at the federal level. If you received income that's not taxable, you don't include it in gross income.

Step 2: Subtract above-the-line deductions to find AGI

Above-the-line deductions reduce your gross income before you calculate AGI. The main ones are contributions to traditional IRAs, student loan interest (up to $2,500 per year), educator expenses, and self-employment tax deduction (half of what you paid in self-employment tax). If you're self-employed, you also deduct half your self-employment tax here.

Adjusted Gross Income (AGI) is what you get after subtracting these deductions from gross income. AGI matters because many other tax benefits and limitations are based on it. For example, the amount of child tax credit you can claim, whether you can deduct IRA contributions, and whether you owe the net investment income tax all depend on your AGI.

You report gross income and above-the-line deductions on Form 1040, and the result is your AGI, which appears on line 11.

Step 3: Choose standard or itemized deductions

From your AGI, you subtract either the standard deduction or itemized deductions — whichever is larger. The standard deduction is a flat amount that depends on your filing status and age. For 2024, the standard deduction is $14,600 for single filers, $29,200 for married filing jointly, and $21,900 for head of household. These amounts increase slightly each year for inflation.

Itemized deductions are the sum of specific expenses: state and local taxes (capped at $10,000), mortgage interest, charitable donations, and medical expenses above 7.5% of your AGI. You itemize if your total deductions exceed the standard deduction. Most people use the standard deduction because it's simpler and larger.

The result after subtracting either deduction is your taxable income. This is the number you use to calculate your actual tax.

Step 4: Use tax brackets to calculate your tax

Tax brackets are progressive: you pay different rates on different portions of your income. For 2024, the federal brackets for single filers are 10%, 12%, 22%, 24%, 32%, 35%, and 37%. The bracket you fall into depends on your taxable income and filing status.

You do not pay the top rate on all your income. If you're single with $50,000 in taxable income, you pay 10% on the first $11,600, then 12% on the next $47,150 (up to $58,750), then 22% on the remainder. The IRS publishes tax tables that do this calculation for you — you look up your taxable income and filing status, and the table shows your tax.

This is your income tax before credits. It's not yet your final bill, because you still subtract any tax credits you're may have access to to.

Step 5: Subtract tax credits to find your total tax liability

Tax credits directly reduce the tax you owe, dollar for dollar. The main ones are the child tax credit ($2,000 per may have access to child), the earned income tax credit (for lower-income workers), the American opportunity credit (for education expenses), and the saver's credit (for retirement contributions). Some credits are refundable, meaning if the credit exceeds your tax, you get the difference back as a refund.

Subtract your total credits from your income tax. The result is your total tax liability — what you actually owe to the federal government.

Step 6: Compare to withholding and payments already made

Throughout the year, your employer withheld federal income tax from your paychecks (shown on your pay stub and reported on your W-2). If you're self-employed, you made quarterly estimated tax payments. These are credits against your total tax liability.

If your withholding and payments exceed your tax liability, you get a refund. If they fall short, you owe the difference when you file. If you're self-employed or have significant investment income, you may also owe self-employment tax or net investment income tax, which are calculated separately and added to your income tax.

Special situations: self-employment tax and net investment income tax

If you're self-employed, you owe self-employment tax in addition to income tax. This covers Social Security and Medicare for self-employed people. You calculate it on Schedule SE using your net self-employment income (your business income minus business expenses). The rate is 15.3% (12.4% for Social Security on income up to a cap, and 2.9% for Medicare on all income). You deduct half of what you owe as an above-the-line deduction.

If you have significant investment income — interest, dividends, capital gains, or rental income — you may owe the net investment income tax, which is an additional 3.8% tax on the lesser of your net investment income or the amount your modified AGI exceeds $200,000 (single) or $250,000 (married filing jointly). This is calculated on Form 8960 and added to your total tax.

Frequently Asked Questions

Do I have to use tax software or can I calculate by hand?

You can calculate by hand using the IRS tax tables and worksheets, though it's tedious and error-prone for anything beyond a straightforward W-2 job. Tax software walks you through the same steps and catches common mistakes. The IRS also offers free software through its Free File program if your income is below a certain threshold.

What if I made a mistake calculating my tax?

If you filed and later realized you made an error, you can file an amended return using Form 1040-X. You have three years from the original due date to claim a refund, but the IRS can assess additional tax for up to ten years in some cases. If the error is small, it may not be worth amending.

How do I know if I need to file at all?

You must file if your gross income exceeds the standard deduction for your filing status. Even if you don't owe tax, filing may get you a refund of withheld taxes or a refundable credit like the earned income tax credit. Self-employed people must file if their net self-employment income is $400 or more.

Can I reduce my tax by timing income or deductions?

Yes, in some cases. If you expect lower income next year, deferring income to next year or accelerating deductions into this year can lower your tax. This works best if you control the timing — for example, if you're self-employed or have investment income. Wage earners have less flexibility. A tax professional can model the impact for your situation.

What's the difference between tax and taxable income?

Taxable income is the number you use to calculate tax using the brackets. Tax is the dollar amount you owe after explore those brackets and subtracting credits. A $50,000 taxable income does not mean you owe $50,000 in tax — you owe roughly $5,700 (for a single filer in 2024) because of the progressive bracket system.