Two numbers, two different jobs
Every Form 1040 computes both numbers in a fixed order, and they answer different questions. Taxable income determines how much tax you owe; AGI largely determines what you are eligible for. Confusing them leads to real errors, like expecting a charitable gift to restore Roth IRA eligibility (it cannot; it acts below AGI).
The order is rigid: total income, minus adjustments, equals AGI; minus the standard or itemized deduction, minus any QBI deduction, equals taxable income; then the brackets, then credits, then payments. Each stage is a different planning surface.
This page covers the flow and the stage-by-stage planning logic. For the line-by-line AGI build itself, our how-to-calculate-AGI guide owns that detail, and for the MAGI variants tested against thresholds, see MAGI vs. AGI.
An above-the-line dollar (HSA, SEP, half of SE tax) reduces AGI, taxable income, and every downstream MAGI test at once. A below-the-line dollar (charity, mortgage interest, QBI) only reduces taxable income. When you have a choice of which deduction to generate, altitude beats size more often than people expect.
The 1040 pipeline in order
Five stages, no exceptions
Read the table top to bottom and notice the one-way flow: nothing below AGI ever feeds back above it. That is the structural reason threshold problems must be solved with above-the-line tools, and it is why the order of the return is worth memorizing even if you never prepare one yourself.
It also explains a quirk of tax conversation: "write-off" is used for items at three different altitudes that behave completely differently. A business expense reduces total income at the top; an HSA contribution is an adjustment; a charitable gift is an itemized deduction near the bottom. All three save taxes, but only the first two help with eligibility rules.
| Stage | What happens | Planning levers at this stage |
|---|---|---|
| Total income | Wages, business and rental results, interest, dividends, capital gains, retirement distributions | Income timing, harvesting, entity structure, pre-tax payroll deferrals (excluded before this line) |
| Adjustments (above the line) | HSA, self-employed retirement, half of SE tax, SE health insurance, deductible IRA | The only deductions that lower AGI |
| AGI | The eligibility master number | Tested (as MAGI variants) by Roth limits, NIIT, credits, IRMAA |
| Deductions (below the line) | Standard deduction ($16,100 single / $32,200 MFJ for 2026) or itemized, then QBI | Bunching charity, mortgage interest, SALT; QBI optimization for owners |
| Taxable income, tax, credits, payments | Brackets apply; long-term gains taxed at 0/15/20%; credits reduce tax; payments settle | Bracket management, credit eligibility, withholding accuracy |
Per Rev. Proc. 2025-32. Pre-tax 401(k) deferrals never appear in total income at all, which is why they are the most powerful lever on the whole page.
Worked example: $250,000 of wages, single filer
Watching the number shrink at each stage
This example shows why "how much do you make" has three defensible answers. The eligibility rules see $221,100. The brackets see $205,000. The household budget sees $250,000. Planning conversations go wrong when the parties are using different numbers without noticing.
Worked example
Single filer, 2026: gross pay to taxable income
- Gross salary
- $250,000
- Pre-tax 401(k) deferral (excluded from wages)
- ($24,500)
- Total income (W-2 Box 1 wages)
- $225,500
- HSA contribution (above the line, self-only)
- ($4,400)
- AGI
- $221,100
- Standard deduction
- ($16,100)
- Taxable income
- $205,000
Illustrative with 2026 limits. Note the two gaps: $250,000 of earnings became $221,100 of AGI (what thresholds see) and $205,000 of taxable income (what brackets tax). The filer’s marginal bracket is 32%, but their NIIT exposure tests the $221,100, not the $205,000. Results vary.
Which number controls which decision
A sorting rule that prevents most errors
AGI (or a MAGI variant) controls eligibility and surtaxes: Roth IRA phase-outs ($153,000 to $168,000 single for 2026), the 3.8% NIIT thresholds ($200,000 single / $250,000 joint), medical expense floors (7.5% of AGI), and charitable deduction ceilings (percentage-of-AGI limits).
Taxable income controls rate questions: which bracket your next dollar lands in, where the 0/15/20% long-term capital gains breakpoints fall ($49,450 and $545,500 for single filers in 2026), and the QBI deduction phase-in thresholds for business owners ($201,750 single / $403,500 joint in 2026).
The sorting rule: if the question is "am I allowed" or "does a surtax apply," look at AGI/MAGI. If the question is "at what rate," look at taxable income.
Credits complicate the sorting rule slightly, because most credit phase-outs test AGI or MAGI even though credits are applied after tax is computed on taxable income. So a credit lives at the bottom of the pipeline but is gated from the top. This is why an AGI-reducing contribution can have a double effect: it trims the tax directly and can simultaneously restore a credit that income had phased out, making the effective value of the above-the-line dollar exceed the marginal rate. It is also why software sometimes shows a surprisingly large refund change from a small IRA or HSA contribution: the contribution crossed a phase-out boundary somewhere upstream, and the credit snapped back.
Taxstra Tip
Capital gains planning uses taxable income, not AGI. A retiree couple with $80,000 of taxable income has $18,900 of 0% long-term gain capacity left in 2026 (the 0% band runs to $98,900 joint), regardless of what their AGI was before deductions.
Why strategies target different stages
Moving AGI vs. moving taxable income
AGI-reduction strategies are scarce and valuable: maximize pre-tax payroll deferrals, HSA contributions ($4,400 self-only / $8,750 family for 2026), self-employed retirement plans, and for charitably inclined IRA owners over 70½, qualified charitable distributions that keep the money out of income entirely.
Taxable-income strategies are more plentiful: bunching itemized deductions into alternating years, timing charitable gifts, and QBI optimization. These lower the tax bill without moving any threshold test.
The expensive mistake is spending a scarce AGI lever where a cheap taxable-income lever would do, or the reverse: making a large donor-advised fund gift in December hoping to restore Roth eligibility, when the gift never touches AGI at all.
One more pipeline nuance for high earners: state returns usually start from federal AGI, not federal taxable income. States then apply their own deductions and exemptions, which is why a strategy that only moves the federal standard-vs-itemized decision often does nothing at the state level, while an AGI-level move (an HSA contribution, a SEP contribution) typically saves state tax too. In high-rate states that piggyback effect adds several points of value to every above-the-line dollar.
A refund does not measure any of this
The refund is just payments minus liability. Judging a tax strategy by the refund conflates the withholding decision with the planning decision; measure strategies by their effect on liability at the stage they target.
Where each common deduction lands
Altitude determines capability
The table sorts the common deductions by where they land in the pipeline. The pattern to internalize: payroll exclusions and above-the-line adjustments help everywhere; everything else only shrinks the number the brackets tax.
Capital losses are the sleeper on the list. Because gains and losses net inside total income, a harvested loss reduces AGI dollar for dollar up to the netting limits, making it one of the few tools that can pull a household back under a MAGI threshold late in the year, after payroll elections are locked.
| Item | Stage | What it reduces |
|---|---|---|
| Pre-tax 401(k)/403(b) deferrals | Excluded from wages before total income | AGI, every MAGI, and taxable income |
| HSA contributions | Above the line | AGI, every MAGI, and taxable income |
| SEP / solo 401(k) (self-employed) | Above the line | AGI, every MAGI, and taxable income |
| Half of self-employment tax | Above the line | AGI, every MAGI, and taxable income |
| Capital losses (within netting rules) | Inside total income | AGI, every MAGI, and taxable income |
| Standard deduction | Below the line | Taxable income only |
| Charitable gifts, mortgage interest, SALT | Itemized, below the line | Taxable income only |
| QBI deduction | Between AGI and taxable income | Taxable income only |
Roth 401(k) deferrals reduce nothing on this table; they are after-tax by design.
Taxstra Tip
When you see a threshold you are about to cross, ask which stage tests it. QBI phase-ins care about taxable income and can be managed with charitable bunching; NIIT cares about MAGI and cannot.
The business-owner version of the pipeline
Where QBI sits, and why owners watch two thresholds
Business owners run the same pipeline with one extra stage. Qualified business income from an S-corp or partnership lands in total income, but the QBI deduction of up to 20% is taken after AGI and before taxable income. It shrinks the tax without helping a single threshold test, and its own phase-in rules test taxable income, not AGI: for 2026 the limits begin at $201,750 of taxable income for single filers and $403,500 for joint filers.
Consider a single S-corp owner with $150,000 of W-2 salary from the company and $100,000 of pass-through profit. AGI is $250,000. Subtract the $16,100 standard deduction and a QBI deduction of up to $20,000 (20% of the profit, with the wage-based limit comfortably satisfied here), and taxable income lands near $213,900. The brackets tax that number; the NIIT and every MAGI test still see $250,000.
This split explains a recurring confusion: the owner is "in the 32% bracket" for marginal decisions on $213,900 of taxable income, while simultaneously over the $200,000 NIIT threshold on AGI. Both statements are true at once, and each drives different planning. It also shows why the QBI phase-in, tested on taxable income, can sometimes be defended with itemized deductions even though no threshold on the AGI side can be.
Worked example
Single S-corp owner, 2026: salary plus pass-through
- W-2 salary from the S-corp
- $150,000
- Pass-through profit (K-1)
- $100,000
- AGI
- $250,000
- Standard deduction
- ($16,100)
- QBI deduction (20% of profit, limits satisfied)
- ($20,000)
- Taxable income
- $213,900
Illustrative. QBI limitations, reasonable compensation, and SSTB status can change the deduction; results vary.
Taxstra Tip
Owners should track both numbers all year, not just at filing: taxable income for the QBI phase-in and bracket planning, AGI for NIIT and every eligibility test. A quarterly two-line check catches threshold problems while salary and distribution decisions can still respond.
What to check before you act
A practical review sequence for the return, books, or planning file.
Trace last year’s return: total income, AGI, taxable income, tax. Know all four numbers.
Classify each available deduction as above-the-line or below-the-line before valuing it.
Check AGI-based thresholds (Roth, NIIT, medical floor) before year-end income events.
Manage brackets and capital gain breakpoints against taxable income, not AGI.
Max the AGI levers first when a threshold is within reach: 401(k), HSA, SEP.
Re-run the pipeline in October while every stage still has open moves.
Common mistakes
The shortcuts most likely to produce a confident but wrong answer.
Calling gross income "taxable income"
For a 2026 joint household the two can differ by $32,200 of standard deduction plus every pre-tax deferral and adjustment, easily $60,000-plus. Using gross in bracket math overstates tax and misprices every marginal decision.
Assuming every deduction reduces AGI
Only above-the-line adjustments do. Charitable gifts, mortgage interest, SALT, and QBI all land below AGI and cannot fix a threshold problem.
Managing capital gains against AGI
The 0/15/20% breakpoints test taxable income. Gain-harvesting decisions keyed to AGI leave 0% capacity unused or accidentally overshoot into 15%.
Ignoring the stage where a strategy acts
A strategy can be valuable without touching taxable income, for example keeping an IRA distribution out of AGI via a qualified charitable distribution to protect threshold tests. Evaluating everything by "did my taxable income drop" misses this.
Comparing this year’s AGI to last year’s taxable income
Year-over-year comparisons only work stage to stage. Mixing stages makes a stable year look like a swing and can trigger bad withholding changes.
How Taxstra helps
A useful estimate should lead to a decision
Taxstra connects tax preparation, planning, bookkeeping, payroll, and multi-state filing so the answer reflects your full financial picture. Bring your documents and the decision you are weighing to a free initial consultation.
Book a Free Initial Consultation