How to Find Total Income Tax on Form 1040: Lines 16 to 24

Your total tax on Form 1040 appears on Line 24. It is not the same as Line 16, which many people mistake for their full tax bill. Line 16 shows only the tax calculated on your taxable income. Line 24 is the complete figure the IRS considers your federal tax for the year, built by adding the alternative minimum tax, subtracting nonrefundable credits, and then adding additional taxes such as self-employment tax, the net investment income tax, and the 10% penalty on early retirement withdrawals.1Internal Revenue Service. Form 1040

If you are checking software output or a preparer’s work, the difference between Line 16 and Line 24 is where most surprises hide.

How Form 1040 Gets You From Line 16 to Line 24

The arithmetic runs in a fixed order. Line 16 is the tax on your taxable income. Schedule 2, Part I adds the alternative minimum tax and lands on Line 17. Lines 16 and 17 combine into Line 18. Nonrefundable credits come out on Lines 19 through 21, leaving Line 22. Schedule 2, Part II then adds other taxes, producing Line 23. Line 22 plus Line 23 equals Line 24, your total tax.1Internal Revenue Service. Form 1040

Each step below explains what feeds into that flow so you can trace your own number.

What Line 16 Actually Represents

Line 16 is the tax calculated directly on your taxable income from Line 15. If your taxable income is under $100,000, you find the amount in the IRS tax tables. At $100,000 or more, you use the Tax Computation Worksheet, which applies the graduated rates.2Internal Revenue Service. Publication 1040 (2025), Tax and Earned Income Credit Tables Federal rates run from 10% to 37% across seven brackets, and they are marginal, so only the income within a given bracket is taxed at that bracket’s rate.

If you had qualified dividends or long-term capital gains, Line 16 is calculated a bit differently. You use the Qualified Dividends and Capital Gain Tax Worksheet, or the Schedule D Tax Worksheet if certain kinds of gains or losses are in play. The worksheet applies the preferential 0%, 15%, or 20% rate to the qualifying portion and your ordinary rate to the rest, then combines the two into a single Line 16 figure.3Internal Revenue Service. Instructions for Form 1040 – Section: Line 16 Tax Which capital gains rate applies depends on your total taxable income and filing status.4Internal Revenue Service. Topic No. 409, Capital Gains and Losses

Alternative Minimum Tax on Line 17

The alternative minimum tax is a parallel calculation that adds back certain deductions and preferences to make sure high-income taxpayers do not reduce their regular tax too far. If the AMT figure comes out higher than your regular tax, the difference gets added as extra tax. You compute it on Form 6251, which flows to Schedule 2, Part I, and then to Line 17 of Form 1040.5Internal Revenue Service. 2025 Schedule 2 (Form 1040)

Common AMT triggers include exercising incentive stock options, interest from private activity bonds, large state and local tax deductions, and accelerated depreciation.6Internal Revenue Service. Instructions for Form 6251 (2025) Most filers never owe AMT, but the calculation is worth running if any of those situations apply to you.

Nonrefundable Credits Bring You to Line 22

Once Line 18 combines your regular tax and any AMT, nonrefundable credits are subtracted. These credits reduce your tax dollar for dollar but cannot take it below zero.

Line 19 holds the child tax credit and the credit for other dependents. Line 20 picks up other nonrefundable credits reported through Schedule 3, including the foreign tax credit, the child and dependent care credit, education credits, the saver’s credit, and residential clean energy credits.7Internal Revenue Service. Instructions for Form 1040 (2025) Line 21 adds those together, and Line 22 is what remains after subtracting Line 21 from Line 18.

If Line 22 looks higher than you expected, missing credits are a common cause. The gap between Line 18 and Line 22 should equal exactly the credits totaled on Line 21.

Additional Taxes on Line 23

Line 23 collects taxes that have nothing to do with the tax brackets. They come from separate forms, roll up through Schedule 2, Part II, and land on Line 23 of Form 1040.5Internal Revenue Service. 2025 Schedule 2 (Form 1040) For most people who have anything on this line, one or two of the following account for nearly all of it.

