The basic formula: taxable income times your tax rate

Federal income tax is calculated by taking your taxable income — the money you earned minus certain deductions — and multiplying it by your tax rate. Your tax rate is not a single number. Instead, the federal government uses tax brackets, which means different portions of your income are taxed at different rates. The more you earn, the higher the rate applied to each additional dollar, but only to income that falls within that bracket.

The IRS publishes new tax brackets every year because they adjust for inflation. For example, in 2024, a single filer might pay 10% on the first $11,600 of taxable income, then 12% on income between $11,601 and $47,150, and so on. You do not pay 12% on all your income — only on the portion that falls in that bracket. This is why people say they are "in the 22% bracket" or "in the 24% bracket," but their actual tax rate (called their effective tax rate) is usually lower.

Key Takeaways

  • Taxable income is your total income minus the standard deduction (or itemized deductions) and certain other reductions like contributions to a traditional 401(k).
  • Tax brackets mean you pay different rates on different portions of your income, not one rate on everything you earn.
  • The IRS tax tables or tax software do the bracket math for you; you do not have to calculate it by hand.
  • Your W-4 form at work tells your employer how much tax to withhold from each paycheck, which should roughly equal what you owe at tax time.
  • Most people use tax software or a tax preparer rather than calculating by hand, because the rules change yearly and vary by state.

Step 1: Start with your gross income

Gross income is all the money you received during the year before any deductions. This includes wages from your job, self-employment income, interest from a savings account, dividends from investments, rental income, and other sources. If you received a W-2 form from an employer, the amount in Box 1 is your gross wages for that job.

If you are self-employed, you calculate gross income by adding up all revenue from your business, then subtracting business expenses (supplies, equipment, rent for a workspace, and so on). The result is your net self-employment income, which is what counts toward your gross income for tax purposes.

Step 2: Subtract above-the-line deductions

Before you get to the standard deduction, the IRS lets you subtract certain expenses directly from gross income. These are called above-the-line deductions or adjustments to income. Common ones include contributions to a traditional IRA (up to a limit), contributions to a traditional 401(k) or similar workplace retirement plan, student loan interest (up to $2,500 per year), and self-employment tax (half of what you owe as a self-employed person).

After you subtract these, you arrive at your adjusted gross income, or AGI. This number matters because many other tax benefits and deductions phase out based on your AGI. Your tax return will show your AGI clearly — it is a key number the IRS uses.

Step 3: Subtract the standard deduction or itemize

Next, you subtract either the standard deduction or your itemized deductions, whichever is larger. The standard deduction is a flat amount set by the IRS each year. In 2024, it is $14,600 for a single filer, $29,200 for married filing jointly, and $21,900 for head of household. These amounts increase slightly each year.

Itemized deductions are specific expenses you can list instead of taking the standard deduction. They include mortgage interest, state and local taxes (up to $10,000), charitable donations, and medical expenses above a certain threshold. Most people take the standard deduction because it is simpler and larger than their itemized deductions would be. You choose whichever gives you the bigger reduction.

After you subtract the standard deduction (or itemized deductions), you have your taxable income. This is the number you will use to look up your tax in the tax tables or calculate it using the brackets.

Step 4: Use tax brackets to find your tax

Once you know your taxable income, you explore the tax brackets for your filing status. The IRS publishes tax tables and bracket schedules every year. If your taxable income is $50,000 and you are single, you would look at the single filer brackets and calculate the tax owed on each portion of that $50,000.

In practice, almost no one does this by hand. Tax software (like TurboTax, H&R Block, or the IRS Free File program) does it automatically. If you use a tax preparer, they do it for you. The software or preparer enters your taxable income, selects your filing status, and the brackets are applied correctly.

The result is your total tax — the amount you owe before any credits or payments you have already made.

Step 5: Subtract tax credits and payments

Tax credits are different from deductions. A deduction reduces your taxable income; a credit reduces the actual tax you owe, dollar for dollar. Common credits include the Earned Income Tax Credit (EITC), the Child Tax Credit, and the American Opportunity Credit for education expenses. If you owe $3,000 in tax and you have a $1,500 credit, your tax drops to $1,500.

Then you subtract any tax payments you have already made during the year. These include federal income tax withheld from your paychecks (shown on your W-2), estimated tax payments you made as a self-employed person, and any tax paid with an extension. If your total withholding and payments exceed your tax, you get a refund. If your tax exceeds what you paid, you owe the difference.

Why your paycheck withholding matters

Your employer does not know exactly how much tax you will owe at the end of the year. Instead, you fill out a W-4 form when you start a job, telling your employer how much tax to withhold from each paycheck. The W-4 asks about your filing status, how many jobs you have, and whether you have dependents or other income. Based on your answers, your employer withholds an estimated amount.

The goal is to withhold roughly the right amount so that when you file your tax return, you either owe a small amount or get a small refund. If you withhold too much, you get a larger refund. If you withhold too little, you owe money at tax time. You can adjust your W-4 during the year if you realize your withholding is off — for example, if you got married, had a child, or took a second job.

Why most people use software or a preparer

The rules change every year. Tax brackets shift, deduction limits change, new credits appear, and phase-out thresholds move. The standard deduction for 2024 is different from 2023, which was different from 2022. Keeping track of all this by hand is error-prone and time-consuming.

Tax software walks you through questions about your income, deductions, and life situation, then calculates your tax automatically using the current year's rules. The IRS offers Free File, a program for people earning below a certain income threshold (around $79,000 in recent years), which includes free tax software from private companies. If you earn more or prefer help, a tax preparer or CPA can handle the calculation and filing for you.

Frequently Asked Questions

Why is my effective tax rate lower than my tax bracket?

Because you only pay the higher rate on income that falls in that bracket. If you are in the 22% bracket, that means 22% applies to a portion of your income — not all of it. The portions below that are taxed at 10% and 12%. Your effective rate is your total tax divided by your total taxable income, which averages out to something lower than your highest bracket.

Do I have to calculate my tax myself?

No. Tax software does the calculation for you based on the information you enter. The IRS Free File program is available to people earning below a certain threshold and includes free software from multiple companies. If you earn more or prefer not to use software, you can hire a tax preparer or CPA to calculate and file your return.

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

You will owe money when you file your tax return. You can adjust your W-4 form at work to increase withholding for the rest of the year, or you can pay the amount owed when you file. If you are self-employed, you can make estimated tax payments quarterly to avoid a large bill at tax time.

Does state income tax use the same brackets as federal tax?

No. State tax brackets, rates, and deductions are set by each state and vary widely. Some states have no income tax at all. You calculate state tax separately using your state's brackets and rules, usually after you have calculated your federal tax. Tax software handles both federal and state calculations.

Can I claim deductions if I take the standard deduction?

No. You choose either the standard deduction or itemized deductions, not both. Most people take the standard deduction because it is larger. You would only itemize if your specific deductions (mortgage interest, charitable donations, state taxes, and so on) add up to more than the standard deduction for your filing status.