LearnFoundations
Lesson 1.4 · Foundations

Your paycheck, line by line

15 min readLast reviewed November 2026

The salary on your offer letter and the deposit in your bank account are two different numbers, and for most people the second is somewhere near two thirds of the first. A pay stub lists everything in between. Once you can read it, you can check that it's right, see what a retirement contribution really costs you, and tell whether April will bring a refund or a bill.

From gross pay to net pay

Gross pay is what you earn before anything comes out: salary, or hours times your rate, plus overtime, bonuses and commissions. Net pay, or take-home pay, is what's deposited. Everything in between is one of three kinds of line:

  • Taxes your employer must withhold: federal income tax, Social Security tax, Medicare tax, and in most places state income tax.
  • Pre-tax deductions: money that comes out before some or all of those taxes are figured, such as a traditional 401(k) contribution or your share of health insurance.
  • After-tax deductions: money that comes out of pay that has already been taxed, such as a Roth 401(k) contribution.

Here's one made-up employee to follow through the lesson. Sam is single, lives in Illinois and earns $78,000 per year, paid every two weeks, so 26 checks of $3,000. Sam puts 6% of pay into a traditional 401(k), pays $120 per check toward health insurance and puts $50 per check into a health savings account (HSA).

Sam's pay stubEach checkOver the year
Gross pay$3,000.00$78,000.00
Traditional 401(k), 6% of pay−$180.00−$4,680.00
Health insurance premium−$120.00−$3,120.00
HSA−$50.00−$1,300.00
Federal income tax−$243.38−$6,328.00
Social Security tax−$175.46−$4,561.96
Medicare tax−$41.04−$1,066.91
Illinois income tax−$125.61−$3,265.76
Net pay$2,064.51$53,677.37
A hypothetical single employee in Illinois earning $78,000 in 2026, paid every two weeks. Withholding is shown as the year's tax spread evenly over 26 checks.

Sam keeps 68.8% of gross pay as cash. Another 11.7% goes to the 401(k), the HSA and health cover, which are Sam's too in a different form. Taxes take the remaining 19.5%. The sections below take the lines one at a time.

Federal income tax and the W-4

Federal income tax isn't billed once per year. Your employer takes an estimate out of every check and sends it to the IRS, and your tax return in the spring settles the difference. The amount withheld depends on your pay and on Form W-4, which you fill in when you start a job and can replace at any time.

The employer's payroll system works roughly like this. It multiplies the taxable pay on one check by the number of checks per year, subtracts the standard deduction for the filing status on your W-4, runs the result through the tax brackets, and divides the answer by the number of checks. For Sam, taxable pay for income tax is $2,650 per check, or $68,900 per year. Less the $16,100 standard deduction for 2026, that's $52,800, on which the tax is $6,328: 10% of the first $12,400, 12% of the next $38,000 and 22% of the last $2,400. Divided by 26, that's $243.38 per check. Brackets: marginal and effective explains the layers.

The current W-4 has five steps and no "allowances", which went away when the form was redesigned for 2020:

  • Step 1 is your name and filing status. If you fill in only this and sign, withholding assumes one job and the standard deduction.
  • Step 2 is for people with more than one job, or couples where both work. Skipping it when it applies is the most common cause of a tax bill, for a reason shown further down.
  • Step 3 is for credits. For 2026 it's $2,200 for each child under 17 and $500 for other dependents. Whatever you enter lowers withholding by that amount over the year.
  • Step 4 covers other adjustments: (a) income with no withholding, like interest or dividends, (b) deductions beyond the standard one, which for 2026 can include the new deductions for tips and overtime, and (c) an extra flat amount to withhold from every check.
  • Step 5 is your signature.

Bonuses often look overtaxed because employers may withhold a flat 22% from pay that's separate from regular wages, whatever your bracket. That's only withholding. The bonus is taxed like any other pay when you file, and if 22% was too much, the excess comes back as a refund.

Social Security and Medicare tax

