How federal income tax is calculated
A Form 1040 return follows the same path every year:
- Total income — wages, interest, side income and other ordinary income.
- Adjusted gross income (AGI) — total income minus above-the-line items such as traditional 401(k) deferrals (already excluded from W-2 box 1) and HSA contributions.
- Taxable income — AGI minus the larger of the standard deduction or your itemized deductions (mortgage interest, state and local taxes, charitable gifts, large medical costs).
- Tax — taxable income run through the progressive brackets, minus credits such as the child tax credit.
- Refund or balance due — tax withheld from your paychecks and estimated payments, minus the tax.
Refund = withholding − (bracket tax on (AGI − deduction) − credits)
The brackets are marginal: only the dollars inside each band are taxed at that band's rate. Moving into a higher bracket never reduces your take-home pay — it only taxes the extra dollars more.
2026 tax brackets and standard deduction
For tax year 2026 (returns filed in 2027) the IRS inflation adjustments, as amended by the 2025 budget law (P.L. 119-21), set the standard deduction at $16,100 single, $32,200 married filing jointly and $24,150 head of household. The brackets for single filers and joint filers are:
| Rate | Single | Married filing jointly |
|---|---|---|
| 10% | up to $12,400 | up to $24,800 |
| 12% | $12,400 – $50,400 | $24,800 – $100,800 |
| 22% | $50,400 – $105,700 | $100,800 – $211,400 |
| 24% | $105,700 – $201,775 | $211,400 – $403,550 |
| 32% | $201,775 – $256,225 | $403,550 – $512,450 |
| 35% | $256,225 – $640,600 | $512,450 – $768,700 |
| 37% | over $640,600 | over $768,700 |
The 2026 elective deferral limit for a 401(k) is $24,500 (before catch-up contributions), and HSA limits are $4,400 for self-only and $8,750 for family coverage.
Worked example: single filer earning $85,000
With the calculator's defaults — single, $85,000 of wages, $1,500 of other income, $6,000 to a traditional 401(k), $1,500 to an HSA and $9,500 withheld:
- AGI = 85,000 + 1,500 − 6,000 − 1,500 = $79,000.
- Taxable income = 79,000 − 16,100 standard deduction = $62,900.
- Tax = 10% × 12,400 ($1,240) + 12% × 38,000 ($4,560) + 22% × 12,500 ($2,750) = $8,550.
- Refund = 9,500 − 8,550 = $950.
The marginal rate is 22%, but the effective rate on $86,500 of total income is only about 9.9%. Every extra dollar put into the 401(k) or HSA would save 22 cents of federal tax.
What this estimate leaves out
This is a planning estimate, not a tax return. It treats all income as ordinary income and does not apply the lower rates on qualified dividends and long-term capital gains, the 15.3% self-employment tax, the additional standard deduction and new senior deduction for people 65 and over, the refundable part of the child tax credit, the earned income credit, the alternative minimum tax, or state income tax. Credits you enter are applied only up to your tax. If you expect to owe more than $1,000, consider raising your W-4 withholding or making estimated payments to avoid an underpayment penalty.
Frequently asked questions
Why am I getting a refund?
A refund means your employer withheld more during the year than your actual tax, often because of deductions, credits or pre-tax contributions that your W-4 did not reflect. It is your own money coming back, not a bonus.
Should I itemize or take the standard deduction?
Take whichever is larger. With a $16,100 single or $32,200 joint standard deduction in 2026, itemizing usually pays only with a large mortgage, high state and local taxes or big charitable gifts. The calculator picks the larger one automatically.
What is the difference between marginal and effective tax rate?
The marginal rate applies to your next dollar of taxable income. The effective rate is total tax divided by total income, and is always lower because the first dollars are taxed at 0%, 10% and 12%.
Does a deduction or a credit save more?
A $1,000 credit cuts your tax by $1,000. A $1,000 deduction cuts taxable income, saving $1,000 times your marginal rate — $220 in the 22% bracket.
Sources & references
Last reviewed: