What Is Line 22 on Form 1040 and How Is It Calculated?

Line 22 on Form 1040 is your income tax after nonrefundable credits have been subtracted, but before additional taxes such as self-employment tax are added in. It is a subtotal, not your final tax. The formula is straightforward: take Line 18 and subtract Line 21. If your credits are larger than Line 18, Line 22 is zero.

The Calculation in One Step

Line 22 = Line 18 − Line 21.

Line 18 is the sum of Line 16 (your income tax) and Line 17 (certain taxes from Schedule 2, Part I). Line 21 is the total of your nonrefundable credits from Lines 19 and 20. Subtract one from the other and enter the result on Line 22. Nonrefundable credits can bring Line 22 to zero, but they cannot push it below zero or generate a refund on their own.1Internal Revenue Service. Line-by-Line Instructions Free File Fillable Forms

What Feeds Line 18

Line 16: Your Income Tax

Line 16 is usually the biggest number in the calculation. For most filers it comes straight from the IRS tax tables or the Tax Rate Schedules, applied to the taxable income on Line 15 (adjusted gross income minus your standard or itemized deduction).2Internal Revenue Service. IRS Form 1040 – 2025 U.S. Individual Income Tax Return

If you have qualified dividends or long-term capital gains, the instructions send you to the Qualified Dividends and Capital Gain Tax Worksheet instead. That worksheet applies preferential rates of 0%, 15%, or 20% to your investment income depending on total taxable income and filing status. The result still lands on Line 16, usually lower than what the ordinary rates would produce.

Line 17: Schedule 2, Part I

Schedule 2 has two parts that flow to different places on the 1040. Only Part I feeds Line 22, through Line 17. The main items in Part I are:3Internal Revenue Service. Schedule 2 (Form 1040) 2025 Additional Taxes

  • Alternative Minimum Tax, calculated on Form 6251 and reported on Line 2 of Schedule 2. The AMT sets a floor so that high-income filers can’t use certain deductions and exclusions to shrink their bill below a minimum.4Internal Revenue Service. Topic No. 556, Alternative Minimum Tax
  • Repayment of excess advance premium tax credits, which applies if you got marketplace health insurance subsidies and your actual income came in higher than you estimated at enrollment.

Add Line 16 and Line 17 together and you have Line 18, the figure that credits will come off of.

What Comes Off on Line 21

Line 21 is the total of your nonrefundable credits, split across two lines on the 1040:

Line 19 is the child tax credit and credit for other dependents, calculated on Schedule 8812.

Line 20 is the total from Schedule 3, Part I, which gathers the rest of your nonrefundable credits, including the foreign tax credit, the child and dependent care credit, education credits (American Opportunity and Lifetime Learning), the retirement savings contributions credit, and residential energy credits for improvements like solar panels and heat pumps.5Internal Revenue Service. Schedule 3 (Form 1040) 2025

Each of these reduces Line 18 dollar for dollar until it hits zero. Whatever remains after subtracting Line 21 from Line 18 is your Line 22.

Why Line 22 Isn’t Your Total Tax

Line 22 is often mistaken for the bottom line. It isn’t. The label “This is your total tax” belongs to Line 24, one step further down. Line 23 adds in Schedule 2, Part II, and Lines 22 and 23 together produce Line 24.2Internal Revenue Service. IRS Form 1040 – 2025 U.S. Individual Income Tax Return

The distinction matters because several substantial taxes travel through Part II and bypass Line 22 entirely. Nonrefundable credits do not offset them. Among the taxes that land on Schedule 2, Part II and skip Line 22:

If any of these apply to you, your actual total tax on Line 24 will be higher than Line 22, sometimes considerably. A self-employed filer whose income tax is wiped out by credits can still owe thousands in self-employment tax that shows up only after Line 22.

Reading Your Own Line 22

A few things Line 22 tells you at a glance:

If Line 22 is zero, your nonrefundable credits fully absorbed your income tax and AMT for the year. You may still owe money at the bottom of the return if you have Part II taxes on Line 23, but the income-tax portion of the bill has been covered by credits.

If Line 22 is smaller than Line 18, the difference is exactly the credits you claimed on Line 21. That gap is a useful check on whether Schedule 8812 and Schedule 3 flowed through correctly.

If Line 22 equals Line 24, you have no Schedule 2, Part II taxes, and the credits and payments that come after Line 24 are working against the same number you calculated at Line 22.

Once Line 24 is set, the form moves on to withholding, estimated payments, and refundable credits like the Earned Income Tax Credit and the Additional Child Tax Credit, which can generate a refund even when your total tax is zero.10Internal Revenue Service. Refundable Tax Credits Those numbers determine whether you get money back or owe a balance, but they do not change Line 22.