These two lines, sometimes grouped as FICA or shown as OASDI and Med, are simpler than income tax. There's no form to fill in and no deduction for filing status.

  • Social Security tax is 6.2% of wages up to a yearly cap, the wage base, which is $184,500 for 2026. The most anyone pays through one job is $11,439. For 2027 the wage base rises to $192,300.
  • Medicare tax is 1.45% of all wages, with no cap.
  • The additional Medicare tax is another 0.9% on wages above $200,000 for a single filer or $250,000 for a married couple filing jointly.

Your employer pays a matching 6.2% and 1.45% that never appears on your stub. Sam's rates apply to $2,830 per check, since health premiums and HSA money are exempt from these taxes but 401(k) contributions aren't: $175.46 for Social Security and $41.04 for Medicare.

Two things surprise higher earners. Someone paid $240,000 evenly through the year passes $184,500 in October, and from then on the 6.2% stops and each check is larger until January. And an employer starts withholding the extra 0.9% once your pay at that job passes $200,000, whatever your filing status. A married couple who each earn $150,000 have nothing extra withheld by either employer, but together they're $50,000 over the $250,000 line and owe $450 on their return.

What the Social Security tax buys is covered in How your benefit is figured. Earnings above the wage base aren't taxed and don't count toward the benefit either.

State and local taxes

Most states withhold their own income tax, each with its own form or its own reading of your federal W-4. Nine states don't tax wages: Alaska, Florida, Nevada, New Hampshire, South Dakota, Tennessee, Texas, Washington and Wyoming. The rest range from flat rates (Illinois taxes Sam at 4.95% after a $2,925 exemption) to brackets that top out above 10% in California, Hawaii, New Jersey and New York.

A few other lines can appear depending on where you live and work:

  • City or county income tax. New York City, many Ohio and Pennsylvania municipalities and every Maryland county levy one.
  • State disability or paid family leave insurance. California's, shown as SDI, is 1.3% of all wages for 2026.

States mostly follow the federal rules on what's pre-tax, with exceptions worth knowing if you live in one. Pennsylvania taxes 401(k) contributions. New Jersey taxes HSA contributions and health premiums. California taxes HSA contributions. In those states the deduction still saves federal tax; it just doesn't lower the state line.

Pre-tax deductions, kind by kind

"Pre-tax" means different things for different deductions. Some skip federal income tax only. Others skip Social Security and Medicare tax as well, which is worth another 7.65% for most workers.

DeductionFederal income taxSocial Security and Medicare tax2026 limit
Traditional 401(k) or 403(b)Skips itPays it$24,500, more from age 50
Health, dental and vision premiumsSkips itSkips itNone
HSA through payrollSkips itSkips it$4,400 self-only, $8,750 family
Health care flexible spending account (FSA)Skips itSkips it$3,400
Dependent care FSASkips itSkips it$7,500 per household
Transit pass or parkingSkips itSkips it$340 per month each
Roth 401(k)Pays itPays itShares the $24,500
What each common payroll deduction saves in federal tax, with its limit for 2026. The employer must offer the benefit, and premiums, HSAs and FSAs must run through its benefits plan to skip Social Security and Medicare tax.

A few notes on the rows:

  • A traditional 401(k) only postpones income tax. The contribution and its growth are taxed when you withdraw them. Traditional or Roth covers when that trade is a good one, and The employer match covers the money your employer adds, which isn't on your stub as pay.
  • Health premiums are the deduction people forget is pre-tax. If your employer runs them through its benefits plan, as most do, your share comes out before all three federal taxes.
  • An HSA is the only account where money can go in, grow and come out for medical costs without ever being taxed. It needs a qualifying high-deductible health plan. The HSA has the rules.
  • A health FSA covers the same kinds of costs but is mostly use-it-or-lose-it within the plan year, so it suits expenses you can predict. A dependent care FSA pays for daycare, preschool and similar care for children under 13.

One cost to set against the saving: deductions that lower your Social Security wages also lower, slightly, the earnings your future benefit is figured from.

Roth and other after-tax deductions

