Adjusted Gross Income: The Single Number That Quietly Decides What You're Allowed to Do Each Year
Your tax bill does not start from your salary, it starts from a modified figure with several deductions already subtracted out. That figure then silently gates whether you can contribute to a Roth IRA, deduct a traditional IRA contribution, or claim a slate of other benefits years down the road, which is why a number most people never think about is worth understanding precisely.
The core principle
Adjusted gross income (AGI) is your total gross income, meaning wages, interest, dividends, capital gains, rental income, and business income, minus a specific list of so-called "above the line" adjustments, such as deductible traditional IRA contributions, health savings account contributions made outside of payroll, and the deductible portion of self-employment tax. In formula form: AGI = gross income − above-the-line adjustments. AGI is not your taxable income; it is the checkpoint that comes before taxable income, which is calculated separately as AGI minus either the standard deduction or itemized deductions.
The term "above the line" refers to a specific line on the tax return, historically the line where AGI itself is calculated, before the standard or itemized deduction is applied below it. Above-the-line deductions are generally more valuable than an equivalent dollar of itemized deduction, because they are available to every filer regardless of whether they itemize, and because lowering AGI directly can unlock other benefits that are gated by AGI or MAGI thresholds, an effect an itemized deduction, applied further down the return, does not have.
AGI matters disproportionately because dozens of unrelated tax rules use it, or a close cousin called modified adjusted gross income (MAGI), as their eligibility gate. Roth IRA contribution limits phase out based on MAGI. The deductibility of a traditional IRA contribution, if you or a spouse have a workplace plan, phases out based on MAGI. Premium tax credits under the Affordable Care Act, the 3.8% net investment income tax, and Medicare's IRMAA surcharges all key off some version of this same figure. Two households with identical salaries can face very different outcomes on all of these fronts depending on what adjustments each one takes.
It is worth being precise about the sequence, since the terms get used loosely. Total income comes first. Subtracting above-the-line adjustments produces AGI. Subtracting the standard deduction or itemized deductions from AGI produces taxable income, the figure tax brackets actually apply to. MAGI is a further variant, calculated by adding certain items back to AGI, such as the foreign earned income exclusion or, for some provisions, tax-exempt municipal bond interest, specifically because different rules define MAGI slightly differently depending on which benefit is being tested. There is no single universal MAGI figure; there is a family of closely related calculations, each built for a specific purpose.
How the math works
Example 1: building AGI from the ground up. The cleanest way to understand AGI is to build it from scratch, one line at a time, rather than treat it as an abstract deduction. Consider a salaried employee with $145,000 in wages, $1,200 in taxable interest, and $2,500 in short-term capital gains, for total gross income of $145,000 + $1,200 + $2,500 = $148,700. During the year, this person contributes $7,000 to a deductible traditional IRA, $4,150 to an HSA outside of payroll, and pays $2,500 of deductible student loan interest, for total above-the-line adjustments of $7,000 + $4,150 + $2,500 = $13,650. AGI is therefore $148,700 − $13,650 = $135,050. Note that pre-tax 401(k) contributions never entered this calculation at all, because they are excluded from wages on the W-2 before gross income is even reported, a different mechanism than an above-the-line deduction but one that lowers AGI just as effectively.
Example 2: how AGI position determines a real dollar limit. Roth IRA eligibility phases out over a MAGI band; suppose that band for a single filer runs from $146,000 to $161,000, a $15,000-wide range. A single filer with MAGI of $153,500 sits $153,500 − $146,000 = $7,500 into that range, which is $7,500 / $15,000 = 50% of the way through it. Her maximum Roth IRA contribution is reduced by that same 50%: if the full annual limit is $7,000, her allowed contribution drops to roughly $3,500. Move her MAGI down by even $3,000, perhaps through a larger HSA or traditional 401(k) contribution, and she moves meaningfully back toward the full limit, purely because of where her AGI-derived figure lands inside a fixed dollar band.
How it shows up in real portfolios
A common high-earning-professional scenario: a physician couple with combined AGI around $310,000 finds themselves entirely phased out of direct Roth IRA contributions, since their income sits well above the top of the relevant MAGI range for joint filers. Rather than giving up on Roth savings, they use a backdoor Roth IRA: each contributes to a nondeductible traditional IRA, then converts that balance to Roth. The maneuver works cleanly only when it does not trigger the pro-rata rule, which requires checking whether either spouse holds other pre-tax IRA balances first.
A second common scenario involves a self-employed consultant near the upper edge of an ACA premium tax credit cliff. By making a larger SEP-IRA contribution before year end, which is an above-the-line adjustment, she lowers her AGI enough to stay under the income threshold that preserves a meaningful subsidy, turning a retirement contribution into a decision that also protects thousands of dollars in health insurance credits for the year.
A third scenario, familiar to anyone approaching Medicare age, involves a retiree who realizes a large capital gain or completes a sizable Roth conversion two years before enrolling in Medicare. Because IRMAA surcharges on Medicare Part B and Part D premiums are based on a tax return filed two years earlier, a single high-AGI year, even one driven by a one-time event rather than ongoing income, can quietly raise Medicare premiums for an entire subsequent year. Retirees managing this deliberately often spread large conversions or gains across multiple lower-income years specifically to avoid tripping an IRMAA bracket that then persists regardless of how modest their income becomes afterward.
Actionable breakdown
- Know what lowers AGI directly:
- Deductible traditional IRA contributions.
- HSA contributions made outside payroll.
- Deductible self-employment retirement contributions.
- Certain deductible student loan interest.
- Pre-tax 401(k) deferrals, handled through payroll instead.
- Know what AGI then controls:
- Roth IRA contribution eligibility.
- Traditional IRA deduction eligibility with a workplace plan.
- ACA premium tax credit amounts.
- Medicare IRMAA surcharge tiers, via a prior year's figure.
- Eligibility for certain education tax credits.
- Before year end, check where you land in any relevant AGI band.
- Coordinate large one-time income events across tax years when possible.
- Recheck the current year's exact dollar thresholds, since they are indexed annually.
Common pitfalls
- Confusing AGI with taxable income, which is a separate, later calculation that comes after the standard or itemized deduction is subtracted from AGI.
- Not realizing a traditional IRA or HSA contribution can lower AGI enough to unlock a completely different, unrelated benefit, like Roth eligibility.
- Assuming MAGI always equals AGI, when several specific rules add back different items, such as certain foreign income exclusions or tax-exempt municipal interest.
- Waiting until filing season to check AGI-based thresholds, after the window to make adjusting contributions for that tax year has already closed.
- Overlooking how a single high-income event, like a large capital gain, can trigger AGI-based costs, such as IRMAA, that arrive a full year or two later.
Related concepts
For the closely related figure most phase-out rules actually use, see modified adjusted gross income (MAGI). For the workaround AGI limits force on high earners, see backdoor Roth IRA and the guide on backdoor Roth strategy. For other AGI-linked costs, see net investment income tax and the guide on high-income tax planning, plus tax efficiency for the broader picture of how account choice and contribution timing interact with these thresholds.
The bottom line
AGI is the quiet gatekeeper behind Roth eligibility, deduction limits, health insurance subsidies, and even future Medicare premiums, so a deliberate contribution made before year end can be worth far more than its face value once every downstream threshold is accounted for.