Taxstra Logo
Tax Answer

How to Calculate AGI

Adjusted gross income is the single most consequential number on your return. Here is how it is built, and a calculator that shows you the math.

A guide by Taxstra Tax & Accounting · CPA-led tax strategy for business owners

Written by Bryan Martin, CPA, Managing Partner and Founder of Taxstra. Last updated August 15, 2026.

Quick answer

Adjusted gross income is total income minus above-the-line adjustments. Add wages, interest, dividends, business profit, capital gains, rental income, and taxable retirement distributions, then subtract items like deductible retirement contributions, HSA contributions, and student loan interest. AGI appears on line 11 of Form 1040.

Adjusted gross income sits in the middle of your tax return and quietly decides more than the numbers around it. It is not what you are taxed on, and it is not what you earned. It is the figure the tax code uses to decide what you qualify for.

Two people with identical gross income and identical tax bills can have very different AGIs, and the one with the lower figure will be eligible for benefits the other is phased out of. That is the whole reason this number is worth understanding.

Calculate Your AGI

Enter what you have. The math updates as you type.

AGI Calculator

Enter the amounts you have. Anything left blank counts as zero.

Step 1: Total income

$

Box 1 of every W-2

$

Forms 1099-INT and 1099-DIV

$

Net profit from Schedule C

$

Net gain from Schedule D

$

Schedule E, including K-1 income

$

Taxable portion from Form 1099-R

$

Unemployment, taxable Social Security, and similar

Step 2: Above the line adjustments

$

Traditional IRA, SEP, SIMPLE, or solo 401(k) employer portion

$

Payroll contributions are already excluded from W-2 box 1

$

Roughly half of the self-employment tax you owe

$

Available only if not eligible for an employer plan

$

Subject to an income phase-out

$

Eligible K-12 educators only

$

Early withdrawal penalty, qualifying alimony paid, and similar

Total income$0
Less total adjustments$0
Adjusted gross income$0

Educational estimate only, not a filing figure. Several adjustments carry their own income phase-outs and eligibility tests that this tool does not apply.

The most commonly missed adjustment
Self-employed filers can deduct roughly half of their self-employment tax as an above-the-line adjustment. It is automatic in software but frequently omitted when people estimate their own AGI, and on meaningful self-employment income it is not a small number.

What Counts as Income

Broader than most people assume, with a few notable exclusions.

Counts toward AGI

  • Wages, salary, tips, and bonuses
  • Interest and dividend income
  • Net business profit and gig income
  • Capital gains, short and long term
  • Rental and pass-through income
  • Taxable retirement distributions
  • Unemployment compensation
  • The taxable portion of Social Security
  • Gambling and prize winnings

Does not count

  • Qualified Roth distributions
  • Municipal bond interest, for AGI purposes
  • Gifts and inheritances received
  • Life insurance death benefits
  • Qualified HSA withdrawals for medical costs
  • Most personal injury settlements
  • Employer health insurance premiums
  • Return of your own capital
Watch Out

Tax-exempt does not always mean invisible

Municipal bond interest is excluded from AGI, but it is added back for the provisional income test that determines how much of your Social Security is taxable, and it appears in several modified AGI calculations. Excluded from one figure is not excluded from all of them.

The Adjustments That Come Off First

Above the line, meaning they reduce AGI itself.

These live in Part II of Schedule 1. They are available whether you itemize or take the standard deduction, which is what makes them structurally more valuable than itemized deductions of the same size.

AdjustmentWho it applies to
Traditional IRA contributionsDeductibility phases out if you or a spouse is covered by a workplace plan
SEP, SIMPLE, and qualified plan contributionsSelf-employed filers, including the employer side of a solo 401(k)
HSA contributionsAnyone with a qualifying high deductible plan, if made outside payroll
Deductible part of self-employment taxEvery filer with self-employment income
Self-employed health insuranceSelf-employed filers not eligible for an employer plan
Student loan interestSubject to an income phase-out that excludes most high earners
Educator expensesEligible K-12 educators, up to an annual cap
Early withdrawal penaltyAnyone charged a penalty for cashing a CD early, from 1099-INT box 2
Taxstra CPA Tip

Taxstra Tip

For a self-employed high earner, the single largest available AGI adjustment is usually the retirement plan contribution, and the plan type sets the ceiling. The gap between what an IRA allows and what a properly structured solo plan allows is often an order of magnitude.

AGI vs MAGI vs Taxable Income

Three different numbers doing three different jobs.

FigureHow it is builtWhat it does
AGITotal income minus above-the-line adjustmentsSets eligibility thresholds and deduction floors
MAGIAGI plus specific add-backs, defined separately for each provisionRoth eligibility, IRA deductibility, net investment income tax, Medicare surcharges
Taxable incomeAGI minus the standard or itemized deduction, minus the QBI deductionThe figure the tax rate schedule is actually applied to
Watch Out

There is no single MAGI

MAGI is not a line on your return. Each provision that uses it defines its own add-back list, so the MAGI that determines whether you can contribute to a Roth IRA is a different figure from the MAGI that triggers the net investment income tax. Software handles this; mental math usually does not.

Why AGI Controls So Much

The list of things keyed to this one number is longer than most people realize.

Deduction floors

Medical expenses are only deductible above a percentage of AGI. A lower AGI means more of the same expense clears the floor.

Credit phase-outs

Education credits, the child tax credit, the adoption credit, and the retirement savings credit all phase out over income ranges keyed to AGI or a MAGI variant.

Retirement account access

Whether you can deduct a traditional IRA contribution, and whether you can contribute to a Roth IRA at all, both turn on modified AGI.

Surtaxes and premiums

The net investment income tax and Medicare premium tiers are both driven by modified AGI, and both are cliff-shaped rather than gradual.

Identity verification

Prior year AGI is what the IRS uses to authenticate an electronically filed return. Getting it wrong causes a rejection, and it is retrievable free from a tax transcript.

The practical takeaway is that lowering AGI does double duty: it reduces taxable income and it improves your position against every threshold above. The full set of moves is in the taxable income playbook. For deductions that sit below the line and therefore cannot help these tests, bunching is the usual answer. If you need a prior year figure, pull it from a free IRS transcript, and if you want to see where line 11 sits in the overall return, start with the Form 1040 walkthrough. State and local tax deductibility interacts with all of this through the SALT cap, which has its own AGI-based phase-down.

Every Dollar Above the AGI Line Is Worth More

Retirement plan selection, entity structure, and HSA strategy all subtract before AGI, which means they also unlock credits and thresholds below it. Book a free initial consultation.

Frequently Asked Questions

Add every source of taxable income, including wages, interest, dividends, business profit, capital gains, rental income, and taxable retirement distributions. Then subtract the above-the-line adjustments listed in Part II of Schedule 1, such as deductible retirement contributions, HSA contributions, and student loan interest. The result is your AGI.

Lowering AGI Is a Planning Exercise, Not a Filing One

By the time you are entering numbers in April, the year is closed. A Taxstra CPA will map the moves that are still available to you. The initial consultation is free.

Next Steps

Filing it yourself is fine. Optimizing it is where the money is.

Getting the form right keeps you out of trouble. The strategies below are what actually lower the bill.

Want a CPA to run the numbers for you?

Free 30-minute call with a Taxstra CPA. No pressure, just the math for your situation.

Book a Free Consultation