A Roth 401(k) contribution comes out after every tax has been figured. It lowers take-home pay dollar for dollar and saves nothing today; the payoff is that qualified withdrawals in retirement are tax-free. On the stub it usually has its own line, apart from the traditional 401(k).

Other after-tax lines include some disability and life insurance premiums, union dues, charitable gifts through payroll, and wage garnishments. One line can run the other way: if your employer gives you more than $50,000 of group life insurance, the cost of the extra cover is added to your taxable pay. It shows up as a small amount of "imputed income" that you're taxed on without receiving it in cash.

Why $100 pre-tax costs less than $100

Every pre-tax dollar is a dollar the tax lines never see, so part of each contribution is paid for by tax you would otherwise have owed. How much depends on your marginal rate, the rate on your last dollars of pay.

Sam's last dollars are taxed at 22% federally and 4.95% by Illinois. Put another $100 per check into the traditional 401(k) and federal income tax falls by $22.00 and state tax by $4.95. Take-home pay drops by $73.05. Put the $100 into the HSA instead and Social Security and Medicare tax fall too, by $7.65, so take-home drops by $65.40. A Roth contribution costs the full $100.

$0$20$40$60$80$100Roth 401(k)Traditional 401(k)HSA through payroll
What $100 into each account takes out of Sam's paycheck, at a 22% federal and 4.95% Illinois marginal rate. The rest is tax that wasn't withheld.
Fall in take-home pay for $100 put in
Roth 401(k)$100
Traditional 401(k)$73
HSA through payroll$65
What $100 into each account takes out of Sam's paycheck, at a 22% federal and 4.95% Illinois marginal rate. The rest is tax that wasn't withheld.

Across the whole year, Sam's $9,100 of pre-tax deductions lower take-home pay by $6,309. Without them, net pay would be $59,987 instead of $53,677, and the other $2,791 would have gone to tax.

The saving is larger in higher brackets and smaller in lower ones. In the 12% bracket with no state income tax, $100 into a traditional 401(k) costs $88. The saving can also stop partway if a deduction carries you down into a lower bracket: only the top $2,400 of Sam's taxable income for the year is in the 22% bracket, so 401(k) dollars beyond another $2,400 per year save 12%.

Where a gross dollar goes

The shares shift as pay rises. The chart runs four salaries through the same setup as Sam's: single, Illinois, 6% to a traditional 401(k), and the same $3,120 of health premiums and $1,300 of HSA money.

Take-home pay401(k), HSA and health premiumsFederal income taxSocial Security and Medicare taxIllinois income tax
0%25%50%75%100%$40,000$78,000$120,000$200,000Gross pay per year
Each dollar of gross pay, split five ways, for a single employee in Illinois in 2026. Federal income tax grows from 4.5% of pay at $40,000 to 16.4% at $200,000, while Social Security and Medicare stay near 7%.
Gross pay per yearTake-home pay401(k), HSA and health premiumsFederal income taxSocial Security and Medicare taxIllinois income tax
$40,00067.9%17.05%4.5%6.8%3.74%
$78,00068.82%11.67%8.11%7.22%4.19%
$120,00066.09%9.68%12.51%7.37%4.35%
$200,00063.78%8.21%16.4%7.14%4.47%
Each dollar of gross pay, split five ways, for a single employee in Illinois in 2026. Federal income tax grows from 4.5% of pay at $40,000 to 16.4% at $200,000, while Social Security and Medicare stay near 7%.

Federal income tax is the line that grows, because the brackets rise with income. Social Security and Medicare take about the same share at every level until pay passes the wage base, and the flat state tax barely moves. The fixed-dollar health and HSA deductions take a bigger share of a small paycheck than a large one.

Withholding and what you owe

Withholding is a running estimate. Your real tax for the year is worked out on your return, from all of your income and all of your deductions and credits. If more was withheld than you owe, you get the difference back as a refund. If less, you pay the balance when you file.

A refund is your own money coming back without interest. Through early May of the 2026 filing season the IRS had issued about 99 million refunds averaging $3,276, which works out to roughly $270 per month that those households could have had in their paychecks. Whether to aim for zero is a matter of taste. Some people like the forced saving, and a small refund is safer than a small bill.