Self-Employment Tax

If you earned money as a sole proprietor, freelancer, or independent contractor, you owe self-employment tax covering both the employer and employee shares of Social Security and Medicare. The combined rate is 15.3%: 12.4% for Social Security and 2.9% for Medicare.8Internal Revenue Service. Self-Employment Tax (Social Security and Medicare Taxes) The Social Security portion applies to net earnings up to $184,500 in 2026, while the Medicare portion has no cap.9Social Security Administration. 2026 Cost-of-Living Adjustment (COLA) Fact Sheet You calculate it on Schedule SE. Half of it is deductible as an adjustment to income on the front of Form 1040, which is easy to overlook.

Net Investment Income Tax

The net investment income tax adds 3.8% on the lesser of your net investment income or the amount your modified AGI exceeds a threshold. Those thresholds are $200,000 for single filers, $250,000 for married filing jointly, and $125,000 for married filing separately. They are not adjusted for inflation.10Internal Revenue Service. Questions and Answers on the Net Investment Income Tax Investment income for this purpose covers interest, dividends, capital gains, rental income, and royalties. You figure it on Form 8960.11Internal Revenue Service. Form 8960

Additional Medicare Tax

An extra 0.9% Medicare tax applies to wages and self-employment income above $200,000 for single filers, $250,000 for joint filers, and $125,000 for married filing separately.12Internal Revenue Service. Questions and Answers for the Additional Medicare Tax Employers withhold it once wages pass $200,000 regardless of filing status, so joint filers sometimes discover a mismatch at year end. You reconcile the amount on Form 8959.13Internal Revenue Service. Instructions for Form 8959 (2025)

Early Retirement Distribution Penalty

If you took money from a traditional IRA or another qualified retirement plan before age 59½, the taxable portion of the distribution is generally hit with a 10% additional tax. Exceptions exist for a first home purchase, certain medical expenses, substantially equal periodic payments, and other specific situations. You report it on Form 5329.14Internal Revenue Service. Instructions for Form 5329 (2025) – Section: Part I Additional Tax on Early Distributions

Household Employment Taxes

Paid a nanny, housekeeper, or other household employee $3,000 or more in cash wages during 2026? You owe the employer share of Social Security and Medicare taxes on those wages, and possibly federal unemployment tax if you paid $1,000 or more in any calendar quarter. Schedule H does the math, and the result feeds Line 23.15Internal Revenue Service. Publication 926 (2026), Household Employers Tax Guide

Why Line 16 and Line 24 Can Diverge

For a W-2 employee with no AMT, few credits, and no additional taxes, Line 16 and Line 24 often sit close together. For anyone self-employed, with investment income above the NIIT thresholds, or who took an early retirement withdrawal, Line 24 can run substantially higher than Line 16. If your software shows a surprisingly large total tax, Schedule 2 is where the explanation lives.

What Line 24 Is Not

Line 24 is your total tax, but it is not what you owe when you file. The lines after it compare your total tax to what you have already paid. Lines 25 through 32 add up federal income tax withholding from W-2s and 1099s, estimated tax payments made during the year, and refundable credits like the earned income credit and the additional child tax credit. The difference between Line 24 and your total payments determines your refund or balance due.

If your withholding and estimated payments fell well short of Line 24, you may also owe an underpayment penalty. You can generally avoid it if you paid at least 90% of the current year’s tax or 100% of the prior year’s tax through withholding and estimated payments, or 110% of the prior year’s tax if your AGI exceeded $150,000.16Internal Revenue Service. Underpayment of Estimated Tax by Individuals Penalty If you owe a balance and miss the filing deadline, a failure-to-pay penalty of 0.5% per month accrues on the unpaid amount, up to a maximum of 25%.17Internal Revenue Service. Failure to Pay Penalty