In this lesson
- §1 — "Where does it all even go?"
- §2 — The W-2: your wages, summed up — and the proof your deferral worked
- §3 — The 1040 skeleton: a funnel, not a maze
- §4 — Where your investing actually lands
- §5 — The whole picture
- Scam Radar: tax-season impersonators, ghost preparers, and 'I can get you a bigger refund'
- If you've already been surprised by your own return
- The Advisor's Move, Decoded — "Your return is too complicated to do yourself"
- Reassurance
- Common questions
- Check yourself
- Glossary
The W-2 and Form 1040 — where investing shows up on your return (Schedule D, qualified dividends)
The official forms look like a maze — but your investing lands on just a handful of findable lines. Marcus and Priya Williams file the family's return and watch their wages meet their dividends, interest, and one small capital gain
What you'll learn
- Read your W-2's Box 1, Boxes 3 and 5, and Box 12 codes to prove your 403(b) deferral (code E) lowered your income-tax wages while your payroll HSA (code W) lowered both income tax and FICA.
- Trace the Form 1040 as a one-direction funnel — income, AGI, standard deduction, taxable income, tax, credits, payments — and name where a refund or balance due drops out the bottom.
- Map your interest onto line 2b and your dividends onto lines 3b and 3a straight from your 1099-INT and 1099-DIV, and apply the $1,500 threshold that triggers Schedule B.
- Follow a taxable-account sale through the 1099-B, Form 8949, and Schedule D chain to the single net gain that finally lands on line 7 of the 1040.
- Explain how the Qualified Dividends and Capital Gain Tax Worksheet stacks your qualified dividends and long-term gains on top of your ordinary income to set their 0%, 15%, or 20% rate.
§1 — "Where does it all even go?"
It is late March, and Marcus and Priya Williams are sitting at the kitchen table in Chicago with a stack of forms they half-understand and a deadline they can't ignore. Marcus teaches high school history and earns $68,000; Priya is a registered nurse earning $95,000. Over four lessons of this course they've built real machinery — his 403(b), her 403(b) and a family HSA, a small taxable brokerage account, two kids' college funds. Now, for the first time, all of it has to land on one document: their tax return. And three specific fears are sitting at the table with them.
The first is the quiet one Priya says out loud: 'I genuinely have no idea where our investing even goes on this thing.' They got a 1099 from the brokerage, a couple of forms from the bank — and no clear sense of which number on a tax return those turn into, or whether they've missed something that will come back to bite them. The second is Marcus's, looking at the Form 1040 itself: 'this looks like a maze — dozens of lines, schedules that reference other schedules, a worksheet for the worksheet.' And the third is the one that's actually been nagging him for months: 'we put thousands into my 403(b) this year to lower our taxes. Did it actually work? Where would I even see it?'
Hold all three, because this lesson answers each — and the answers are far kinder than the forms look. Here is the whole thing in four sentences. Your investing income isn't scattered mysteriously across the return; it lands on a specific, findable handful of lines, and once you can name them, the mystery is gone. The 1040 isn't a maze; it's a funnel — income pours in the top, deductions narrow it, and a single tax number drops out the bottom — and you only ever touch the few lines that apply to you. The proof that your 403(b) lowered your taxes is printed in black and white on your W-2, in the gap between two boxes, and we'll point right at it. And the one piece of real machinery — the worksheet that gives your dividends and gains a gentler tax rate — is mechanical and automatic; your software runs it, and by the end you'll know exactly what it's doing.
We'll be precise, because this is the Williams family's actual money and these are real lines on real forms. We'll walk two documents in full: the W-2 your employer mails you each January (the summary of your paychecks), and the Form 1040 where those wages finally meet your investment income. We'll trace each kind of investing income — interest, dividends, and a capital gain — from the 1099 it arrives on to the exact line it becomes. And we'll keep to our lane: this lesson owns where it all lands and how the forms fit together. The deep dives have their own homes — what makes a dividend 'qualified' was Lesson 40, the 0%/15%/20% rates were Lesson 38, the 1099 forms field-by-field are Lesson 43, cost basis is Lesson 42, and we'll point each one out as we pass it. Let's start where the fear is loudest: the sense that it could all go anywhere.
Sit where the Williamses are sitting, because the fear is reasonable. A tax return is the one document where your whole financial year is forced into a single accounting, and the stakes feel high: get it wrong and you imagine penalties, an audit, a letter from the IRS. But almost all of that dread comes from not knowing the SHAPE of the thing. So before any line numbers, here is the map — two documents and one simple relationship between them — that turns the maze back into a floor plan.
There are two pieces of paper that matter here, and they do different jobs. The first is the W-2. Your employer mails it to you (and to the IRS) each January, and it is nothing more than the annual summary of every paycheck you got — the same gross-pay-minus-withholding story from the pay stub we walked all the way back in Lesson 1, totaled up for the year. The W-2 is about your WAGES, and only your wages. It is not where your investing shows up at all. The second document is the Form 1040 — the tax return itself. THIS is where everything converges: your wages from the W-2 get copied onto the first line, and then, below them, your investment income gets added on — the interest, the dividends, the capital gains. The 1040 is the meeting place. Your job as a filer is to carry the W-2's number onto the 1040, then add the handful of investing lines beneath it, then let the form do its arithmetic.
That reframing alone dissolves a lot of the fear, so let's name what each of the three worries actually turns out to be. 'Where does my investing go?' — it goes on four specific lines of the 1040 (interest, ordinary dividends, qualified dividends, and capital gains), each fed by a form you already received; we'll find all four in §4. 'The 1040 is a maze' — it's a funnel with a fixed direction of flow (income → deductions → tax → what you've already paid → refund or balance due), and you skip every line that doesn't apply to you; we'll walk the whole skeleton in §3. 'Did my 403(b) actually lower my taxes?' — yes, and the evidence is a visible gap between two boxes on your W-2, which is exactly where we'll start, in §2. Three fears, three concrete answers. None of them require you to become an accountant; they require you to recognize about a dozen lines. Let's go meet them.
§2 — The W-2: your wages, summed up — and the proof your deferral worked
Start with the simpler of the two documents, because it carries the answer to Marcus's nagging question. The W-2 has a lot of little numbered boxes, but for an investor learning where things land, the whole story lives in just a few of them — and the most important fact is hiding in plain sight in the gap between two of them. We'll take that gap first (§2.1), then decode the boxes that explain it (§2.2).
§2.1 — Box 1 vs. Boxes 3 and 5: the gap that proves it
Two W-2 Wage and Tax Statements for tax year 2026, for Marcus and Priya Williams. On Marcus the teacher's W-2, Box 1, federal income-tax wages, is $63,920 — tinted blue — which is lower than Box 3 and Box 5, his Social Security and Medicare wages of $68,000 — tinted amber — by exactly the $4,080 in Box 12 code E, his 403(b) deferral, because a 403(b) cuts income-tax wages but not Social Security and Medicare wages. On Priya the nurse's W-2, Box 1 is $78,650 and Boxes 3 and 5 are $86,250; her Box 12 shows code E $7,600 (403b) and code W $8,750 (HSA through payroll). Her HSA cut both her income-tax wages and her Social Security and Medicare wages, while her 403(b) cut only the income-tax wages — so her Box 1 sits below her Box 3 and 5, which in turn sit below her $95,000 salary. Box 2 is the federal income tax already withheld. The state boxes 15 to 17 are deferred to Lesson 46.
Look at Marcus's W-2 above and find three boxes. Box 1 is labeled 'Wages, tips, other compensation' — this is the number that gets hit by federal INCOME tax, and it reads $63,920. Boxes 3 and 5 are 'Social Security wages' and 'Medicare wages' — the number that gets hit by the FICA payroll tax (the 6.2% Social Security plus 1.45% Medicare we met in Lesson 1) — and they read $68,000, his full salary. Here is the whole point of this section: Box 1 is LOWER than Boxes 3 and 5, and it is lower by exactly $4,080. That $4,080 is the money Marcus deferred into his 403(b) this year. There it is — the answer to 'did contributing actually lower my taxes?' Yes. His employer took the $4,080 out of his pay before calculating the wages that income tax applies to, so the income-tax wage in Box 1 is his $68,000 salary minus the $4,080 he set aside. The deferral didn't show up as a refund or a deduction he had to claim; it was already subtracted, silently, before the W-2 was even printed. The proof is the gap.
Now the detail that surprises people and is worth understanding, because it explains why Boxes 3 and 5 DIDN'T drop. A pre-tax retirement contribution — a 401(k) or a 403(b) — lowers the wages subject to income tax (Box 1), but it does NOT lower the wages subject to Social Security and Medicare tax (Boxes 3 and 5). Those payroll taxes are still charged on Marcus's full $68,000. The government's logic is simple: your Social Security benefit someday is based on your full earnings, so you pay Social Security tax on your full earnings, deferral or no deferral. This is why on a real W-2 the income-tax wage is almost always smaller than the Social Security wage — the difference is your pre-tax retirement money. (One detail for completeness: Box 3, Social Security wages, is capped each year at the Social Security 'wage base' — $184,500 for 2026 — because you stop paying Social Security tax above that. Marcus and Priya are both well under it, so their full pay shows. Box 5, Medicare, has no cap.) And one more box to name now: Box 2, 'Federal income tax withheld,' is the income tax your employer already sent to the IRS on your behalf during the year — a running down-payment on the tax bill the 1040 will finally calculate. Hold that thought; it's how the Williamses end up with a refund instead of a bill.
So the W-2's job, for our purposes, is to hand the 1040 one number: Box 1, the income-taxable wages, which already reflect every pre-tax dollar you set aside. Marcus's Box 1 is $63,920; that's what flows to the return, not his $68,000 salary. The reassurance for anyone who's been quietly anxious about whether their retirement contributions 'count': they counted the moment they left your paycheck. You don't claim them on your return — you can't, because they were never in the taxable-wage number to begin with. The W-2 already did the work. Now let's decode the little boxes that tell you exactly what made up that gap.
§2.2 — Box 12: the codes that explain the gap (E for the 403(b), W for the HSA)
If Box 1 being lower is the headline, Box 12 is the receipt that itemizes why. Box 12 is where the W-2 lists your pre-tax (and a few other) amounts, each tagged with a letter code. You don't need the whole alphabet — for an investor, three codes matter, and the Williamses' two W-2s show two of them. On Marcus's W-2, Box 12 reads 'E $4,080.' Code E means elective deferrals to a 403(b) — the exact $4,080 that pulled his Box 1 below his salary. (If Marcus worked at a company instead of a school, the code would be D, for a 401(k); D and E are siblings — D is the 401(k) version, E is the 403(b) version, and they behave identically. Lesson 16 built the 401(k) deferral in full; here you're just seeing where it surfaces on the tax form, under its code.)
Now look at Priya's W-2, because it tells a richer, two-layer story. Her Box 12 has TWO entries: 'E $7,600' (her own 403(b) deferral) and 'W $8,750' (her family HSA, the triple-tax-advantaged account from Lesson 19, funded $8,750 — the 2026 family maximum — straight through her paycheck). And here is where the HSA does something the 403(b) can't. Watch her three wage boxes. Her salary is $95,000. Her Box 3 and Box 5 (the FICA wages) read $86,250 — that's $95,000 minus the $8,750 HSA. Her Box 1 (the income-tax wage) reads $78,650 — that's $95,000 minus the $8,750 HSA AND minus the $7,600 403(b). See the difference between the two accounts? The 403(b) lowered only her income-tax wage. The HSA lowered her income-tax wage AND her Social Security and Medicare wages. That's the special power Lesson 19 promised: an HSA funded through payroll escapes not just income tax but the 7.65% FICA too — a break no retirement account gives you. On the W-2, that promise becomes visible: the HSA is the one deferral that pulls down all three boxes, the 403(b) pulls down only one.
It's worth pausing on how clean this is. The W-2 isn't hiding anything; it's showing you, line by line, every pre-tax dollar and what kind of tax each one escaped. Marcus set aside $4,080 (income tax avoided, FICA still paid). Priya set aside $7,600 in her 403(b) (income tax avoided) and $8,750 in her HSA (income tax AND FICA avoided). Add it up and this family kept $20,430 of their pay out of the income-tax base this year — and you can read every piece of it off Box 12 and confirm it in the gap between Box 1 and Boxes 3 and 5. (One last code worth recognizing so it doesn't alarm you: Box 12 code DD shows the total cost of your employer health insurance. It's a big number and it is purely informational — it is NOT income, NOT taxed, and does nothing to your return. The IRS just wants the figure reported.) Now we have the one number the W-2 owes the 1040 — Marcus's $63,920 and Priya's $78,650, $142,570 of wages between them. Time to put it on the return.
§3 — The 1040 skeleton: a funnel, not a maze
Marcus called the 1040 a maze. It isn't — it's a funnel, and every funnel has one direction. Money and numbers flow downward through a fixed sequence of stages, each one narrowing the last, until a single figure — your tax — drops out the bottom, and then one more step tells you whether you get money back or owe a little more. Learn the five stages and the whole form stops being intimidating, because you realize you're not reading a maze; you're following a slide. We'll take the top half of the funnel first — how you get from income down to the number that actually gets taxed (§3.1) — then the bottom half, from the tax itself to the refund (§3.2).
§3.1 — Top of the funnel: income → AGI → deduction → taxable income
The funnel starts wide, by gathering ALL your income in one place. Line 1a of the Form 1040 is where your W-2 wages go — Box 1 from every W-2, added together; for the Williamses that's Marcus's $63,920 plus Priya's $78,650, which is $142,570. Directly beneath the wage line come the investing lines — interest, dividends, capital gains — which we'll detail in §4; for now just know they sit right there, stacked under the wages, and get added in. Sum every kind of income and you reach a subtotal the form calls 'total income.' For the Williamses, total income is $143,855 — their $142,570 of wages plus a modest $1,285 of investment income. Notice already how small the investing piece is relative to the wages: that's the honest reality for most working families, and it's the first quiet reassurance — your investment income is a footnote on your wages, not a second job's worth of complexity.
Next the funnel narrows for the first time. From total income you SUBTRACT a set of specific deductions the tax code calls 'adjustments' — things like a deductible IRA contribution, student-loan interest, or an HSA contribution you made on your own (not through payroll). These live on a short attached form called Schedule 1, and the result is your Adjusted Gross Income, or AGI — one of the most important numbers on the whole return, because all sorts of other limits and phase-outs key off it. Here's a subtle but satisfying point for the Williamses: they have NO adjustments. Their HSA money already came out pre-tax through Priya's paycheck (that's what code W meant in §2.2), so there is nothing left to deduct again here — you don't get to subtract it twice. The pre-tax payroll route already gave them the break; Schedule 1 would only be for an HSA dollar they'd contributed from their own checking account after tax. So their AGI equals their total income: $143,855. (If you DID write a check straight into an HSA or a deductible IRA, this is the line where that deduction would show up and lower your AGI — a genuinely useful thing to know exists.)
The funnel narrows a second time, and this is the big one: the standard deduction. After AGI, every filer gets to subtract either a flat 'standard deduction' or the total of their 'itemized deductions' (mortgage interest, state and local taxes up to a cap, charitable gifts) — whichever is larger. For 2026 the standard deduction is $32,200 for a married couple filing jointly (and $16,100 for a single filer). The Williamses added up what they could itemize — their mortgage interest, their Illinois state and property taxes, a bit of charity — and it came to about $25,600. Since $32,200 is bigger, they take the standard deduction; itemizing would only help if their deductible expenses TOPPED the standard amount, and most families' don't. Subtract the $32,200 from their $143,855 AGI and you reach the number everything has been narrowing toward: TAXABLE income — the amount the tax is actually calculated on. For the Williamses, that's $111,655. Income gathered, adjustments subtracted, the standard deduction taken — the top of the funnel is done, and a $143,855 gross has narrowed to $111,655 that the government will actually tax.
§3.2 — Bottom of the funnel: tax → credits → payments → refund
The Williams family's Form 1040 for tax year 2026, married filing jointly, shown as a funnel. The income section: line 1a wages from both W-2s, $142,570; line 2b taxable interest $1,076; line 3a qualified dividends $34; line 3b ordinary dividends $34; line 7 capital gain from Schedule D, $175. The four investing lines — 2b, 3a, 3b, and 7 — are tinted green and tagged with the form they come from. Total income line 9 is $143,855. With no adjustments, adjusted gross income on line 11 is also $143,855. The standard deduction on line 12 is $32,200, leaving taxable income on line 15 of $111,655. Line 16 tax is $13,973, figured on the Qualified Dividends and Capital Gain Tax Worksheet, which taxes the $209 of qualified dividends and long-term gain at 15 percent instead of 22 percent. The $4,400 child tax credit brings tax after credits to $9,573; no net investment income tax applies; total tax is $9,573. Withholding from the W-2s was $11,100, so the family's refund is $1,527.
The whole funnel is on screen above — take it in for a second, because seeing the entire return on one page is the antidote to 'maze.' The top half we just walked is there (wages, the green investing lines, total income, AGI, the standard deduction, taxable income), and now the bottom half completes it. From taxable income, the form computes the TAX — line 16. For most people the tax comes straight from a table or a simple bracket calculation, but when you have qualified dividends or long-term capital gains, line 16 is figured on a special worksheet that gives those a gentler rate; that worksheet is the whole subject of §4.3, so for now just register that the Williamses' tax works out to $13,973, and that it's a touch lower than a plain bracket calculation because of their investing income. That's the funnel's narrowest point: $13,973 of tax.
Then two things happen that move in opposite directions. First, CREDITS subtract directly from the tax — dollar for dollar, which makes them more powerful than deductions. The Williamses have two kids, so they claim the Child Tax Credit: $2,200 per child in 2026, $4,400 total, lopped straight off their tax. That brings their tax after credits to $9,573. (Credits like this one aren't about investing, so we won't dwell — just know the credits line is where your tax can drop, and the Child Tax Credit is the one most families meet.) Second, just below, the form adds any extra taxes from a schedule called Schedule 2 — most relevant to us, the 3.8% Net Investment Income Tax that Lesson 38 introduced, which hits investment income only once a couple's income climbs past $250,000. The Williamses are nowhere near that line, so their Schedule 2 is blank and the surtax doesn't touch them. Their TOTAL tax for the year: $9,573.
Now the part that turns a scary form into a happy ending. The 1040 asks: how much tax did you ALREADY pay during the year? Remember Box 2 on the W-2 — the federal income tax withheld from every paycheck? Marcus had $4,700 withheld across the year and Priya $6,400, for $11,100 already sent to the IRS on their behalf, automatically, before they ever sat down to file. The return compares what they OWE ($9,573) to what they've already PAID ($11,100). They paid in $1,527 more than they owed, so that $1,527 comes back to them as a refund. (Had they paid in less than they owed, that same comparison would show a balance due instead — the 'amount you owe' line — and Lesson 45 covers how to make sure enough is paid in during the year, especially when income isn't from a paycheck.) That's the entire funnel: income in the top, narrowed by adjustments and the deduction to taxable income, taxed, reduced by credits, measured against what you'd already withheld, and out the bottom drops a single answer — a $1,527 refund. Five stages, one direction, no maze. With the skeleton clear, we can finally zoom in on the lines that brought us here: where, exactly, the investing lands.
§4 — Where your investing actually lands
This is the heart of the lesson and the answer to Priya's first fear. Every dollar of investment income the Williamses earned this year lands on one of a small number of named lines, each fed by a form they already have in hand. We'll take them in the order they appear on the 1040: interest and dividends first, the lines just under the wages (§4.1); then capital gains, which take a short detour through two extra forms before they arrive (§4.2); and finally the worksheet that decides how gently the best of that income gets taxed (§4.3).
§4.1 — Interest and dividends: lines 2b, 3a, 3b — and the Schedule B threshold
Directly beneath the wage line on the 1040 sit the interest and dividend lines, and they map almost word-for-word to the forms in the Williamses' pile. Start with INTEREST. Line 2b, 'Taxable interest,' is the total interest you earned — and it comes off your 1099-INT forms (the bank-and-brokerage interest form Lesson 43 walks in full). The Williamses have interest from two places: about $880 from the high-yield savings account holding their emergency fund, and $196 from the cash 'settlement fund' sitting in their brokerage account. Together that's $1,076, and it goes on line 2b. Note what this is: interest is ordinary income — it's taxed at your regular rate, the same as wages, with no special break (a point Lesson 40 made about all interest, including the kind a money-market 'dividend' really is). For the Williamses, most of their 'investment income' is actually this plain interest on cash, which is the least glamorous and most heavily taxed kind — a useful thing to see clearly.
Now DIVIDENDS, which get two lines because of the distinction Lesson 40 was all about. Line 3b, 'Ordinary dividends,' is the TOTAL of all the dividends you received — it comes from box 1a of your 1099-DIV. Line 3a, 'Qualified dividends,' is the portion of that total that earns the gentle tax rate — box 1b of the same 1099-DIV. The Williamses' brokerage paid them $34 in dividends from their stock-index fund this year, and all $34 are qualified, so line 3b reads $34 and line 3a also reads $34. (A point that confuses everyone the first time: line 3a is a SUBSET of line 3b, not an addition to it. The $34 is counted once, in your income via line 3b; line 3a just flags how much of that $34 gets the lower rate. You never add 3a and 3b together.) Yes, $34 is a tiny number — they've only got a couple thousand dollars invested in stocks so far — but notice the reassurance hiding in how small it is: even $34 of dividends has a clear, correct home on the return, and because it's qualified, it'll ride the gentle rate we'll reach in §4.3.
Here's a question that worries new filers: do I have to fill out the extra 'Schedule B' for my interest and dividends? Schedule B is a supporting form that lists out each payer of interest and dividends — and you're only REQUIRED to attach it if your total interest is over $1,500, OR your total ordinary dividends are over $1,500. Below those thresholds, you skip Schedule B entirely and the totals go straight onto lines 2b and 3b of the 1040. The Williamses' interest ($1,076) and dividends ($34) are both under $1,500, so they don't file Schedule B at all — their numbers go directly on the 1040, no extra form. (If their interest grows past $1,500 someday — easy to do with a larger cash balance — they'd start attaching Schedule B, which is really just an itemized list of who paid them; nothing to fear. There's also a separate reason it can be required — a question about foreign bank accounts in its Part III — that won't apply to most filers.) So for interest and dividends, the answer to 'where does it go?' is: lines 2b, 3b, and 3a, copied off your 1099-INT and 1099-DIV, with an extra list-form only once the amounts get sizable. Two of the four investing lines, done.
§4.2 — Capital gains: the 1099-B → Form 8949 → Schedule D → line 7 chain
The capital-gain chain across three tax forms for the Williams family's 2026 sale of three shares of a Total US Stock Market ETF, held since 2020. First, Form 1099-B from the broker reports proceeds of $700 in box 1d, cost basis of $525 in box 1e, a long-term holding period, and that basis was reported to the IRS. That flows to Form 8949, Part II for long-term transactions, with Box D checked because basis was reported. The single row shows the description, the dates acquired and sold, proceeds $700 in column d, cost basis $525 in column e, and the gain of $175 in column h. The total carries to Schedule D, Part II long-term, line 8b, then the Part III summary line 16 combines to a $175 net long-term gain, which flows to Form 1040 line 7 and is taxed at the preferential 0, 15, or 20 percent long-term rates from Lesson 38.
The fourth investing line — capital gains, line 7 of the 1040 — is the one that takes a short detour before it arrives, because a sale has more to report than a dividend does. When you SELL an investment in a taxable account, your gain isn't just a number the broker hands you; it's the difference between what you sold it for (the proceeds) and what you originally paid (the cost basis, the subject of Lesson 42). So the tax forms make you show that subtraction, and they do it through a tidy two-step chain, traced in the specimen above. The Williamses made exactly one taxable sale this year: they sold 3 shares of their stock-index fund — shares they'd held since 2020 — for $700, against a cost basis of $525. That's a $175 gain, and because they'd held the shares more than a year, it's a long-term gain (which, from Lesson 38, is the kind that gets the preferential rate).
Follow the chain in the widget. It starts with the 1099-B — the form your broker sends listing every sale, with the proceeds and (these days) the cost basis already filled in (Lesson 43 walks it in full). That sale then gets written onto Form 8949, which is just a grid with a row for each sale: a column for the proceeds ($700), a column for the cost basis ($525), and a column for the resulting gain ($175). Because the broker reported the cost basis to the IRS — which it does for almost all shares bought in recent years — the sale goes in the 'Box D' category (long-term, basis reported), the easiest case. The totals from Form 8949 then carry up to Schedule D, which is the summary sheet that nets all your gains against all your losses — short-term in one part, long-term in another — and produces one final number. The Williamses' Schedule D shows a $175 net long-term gain, and THAT is the number that finally lands on line 7 of the Form 1040. One small sale, three forms, one number: $175.
Two practical notes before we move on. First, the chain looks longer than it is: for a simple covered sale like theirs — basis reported, no adjustments — the tax software (or the instructions) lets you skip Form 8949 and drop the total straight onto Schedule D. We showed every link so you can see the machinery, but in practice it's often one entry. Second, and importantly: this same chain handles LOSSES, not just gains. If the Williamses had sold at a loss, Schedule D would net it against their gains, and if their losses exceeded their gains, they could deduct up to $3,000 of the net loss against their ordinary income each year (carrying any excess forward) — the rule Lesson 38 introduced and Lesson 39 put to work in tax-loss harvesting. Capital gains and losses both come home through Schedule D to line 7. That's the last of the four investing lines. Now the question that decides how much that line 7 gain — and those qualified dividends from §4.1 — actually cost in tax.
§4.3 — The preferential-rate path: the Qualified Dividends and Capital Gain Tax Worksheet
Here is where Lessons 38 and 40 finally cash out on the actual form. Both of those lessons promised that qualified dividends and long-term capital gains get taxed at the preferential 0%, 15%, or 20% rates instead of your ordinary rate — and both pointed here, to Lesson 44, for where that magic actually happens on the return. The answer has a name that sounds terrifying and a job that's simple: the 'Qualified Dividends and Capital Gain Tax Worksheet.' It's the worksheet that computes line 16 (your tax) whenever you have qualified dividends or long-term gains, and it exists for one reason: to make sure the gentle slice of your income gets the gentle rate instead of being lumped in with your salary.
You will almost never fill it out by hand — your tax software runs it automatically, and even on paper it's a fill-in-the-blanks recipe — so the goal here isn't to memorize 25 lines; it's to understand what it's DOING, because then line 16 stops being a black box. Here's the whole idea in plain language. The worksheet takes your taxable income and splits it into two piles: the 'ordinary' pile (your wages, your interest, your non-qualified dividends) and the 'preferential' pile (your qualified dividends plus your net long-term capital gain). It taxes the ordinary pile the normal way, at the regular brackets. Then it STACKS the preferential pile on top of the ordinary pile — and the rate that preferential pile pays depends only on where it lands once it's stacked. If it lands below the 0% ceiling (taxable income up to $98,900 for a married couple in 2026), it's taxed at 0%. Above that, up to $613,700, it's 15%. Above that, 20%. This is exactly the 'filling a glass' stacking mechanic Lesson 38 taught — your ordinary income fills the glass first, the preferential income pours on top, and its rate is set by how high in the glass it sits.
Watch it land on the Williamses, because it makes the abstraction concrete. Their preferential pile is small: $34 of qualified dividends plus their $175 long-term gain, $209 in all. Their ordinary pile — wages and interest minus the standard deduction — is about $111,446, which already sits well above the $98,900 zero-rate ceiling. So when their $209 of preferential income stacks on top, it lands in the 15% band: none of it gets the 0% rate, all of it is taxed at 15%, for a tax of about $31. Compare that to what they'd have paid if that $209 were treated as ordinary income at their 22% bracket — about $46 — and the worksheet saved them roughly $15 this year. Fifteen dollars is small because their preferential income is small; but the MECHANISM is what matters, because it scales. The very same worksheet is why Kevin and Lisa Park, back in Lesson 40, paid 0% on their qualified dividends — their ordinary income was low enough that the preferential pile landed entirely below the $98,900 ceiling. And it's why a high earner pays 15% or 20%. One worksheet, the same logic for everyone; only your income decides which band you fall in. So line 16 isn't a mystery: it's your ordinary income taxed normally, plus your qualified dividends and long-term gains taxed at 0/15/20 depending on where they stack — computed for you, every time.
§5 — The whole picture
We've walked both documents and found every line. Now let's step back and see the Williamses' entire return as one finished thing (§5.1), meet the one tax form you receive but never file — through Maya, who's filing her own return this year (§5.2), and then figure out which of three situations is yours, with an interactive that runs your own numbers (§5.3).
§5.1 — The Williams family's return, netted out
Here is everything in one breath, the way it actually flows. Marcus and Priya's two W-2s hand the return $142,570 of wages — already lowered by their 403(b)s and Priya's HSA, the gap we read in §2. Beneath that, four investing lines add their whole taxable investment year: $1,076 of interest (line 2b), $34 of ordinary dividends with all $34 qualified (lines 3b and 3a), and a $175 long-term capital gain (line 7, off Schedule D). That's a total investing footprint of $1,285 — on which, notice, $1,076 is plain interest taxed at their ordinary rate and only $209 gets the gentle preferential rate. Total income: $143,855. No adjustments, so the same figure is their AGI. Subtract the $32,200 standard deduction and taxable income is $111,655. The tax on that, run through the qualified-dividend worksheet, is $13,973; the $4,400 Child Tax Credit knocks it down to $9,573; no surtax applies. Against that, $11,100 was already withheld from their paychecks during the year. The result: a $1,527 refund.
Sit with what that means for the three fears we started with. 'Where does our investing go?' — onto four lines (2b, 3a, 3b, 7), each copied from a form they already had, none of them mysterious once named. 'The 1040 is a maze' — it was a funnel, and their whole year fit on one page that flowed in one direction to a single happy number. 'Did the 403(b) lower our taxes?' — it pulled $4,080 (Marcus) and $7,600 (Priya) out of their taxable wages before the W-2 was even printed, and Priya's HSA pulled another $8,750 out of both income tax and FICA; you can read every dollar of it in the gap between Box 1 and Boxes 3 and 5. The family that sat down afraid of a maze stood up with a $1,527 refund and a return they could actually read. That is the entire skill this lesson teaches: not to do your taxes by hand, but to be able to look at your own return and KNOW what every line that matters to you is doing.
§5.2 — Form 5498: the tax form you receive but never file (Maya's IRA)
There's one more tax form worth a moment, because it confuses people every spring — and it belongs to Maya Chen, the 24-year-old Seattle software engineer who's been building her own accounts alongside the Williamses. This year Maya put the full $7,500 into her Roth IRA, and in May — a full month AFTER she'd already filed her return — a form called a Form 5498 arrived from her brokerage, reporting that $7,500 Roth contribution. Her first reaction is the universal one: 'Wait, did I need this to file? Did I do something wrong by filing without it?' No, on both counts. And understanding why teaches something clean about how the whole reporting system works.
Form 5498 is an INFORMATIONAL form. Your IRA custodian — the brokerage holding the account — sends it to two places: to you, and to the IRS. It reports what went INTO your IRA for the year: regular contributions, the year-end value of the account, rollovers, conversions, whether you have a required minimum distribution coming. For Maya, the relevant box reports her $7,500 Roth contribution. But here's the key fact: you do NOT attach Form 5498 to your tax return, and you do not need it in hand to file. The custodian has already told the IRS the number directly; the 5498 is just your copy for your records (proof of what you contributed, which matters years later for a Roth). And the reason it shows up so late — in May, after the April filing deadline — is genuinely logical: you're allowed to make IRA contributions for a tax year all the way up until that April deadline, so the custodian can't finalize the total until then, and needs until May 31 to send the form. It is, in other words, designed to arrive after you file.
So Form 5498 sorts neatly against the forms we've already met, and the contrast is the lesson. Your W-2 and your 1099s (the 1099-INT, 1099-DIV, 1099-B from this lesson) are forms you USE to file — you copy their numbers onto your return. Form 5498 is a form you simply FILE AWAY — it reports a contribution the IRS already knows about, and your only job is to keep it. When it lands in May, Maya doesn't need to do anything but save it. (If she'd somehow contributed more than the limit, the 5498 would be how she'd catch it — another reason to glance at it and keep it.) One form to act on at tax time, one form to just file away; knowing which is which is half of feeling calm in April.
§5.3 — Which situation is yours
Most readers fall into one of three situations, and knowing yours tells you how much of this lesson bites right now. First: if ALL of your investing is still inside a 401(k), 403(b), IRA, or HSA — which is true for a great many people early on — then almost none of this touches your return yet. Those accounts don't generate a 1099 each year; their dividends, interest, and gains are invisible to your 1040 until you eventually withdraw (for retirement accounts) or they simply stay tax-free (for the HSA and Roth). Your return is your W-2 and little else. This lesson is then a map for the day you open a taxable account — keep it. Second: if you're like the Williamses — a taxable account with modest income — then a handful of lines (2b, 3b/3a, 7) carry a small footprint, your 1099s feed them directly, and the worksheet quietly handles the rates. Nothing here should scare you; it's a dozen lines and a refund.
Third: if you have a LARGER taxable account — the high earners like the Okonkwos from Lessons 38 and 40 — it's the very same lines, just with bigger numbers, and a couple of extra wrinkles kick in: your Schedule B fills up, your qualified dividends might be taxed at 20% instead of 15%, and once your income passes $250,000 (married) the 3.8% surtax appears on Schedule 2. Same skeleton, same investing lines, more dollars flowing through them. Wherever you land, the move is the same: when your forms arrive each winter, match each one to its line, and you'll never again wonder where your investing 'went.' The interactive below lets you do exactly that with your own numbers — enter your wages and your investment income by line, and watch it flow down the 2026 funnel to a tax figure, with your qualified dividends and gains taxed correctly along the way. Put the Williamses' numbers in and you'll land on their $13,973; put in a lower income and watch the gain drop to a 0% rate; put in a high one and watch the surtax appear. The forms were never the maze. The map was just missing — and now you have it.
Scam Radar: tax-season impersonators, ghost preparers, and 'I can get you a bigger refund'
Tax season is peak season for a specific family of scams, and they work because the words 'IRS' and 'refund' carry built-in fear and hope. None of what follows is your fault to catch unaided — these are engineered to sound official and urgent. Here's the shape of the danger and exactly where to take it, free.
The IRS-impersonation tell
You get a call, text, or email saying you owe back taxes and must pay immediately — by gift card, wire, or crypto — or face arrest, deportation, or a frozen account. It is a scam, full stop. The real IRS initiates contact by physical mail, not a surprise phone call or text; it never demands a specific payment method, never threatens to send police, and never asks for card numbers over the phone. The single cleanest rule: if someone claiming to be the IRS is pressuring you to pay RIGHT NOW in an unusual way, it's fake — hang up or delete it. A close cousin is the phishing email or text with an 'IRS' link asking you to 'verify' your refund or your information; the link harvests your identity. The IRS doesn't email or text you links to log in.
The ghost preparer and the 'bigger refund' pitch
A second danger wears a friendlier face: a paid preparer who promises a refund far bigger than anyone else's, charges a fee based on the size of that refund, and then — the tell — refuses to sign the return as the preparer or won't give you a preparer ID number (a PTIN, which every legitimate paid preparer must have and put on your return). This is a 'ghost preparer,' and the inflated refund usually comes from fake deductions or made-up credits invented in your name (bogus fuel-tax credits, fake sick-and-family-leave or household-employment credits — the schemes the IRS warns about every year). When the IRS catches it, the preparer is gone and YOU owe the tax, the penalties, and the interest, because you signed it. Before you sign anything, look at it: a refund that's dramatically larger than you expected is a reason to slow down, not celebrate. You are responsible for every number on a return with your signature, even if someone else typed it.
Verify and report, and it's free. A legitimate preparer signs your return and has a PTIN — confirm it. To report: an IRS-impersonation call or text goes to the Treasury Inspector General for Tax Administration (TIGTA) at tigta.gov or 800-366-4484; forward a phishing email to phishing@irs.gov; a dishonest or ghost preparer is reported to the IRS on Form 14157; and any of it can also go to the FTC at ReportFraud.ftc.gov (you can report even if you lost nothing). If you think your identity or Social Security number was used to file a fake return, the IRS has a dedicated identity-theft process (Form 14039) and can issue you an Identity Protection PIN. Reporting protects the next person at least as much as it protects you — don't let embarrassment keep you quiet.
If you've already been surprised by your own return
If reading this lesson surfaced a memory — you got a tax bill you didn't expect on investment income, or a refund so large it stung to realize you'd lent the government your money interest-free all year, or you signed a return you didn't understand and just hoped it was right — this part is for you, and it carries no lecture. Almost no one is taught how a return actually works before they're handed one; the forms are written in their own language and the stakes feel high, so people sign and look away. That's not a failure of intelligence. It's a gap this lesson exists to close, and everything about it is fixable going forward.
Take the specific stumbles in turn. If you owed a surprise amount on your dividends, interest, or a capital gain, the cause is almost always the same: unlike a paycheck, investment income usually arrives with NO tax withheld, so nothing was paid in during the year and the whole bill landed in April. The fix is to either set money aside as that income comes in, or pay quarterly estimated taxes, or bump up the withholding on your W-4 to cover it — the mechanics are Lesson 45, and they turn an April shock into a non-event. If instead you got a giant refund, that's the mirror image: too much was withheld, and you can adjust your W-4 to keep more of your own money during the year (a refund is not a bonus; it's the return of an interest-free loan you made to the IRS). And if you signed something you didn't understand, you can now read it — pull last year's return and find the lines from this lesson; you'll recognize them.
And if you discover an actual mistake — a 1099 you forgot, a number entered wrong, a sale you didn't report — it is genuinely fixable: you file an amended return (Form 1040-X) to correct it, and the sooner the better, especially if it means you owed more (which limits penalties and interest). If a preparer put something on your return you didn't authorize, the reporting channels in the Scam Radar above are where that goes. Set the self-blame down. A tax return is a document you're allowed to understand, correct, and get better at every year — and you just took the biggest step, which is learning to read it.
The Advisor's Move, Decoded — "Your return is too complicated to do yourself"
The move
Once you have any investment income, you'll hear some version of this — from a preparer, a 'tax-prep' chain, or an advisor offering to 'handle everything': 'Returns with investments are complicated. You really shouldn't try this yourself — let me take care of it.' It's said warmly, and sometimes it's even right. But it's worth knowing when it's true and when it's selling you complexity that isn't there.
What's actually true about a return like yours
A return that is wages plus a few 1099s plus the standard deduction — the Williamses' return, and most index-fund investors' returns — is genuinely NOT complicated, even with investment income. The 'hard part,' the preferential-rate calculation on the qualified-dividend worksheet, is run automatically by any tax software the instant you type in your 1099 numbers; you never see it. Your interest and dividends are a couple of lines copied from forms; your one or two sales flow through Schedule D, which the software fills in from your 1099-B. The complexity being implied mostly isn't in a return like this. Where a return GENUINELY gets complicated — and a good CPA earns every dollar — is real structural stuff: a business or rental property, equity compensation, multiple states, a big one-time event (a home sale, an inheritance, exercising stock options), or a backdoor Roth that has to be reported just so. Investment income from index funds in a taxable account is not, by itself, that.
The DIY substitute
For a straightforward W-2-and-1099 return, the do-it-yourself path is mainstream and often free. Reputable tax software walks you through it interview-style and runs every worksheet (including the qualified-dividend one) for you. The IRS itself offers Free File (guided software at no cost if your income is under the threshold) and, increasingly, Direct File (a free government tool for simple returns). Doing it yourself once — even alongside a paid version to check — is the single best way to actually learn your own finances, because you see where every number lands. You can always graduate to a professional when your life genuinely adds the complexity above.
The questions that expose it
Ask the person proposing to handle it: 'Which parts of my return are actually complicated, specifically?' (A straight answer names real things — a rental, equity comp; a vague answer means there's nothing there.) 'Can you show me where my qualified dividends got the lower rate and why?' (If they can explain the worksheet, they understand your return; if they can't, what are you paying for?) And: 'What does this cost, and is the fee based on my refund?' (A fee tied to refund size is a red flag from the Scam Radar.) The decode in one line: a preparer is worth real money when your life has real tax complexity — but 'I have a W-2 and some index funds' is a return you can learn to read and very often file yourself, and the confidence you gain is worth more than the fee you save.
Reassurance
If the official forms still make your stomach tighten, set that down — the real picture is far gentler than the stack of paper suggests, and most of the work is already done for you before you start.
Start with the biggest relief: your investing lands on a small, fixed set of lines — interest on 2b, dividends on 3b and 3a, capital gains on 7 — and every one of them is fed by a form (a 1099) that's mailed to you with the numbers already filled in. You're not calculating; you're copying. The one genuine calculation, the preferential-rate worksheet that taxes your qualified dividends and long-term gains gently, is run automatically by any tax software — you never touch it. And if all your investing is still inside a 401(k), 403(b), IRA, or HSA, none of this is even on your return yet; it's a map for later.
Next, the 1040 itself is a funnel with one direction, not a maze: income at the top, narrowed by the standard deduction to taxable income, taxed, reduced by any credits, measured against what your paychecks already withheld, and out drops a refund or a small balance due. You skip every line that doesn't apply to you — and for most working families, that's the great majority of them. The Williamses' entire year fit on one readable page and ended in a $1,527 refund.
And the question that started Marcus worrying — 'did my retirement contributions actually lower my taxes?' — has the kindest answer of all: yes, and you can see it. The proof is the gap between Box 1 and Boxes 3 and 5 on your W-2, where your pre-tax dollars were quietly subtracted before the form was even printed. You didn't have to claim them, fight for them, or understand a worksheet to get them — they were already counted. The most valuable thing in this whole lesson isn't doing your taxes by hand; it's being able to look at your own W-2 and your own 1040 and know, line by line, what each one is telling you. That's a skill, it's learnable, and you now have it.
Common questions
Why is Box 1 on my W-2 lower than Boxes 3 and 5? Is that a mistake?
It's not a mistake — it's almost always correct, and it's good news. Box 1 is your wages subject to federal INCOME tax; Boxes 3 and 5 are your wages subject to Social Security and Medicare (FICA) tax. The two differ because pre-tax money you set aside — a 401(k) or 403(b) deferral (Box 12 code D or E), and contributions to a few other pre-tax benefits — is subtracted from your income-tax wages (Box 1) but NOT from your Social Security and Medicare wages (Boxes 3 and 5), since you still owe payroll tax on those. So the gap between them is essentially your pre-tax retirement money. Marcus Williams deferred $4,080 into his 403(b), so his Box 1 ($63,920) sits exactly $4,080 below his Box 3 and 5 ($68,000). The one contribution that DOES lower all three boxes is an HSA funded through payroll (Box 12 code W) — it escapes both income tax and FICA — which is why Priya's Social Security wages are below her salary too. The gap is the visible proof your contributions lowered your taxable pay.
Where exactly do my dividends, interest, and capital gains go on the Form 1040?
On four specific lines, each fed by a form you already received. Taxable interest (from your 1099-INT) goes on line 2b. Your total ordinary dividends (1099-DIV box 1a) go on line 3b, and the qualified portion that gets the lower tax rate (box 1b) goes on line 3a — note that 3a is a subset of 3b, not added on top; you never sum them. Capital gains (from your 1099-B) go on line 7, after passing through Schedule D (and Form 8949). That's the whole map. For the Williamses: $1,076 of interest on 2b, $34 of dividends on 3b (all $34 qualified, so also on 3a), and a $175 long-term gain on line 7. Match each 1099 to its line and the mystery is gone.
Do I have to attach my W-2 and 1099s to my tax return?
It depends how you file, but the short answer is: usually no extra work for you. When you e-file (how the vast majority of returns go in), the numbers from your W-2 and 1099s are entered into the software and transmitted electronically — you don't physically attach anything, and the IRS already has its own copies of all these forms from your employer and broker (which is how it cross-checks your return). If you file a paper return by mail, you attach Copy B of your W-2(s); 1099s generally don't need to be attached unless they show federal tax withheld. Either way, keep all of them for your records. One form that's the exception to 'forms feed your return': Form 5498, which reports your IRA contributions — you never attach that one and don't need it to file; it's informational and arrives after the deadline.
What is the 'Qualified Dividends and Capital Gain Tax Worksheet,' and do I have to fill it out myself?
It's the worksheet that computes your tax (Form 1040 line 16) whenever you have qualified dividends or long-term capital gains, and its only job is to make sure those get the preferential 0%/15%/20% rate instead of your ordinary rate. You almost never fill it out by hand — any tax software runs it automatically the moment you enter your 1099 numbers. Conceptually, it splits your taxable income into an 'ordinary' pile (wages, interest, non-qualified dividends) and a 'preferential' pile (qualified dividends + long-term gains), taxes the ordinary pile at the regular brackets, then stacks the preferential pile on top and charges it 0%, 15%, or 20% based on where it lands — the 'filling a glass' stacking from Lesson 38. For a married couple in 2026, preferential income that stacks below $98,900 of taxable income is taxed at 0%, up to $613,700 at 15%, above that at 20%. It's the reason line 16 is often a little lower than a plain bracket calculation — and you get the benefit automatically.
Do I need to file Schedule B or Schedule D?
Schedule B (the interest-and-dividend list) is only REQUIRED if your total taxable interest is over $1,500 OR your total ordinary dividends are over $1,500. Under both thresholds, you skip it and your totals go straight onto lines 2b and 3b of the 1040 — which is why the Williamses, with $1,076 of interest and $34 of dividends, don't file Schedule B at all. (There's also a separate trigger: a Part III question about foreign financial accounts.) Schedule D (the capital-gains summary) is required whenever you SOLD an investment in a taxable account and have a gain or loss to report — it's where your sales from Form 8949 net out before landing on line 7. So: sell something in a taxable account, you'll have a Schedule D; have large interest or dividends, you'll add a Schedule B. Tax software attaches whichever you need automatically based on your entries.
I got a Form 5498 in May, after I already filed. Did I do something wrong?
No — Form 5498 is designed to arrive after you file, and you don't attach it to anything. It's an informational form your IRA custodian sends to report what went INTO your IRA for the year (contributions, the year-end value, rollovers, conversions). It shows up in May rather than January because you're allowed to make IRA contributions for a tax year right up until the April deadline, so the custodian can't finalize the total until then. The custodian already reported the number to the IRS directly, so your only job is to keep the form for your records — it's your proof of what you contributed, which matters years later (especially for a Roth, and for tracking any nondeductible basis). Maya Chen contributed $7,500 to her Roth IRA and got a 5498 reporting it in May; she didn't need it to file and simply filed it away. Contrast it with your W-2 and 1099s, which you DO use to prepare the return.
All my investments are in my 401(k) and IRA. Does any of this even apply to me?
Right now, almost none of it — and that's by design. Inside a 401(k), 403(b), traditional or Roth IRA, or HSA, your investments' dividends, interest, and capital gains are not reported to you on a 1099 each year and don't land on your tax return at all. The accounts shelter them: in a traditional retirement account you're taxed only when you eventually withdraw; in a Roth or HSA (used for medical costs), qualified withdrawals are tax-free. So if everything you own is inside those wrappers, your return is essentially just your W-2, and this lesson is a map for the day you open a taxable brokerage account — keep it for then. The moment any investing happens OUTSIDE those accounts, the four lines from this lesson (2b, 3a, 3b, 7) start to matter, because a taxable account generates 1099s every year whether you sold anything or not (dividends and interest are taxed as they're paid).
Why did I owe tax on my dividends and interest when I never got a bill during the year?
Because investment income usually arrives with NO tax withheld, unlike a paycheck. Your employer withholds income tax from every paycheck and sends it in during the year (that's Box 2 on your W-2), so by April most of your wage tax is already paid. But when your brokerage pays you dividends or interest, or you realize a capital gain, it typically hands you the full amount with nothing withheld — so the tax on it sits unpaid until you file, and the whole bill lands at once in April. The fix is to pay as you go: set money aside as the income comes in, increase the withholding on your W-4 to cover it, or make quarterly estimated tax payments (the mechanics are Lesson 45). It's not a penalty for doing something wrong — it's just that nobody withheld along the way. The more taxable investment income you have, the more this matters.
I keep hearing my return is 'too complicated' to do myself now that I invest. Is that true?
Usually not. A return that's a W-2, a few 1099s, and the standard deduction — the situation for most index-fund investors — is genuinely straightforward, even though investment income sounds intimidating. The one real calculation, the preferential-rate worksheet for your qualified dividends and long-term gains, is run automatically by any tax software the second you enter your 1099 numbers; you never see it. Your interest and dividends are lines copied from forms; your sales flow through Schedule D, which the software fills from your 1099-B. Where a return GENUINELY gets complicated — and a professional earns their fee — is real structural complexity: a business or rental, equity compensation, multiple states, a backdoor Roth that must be reported precisely, or a big one-time event. 'I have index funds in a taxable account' isn't that. Doing your own return once (even alongside a paid preparer to check) is the best way to actually understand your finances, and the IRS's Free File and Direct File make it free for many people.
Did contributing to my 403(b) actually lower my taxes this year, and where would I see it?
Yes, and the proof is on your W-2 — you don't have to take it on faith. A pre-tax 403(b) (or 401(k)) deferral is subtracted from your wages BEFORE the income-tax figure in Box 1 is calculated, so it never appears in your taxable income at all. You can see it two ways. First, Box 12 lists the deferral with a code (E for a 403(b), D for a 401(k)) — Marcus's reads 'E $4,080.' Second, and more tellingly, Box 1 (income-tax wages) is lower than Boxes 3 and 5 (Social Security/Medicare wages) by exactly that deferral amount, because the deferral lowers income-tax wages but not payroll-tax wages. You won't see a separate 'deduction' on your 1040 for it — and that's the point: it was already removed upstream, so there's nothing left to deduct. At a 22% marginal rate, Marcus's $4,080 deferral kept about $898 of federal income tax in his pocket this year, automatically. (An HSA through payroll, Box 12 code W, does even better — it lowers Box 1 AND the FICA boxes, dodging the 7.65% payroll tax too.)
Check yourself
This is the L44 interactive — a tax-return flow modeler — and it turns the lesson's central question into your own numbers. Tell it your filing status and your W-2 wages (your Box 1 total), then enter your investment income line by line: taxable interest, your ordinary dividends and how many of them are qualified, and your net long-term capital gain. It runs the 2026 Form 1040 funnel exactly the way the lesson does — adding your income to a total, subtracting the standard deduction to reach taxable income, then computing the tax on line 16 through the Qualified Dividends and Capital Gain Tax Worksheet, stacking your qualified dividends and long-term gains across the 0%/15%/20% brackets, and adding the 3.8% surtax if your income is high enough. It shows each line landing on the 1040, the 0/15/20 split of your preferential income, your income tax, and your blended effective rate. It's pre-filled with the Williams family, which reproduces their $111,655 taxable income and $13,973 tax exactly; clear it and enter your own, lower the income to watch the gain fall to a 0% rate, or raise it to watch the surtax appear. Every figure recalculates live, entirely in your browser with React state only — nothing is stored, nothing is sent anywhere; close the tab and your entries are gone. It's an educational model of the 2026 forms, not tax advice or a filed return.
An interactive tax-return flow modeler. You choose a filing status, enter your W-2 wages, and enter your investment income by line: taxable interest, ordinary dividends and how many of them are qualified, and your net long-term capital gain. It runs the 2026 Form 1040 funnel: total income, then adjusted gross income, then the standard deduction ($32,200 married or $16,100 single), then taxable income, then the income tax figured on the Qualified Dividends and Capital Gain Tax Worksheet — stacking the qualified dividends and long-term gain across the 0, 15, and 20 percent brackets — plus the 3.8 percent net investment income surtax if income is high enough. It shows each line landing on the 1040, the 0/15/20 split of the preferential income, the income tax on line 16, and the blended effective rate. It is pre-filled with the Williams family, married filing jointly, with $142,570 of wages, $1,076 of interest, $34 of qualified dividends, and a $175 long-term gain, producing $111,655 of taxable income and $13,973 of tax before the child tax credit. Lower the income and the gain is taxed at 0 percent; raise it past $250,000 and the surtax appears. Every figure recalculates live; nothing is saved.
Glossary
The form your employer mails you (and the IRS) each January, summarizing your year's wages and the taxes withheld from them. It's the annual total of your paychecks (the pay stub from Lesson 1, summed up). It reports your wages, not your investment income; its key number for your return is Box 1.
The W-2 box showing wages subject to federal income tax — your salary minus pre-tax money (401(k)/403(b) deferrals, payroll HSA, etc.). This is the figure copied onto Form 1040 line 1a. It is usually lower than Boxes 3 and 5 by the amount of your pre-tax retirement contributions.
The W-2 boxes showing wages subject to FICA payroll tax — Social Security (Box 3, capped at the wage base, $184,500 in 2026) and Medicare (Box 5, no cap). Pre-tax 401(k)/403(b) deferrals do NOT reduce these (you still owe payroll tax on them), which is why they're often higher than Box 1.
The W-2 box showing the federal income tax your employer already sent to the IRS from your paychecks during the year — a running prepayment of your tax bill. It lands on Form 1040 line 25a and is compared against your total tax to determine your refund or balance due.
The W-2 box that itemizes pre-tax (and certain other) amounts, each with a letter code. D = 401(k) elective deferral; E = 403(b) elective deferral (siblings — both lower Box 1 only); W = HSA contributions through payroll (lowers Box 1 AND the FICA boxes). Code DD (cost of employer health coverage) is informational only and not taxed.
The U.S. individual income tax return — the document where all your income converges. It works as a funnel: income → adjustments → AGI → standard or itemized deduction → taxable income → tax → credits → payments → refund or amount owed. Your investing shows up on a handful of its income lines.
Your total income minus specific 'adjustments' (from Schedule 1) such as a deductible IRA contribution, student-loan interest, or a self-made HSA contribution. A pivotal number on the return — many limits and phase-outs key off it. For the Williamses, with no adjustments, AGI equals their total income.
The attached form listing extra income and the 'above-the-line' adjustments that reduce total income to AGI — including the HSA deduction (line 13) for contributions made on your own. Note: HSA money contributed through payroll (W-2 code W) is already pre-tax and is NOT deducted again here.
A flat amount every filer may subtract from AGI instead of itemizing — $32,200 for married filing jointly and $16,100 for single in 2026. You take it (rather than itemizing mortgage interest, state taxes, and charity) whenever it's larger, which it is for most families. Subtracting it gives taxable income.
AGI minus your standard or itemized deduction — the amount your tax is actually calculated on (Form 1040 line 15), and the figure that decides which preferential-rate band your qualified dividends and long-term gains fall into. The Williamses' is $111,655.
A supporting form that lists each payer of your interest and dividends. Required only if your total interest exceeds $1,500 OR your total ordinary dividends exceed $1,500 (or you have certain foreign accounts). Below those thresholds, the totals go straight onto Form 1040 lines 2b and 3b with no Schedule B.
The summary form that nets your capital gains against your losses — short-term in one part, long-term in another — and produces the single figure that lands on Form 1040 line 7. Net losses beyond gains can offset up to $3,000 of ordinary income per year, with the rest carried forward.
The detail form behind Schedule D: a grid with a row for each sale showing the proceeds (column d), cost basis (column e), and resulting gain or loss (column h), fed by your 1099-B. 'Box D' covers long-term sales whose basis the broker reported to the IRS. Simple covered sales can skip it and go straight onto Schedule D.
The worksheet (run automatically by tax software) that figures your tax on Form 1040 line 16 when you have qualified dividends or long-term gains. It taxes your ordinary income at the regular brackets, then stacks your qualified dividends + long-term gains on top and taxes that slice at 0%, 15%, or 20% depending on where it lands — the mechanism behind the preferential rates from Lesson 38.
Schedule 2 reports extra taxes that add to your total — most relevant to investors, the 3.8% Net Investment Income Tax (Lesson 38) on investment income once your income passes $250,000 (married) or $200,000 (single). Below those thresholds, as for the Williamses, it doesn't apply and Schedule 2 stays blank.
An informational form your IRA custodian sends you and the IRS, reporting what went INTO your IRA for the year (contributions, year-end value, rollovers). You do NOT attach it to your return and don't need it to file — the custodian already reported it. It arrives in May (after the April deadline) because IRA contributions can be made up to that deadline. Keep it as proof of your contributions.
A credit of up to $2,200 per qualifying child under 17 (2026), subtracted directly from your tax — dollar for dollar, which makes credits more powerful than deductions. It begins phasing out only at very high incomes ($400,000 married). The Williamses claim $4,400 for their two children, cutting their tax from $13,973 to $9,573.
Key takeaways
- The gap between W-2 Box 1 and Boxes 3 and 5 IS your pre-tax retirement money — Marcus's Box 1 ($63,920) sits exactly $4,080 below his FICA wages ($68,000) because of his 403(b) deferral.
- A 401(k)/403(b) deferral (Box 12 code D/E) lowers only income-tax wages; a payroll HSA (code W) lowers income-tax wages AND the Social Security and Medicare wages, dodging the 7.65% FICA too.
- Your investing lands on just four lines: interest on 2b, ordinary dividends on 3b, qualified dividends on 3a (a subset of 3b — never add them), and capital gains on line 7.
- The 1040 is a funnel with one direction — income to AGI to standard deduction ($32,200 MFJ in 2026) to taxable income to tax to credits to payments to refund or balance due.
- The Qualified Dividends and Capital Gain Tax Worksheet stacks qualified dividends and long-term gains on top of ordinary income, taxing that slice at 0% (up to $98,900 MFJ), 15% (to $613,700), or 20%.
Knowledge check
5 questions
According to the lesson, where does your investment income show up on your tax return?