With one job, the standard deduction and no other income, withholding lands very close, as it does for Sam. It drifts when the payroll system can't see something:

  • A second job, or a working spouse. Each employer withholds as if its paycheck were your only income.
  • Income with no withholding: interest, dividends, capital gains, freelance work, rent.
  • A mid-year change: marriage, a child, a house, a large raise.

The two-job case is worth seeing in numbers. Suppose a single person has one job paying $50,000 and another paying $30,000, with a basic W-4 at each.

PayFederal income tax withheld
Job A, withheld as if it were the only job$50,000$3,820
Job B, withheld as if it were the only job$30,000$1,420
Total withheld$80,000$5,240
Tax actually owed on $80,000$8,770
Balance due at filing−$3,530
A hypothetical single person with two jobs in 2026 and Step 2 of the W-4 left blank at both. Each job's withholding uses the full standard deduction and starts again in the lowest brackets.

Each employer gave the whole $16,100 standard deduction and the whole 10% and 12% brackets to its own paycheck. Together, the standard deduction was counted twice and none of the income was withheld at 22%, though $13,500 of it is taxed there. Step 2 of the W-4 exists to fix exactly this, and the same thing happens to married couples with two incomes.

The fix is a new W-4, which you can hand in any time. The IRS's Tax Withholding Estimator takes your pay stubs and fills one in for you. The bluntest tool is Step 4(c): to close a $3,530 gap over 26 checks, enter $136 of extra withholding per check.

