How the IRS Calculates Your Refund Step by Step
The IRS refund calculation looks intimidating on Form 1040, but the underlying logic is a four-step subtraction problem. Understanding the sequence helps you predict your refund months before filing and spot errors in tax software before you submit.
Step 1: Gross income to adjusted gross income (AGI)
Start with everything you were paid — wages, freelance income, dividends, interest, rental income, retirement distributions. From that total, subtract above-the-line adjustments: student loan interest (up to $2,500), alimony paid under pre-2019 agreements, self-employed health insurance, the deductible portion of self-employment tax, and contributions to a traditional IRA or SEP-IRA if eligible. The result is your Adjusted Gross Income, printed on Line 11 of Form 1040.
Step 2: AGI to taxable income
Subtract either the standard deduction or your itemized deductions — whichever is larger. For 2026 that's $15,000 (single), $30,000 (MFJ), or $22,500 (HoH). Also subtract the qualified business income (QBI) deduction if you have eligible self-employment or pass-through income. What remains is your taxable income.
Step 3: Taxable income to tax liability
Apply the marginal brackets to taxable income. The IRS provides Tax Table A in the 1040 instructions for manual lookup, or you can use the Tax Computation Worksheet for incomes above $100,000. Long-term capital gains and qualified dividends are taxed at preferential 0%, 15%, or 20% rates and are calculated separately on the Qualified Dividends and Capital Gain Tax Worksheet.
Step 4: Tax liability minus credits
Credits reduce your liability dollar-for-dollar, which makes them more valuable than deductions. Non-refundable credits (like the Child and Dependent Care Credit, the Saver's Credit, or the American Opportunity Credit for the first $1,500) can reduce your liability to zero but not below. Refundable credits — EITC, the refundable portion of the Child Tax Credit, and the refundable American Opportunity Credit — can produce a refund even if your tax liability was already zero.
Step 5: Subtract payments already made
Your final tax liability is compared to payments already made: federal income tax withheld (from W-2 and 1099 forms), estimated tax payments (Form 1040-ES), and any prior-year overpayment applied to this year. If payments exceed liability, the difference is your refund. If liability exceeds payments, you owe the difference — plus potentially an underpayment penalty if you underpaid by more than $1,000.
Common places where filers miscalculate
- Using gross income instead of taxable income when estimating brackets.
- Forgetting state withholding from W-2s — it appears in Box 17, separate from federal in Box 2.
- Missing the Additional Medicare Tax (0.9%) on wages above $200k single / $250k MFJ.
- Calculating the Child Tax Credit without the phase-out: it reduces by $50 per $1,000 of AGI above $200k single / $400k MFJ.
Our IRS Tax Refund Calculator automates Steps 1 through 5. It uses 2026 brackets, standard deductions, and FICA rates, and shows a per-line breakdown so you can see exactly where your refund comes from.
Sources: IRS Form 1040 and instructions (tax year 2025), IRS Publication 17, and IRS Revenue Procedure 2023-34.