A balance due carries no penalty if it's small. You're generally safe if you owe less than $1,000 when you file, or if what you paid during the year covers at least 90% of this year's tax or 100% of last year's (110% if last year's adjusted gross income was over $150,000).

Reading a pay stub and a W-2

A pay stub has two columns that matter, this period and year to date (YTD), and three blocks: earnings, taxes and deductions. A quick check takes a few minutes:

  • Gross pay matches your salary divided by the number of checks, or your hours times your rate.
  • Social Security is 6.2% and Medicare 1.45% of gross pay less premiums, HSA and FSA money. If those two are right, the payroll system has your pre-tax deductions set up correctly.
  • The 401(k) line is the percentage you chose, and it's on the traditional or Roth line you meant.
  • YTD 401(k) contributions are on pace for what you intend, and under the limit.
  • Any line you don't recognize gets a question to payroll.

If you're paid every two weeks, two months of the year have three paydays. Budgets built on two checks per month get a spare check in those months.

Early each year your employer sends Form W-2, the year's totals as reported to the IRS. For 2026 it's due to you by February 1, 2027. The boxes don't match your gross pay, and the reason is the pre-tax deductions.

W-2 boxWhat it isSam's figure
1Wages subject to federal income tax: gross pay less the 401(k), premiums and HSA$68,900.00
2Federal income tax withheld$6,328.00
3Wages subject to Social Security tax: gross pay less premiums and HSA only, capped at $184,500$73,580.00
4Social Security tax withheld$4,561.96
5Wages subject to Medicare tax: the same as box 3, with no cap$73,580.00
6Medicare tax withheld$1,066.91
12, code DTraditional 401(k) contributions$4,680.00
12, code WHSA contributions through payroll, the employer's and your own together$1,300.00
The main boxes of a 2026 Form W-2 for the same hypothetical employee. Boxes 15 to 17 repeat the pattern for the state.

Box 1 is the figure your tax return starts from. It's lower than boxes 3 and 5 by exactly the 401(k) contributions, because those skip income tax but not Social Security and Medicare tax. Two other box 12 codes come up often. Code AA is Roth 401(k) contributions, which are already inside box 1. Code DD is the full cost of your health plan, your share and your employer's, and it's there for information only; it isn't taxed.

Your last pay stub of the year should agree with the W-2. If box 2 is far from the tax you end up owing, change your W-4 before the gap builds up for another year.

Seeing it in your own plan

The Budget page's Paycheck tab does this arithmetic for your own pay. Enter your gross pay, how often you're paid, your filing status and state, and what you pay for health cover through work, and it shows the check from gross pay to the deposit: each pre-tax line, federal and state income tax, Social Security and Medicare. Enter Sam's figures and you'll get the table at the top of this lesson.

Then move one line. Add $50 per check to the 401(k), or switch it from traditional to Roth, and watch how much the deposit changes. Each pre-tax line shows what its amount costs your deposit, which is the $73.05 and $65.40 arithmetic above done with your own rates. From there, Your savings rate is the lever and Where each dollar should go take up how much to save and in which account.

Common questions

Why did my take-home pay barely move after a raise?

It moved by the raise minus the tax on it. The extra dollars are taxed at your marginal rates: Sam would keep about 65 cents of each new dollar after federal tax at 22%, Illinois at 4.95% and 7.65% for Social Security and Medicare, and less if 6% of the raise also goes to the 401(k). A raise never lowers take-home pay through the brackets alone.

Should I try to get a big refund?

A refund means too much was withheld during the year. Lowering withholding puts that money in each paycheck instead. If you'd rather have the lump sum, or your income is hard to predict, a modest refund does no harm. Owing a large balance can bring a penalty, so err slightly on the side of a refund.

Can I claim "exempt" on my W-4?

Only if you owed no federal income tax last year and expect to owe none this year. Then no income tax is withheld, though Social Security and Medicare tax still are. An exemption lasts one year, and for 2027 a new form is due by February 16, 2027.

I worked two jobs and paid too much Social Security tax. Do I get it back?

Yes. Each employer withholds 6.2% up to the wage base without knowing about the other. If your combined wages were over $184,500 in 2026, you can generally claim the excess you paid as a credit on your federal tax return. If a single employer withheld too much, that employer has to correct it.

Does a 401(k) contribution lower my Social Security benefit?

No. 401(k) contributions still pay Social Security tax and still count as earnings for your benefit. Premiums, HSA and FSA money taken through payroll are the deductions that lower Social Security wages.

In short

  • Between gross and net pay are withheld taxes, pre-tax deductions and after-tax deductions.
  • Federal income tax withholding is an estimate set by your W-4. Your return settles it with a refund or a balance due.
  • For 2026, Social Security tax is 6.2% of wages up to $184,500 and Medicare tax is 1.45% of all wages, plus 0.9% on high pay.
  • A traditional 401(k) skips income tax. Health premiums, HSA and FSA money through payroll skip Social Security and Medicare tax too. A Roth skips neither.
  • A pre-tax $100 costs less than $100 of take-home pay: $73.05 for Sam's 401(k), $65.40 for the HSA.
  • On a W-2, box 1 is pay after all pre-tax deductions, and boxes 3 and 5 still include 401(k) contributions.

Try it

Enter your pay on the Paycheck tab and see each check from gross pay down to the deposit.

Open the tool

Key terms

Gross and net pay
Gross pay is what you earn before anything comes out. Net pay, or take-home pay, is what's deposited after taxes and deductions.
Withholding
Tax your employer takes from each check and sends to the government on your behalf. It's an estimate, settled on your tax return.
Pre-tax deduction
Money taken from pay before some or all taxes are figured, such as a traditional 401(k) contribution or a health premium.
Wage base
The most pay in a year that Social Security tax applies to: $184,500 for 2026.
Next: Your savings rate is the leverNext lesson

Lessons explain how things work. They aren’t personal financial, tax or legal advice.

Try it

Enter your pay on the Paycheck tab and see each check from gross pay down to the deposit.

Open the tool

Key terms

Gross and net pay
Gross pay is what you earn before anything comes out. Net pay, or take-home pay, is what's deposited after taxes and deductions.
Withholding
Tax your employer takes from each check and sends to the government on your behalf. It's an estimate, settled on your tax return.
Pre-tax deduction
Money taken from pay before some or all taxes are figured, such as a traditional 401(k) contribution or a health premium.
Wage base
The most pay in a year that Social Security tax applies to: $184,500 for 2026.