Skip to content
Menu
Finabase Learn

Personal finance · Before you invest

How to read a pay stub: every line from gross to net pay

Each line of a US pay stub explained with 2026 rules: pre-tax deductions, W-4 withholding, Social Security and Medicare, state tax, Roth 401(k) and year-to-date totals.

On this page
  1. The lines, top to bottom
  2. Worked example: a median earner's biweekly stub
  3. When the lines change during the year
  4. Where saving for investing shows up
  5. Pitfalls
  6. How each deduction is taxed
  7. How Finabase does it
  8. Frequently asked questions
  9. Summary
  10. Check your understanding

A pay stub, also called an earnings statement, is the record that comes with each paycheck. It starts from what the job paid for the period, takes out everything withheld or deducted, and ends with what reached the bank account. In between sit a handful of lines that look cryptic but follow a small set of federal rules, most of them in two IRS publications employers use: Publication 15 and Publication 15-T.

Reading the stub matters for anyone about to invest, for two reasons. The net pay line is the real starting point of a budget, not the salary. And the stub is where saving for retirement usually begins: the 401(k) line is money invested before it is ever seen.

This lesson walks through each line using the 2026 rules, then builds a full biweekly stub for a worker earning the US median wage, computed line by line.

The lines, top to bottom

Layouts differ between payroll providers, but the content is the same. A typical stub has a header (employer, employee, pay period, pay date), then these blocks.

Gross pay

Gross pay is what the period's work earned before anything is taken out: salary for the period, or hours times the hourly rate, plus overtime, bonuses, commissions or tips. A salaried worker paid biweekly gets 26 checks a year; semimonthly, 24. A bonus is often paid as supplemental wages, and Publication 15 lets the employer withhold federal income tax on it at a flat 22% (37% on supplemental wages over $1 million in a year), which is why a bonus check can look heavily taxed.

Pre-tax deductions

These come out before some or all taxes are figured, which is what makes them valuable.

  • Traditional 401(k) or 403(b) deferrals. Under Publication 15's table of special rules, elective deferrals to a 401(k) are generally exempt from federal income tax withholding but are subject to Social Security and Medicare tax. The money is invested in the plan; how those accounts work is in Retirement accounts explained: 401(k), IRA, Roth and 2026 limits and 401(k) plans: deferrals, limits, the match and auto-enrollment.
  • Health, dental and vision premiums under a section 125 cafeteria plan. When an employee chooses a nontaxable benefit under a cafeteria plan, it is treated as if provided outside the plan; accident and health benefits are exempt from income tax withholding, Social Security and Medicare (Publication 15-B, Table 2-1).
  • HSA contributions through a cafeteria plan. Exempt from income tax and payroll taxes for qualified individuals up to the HSA contribution limits (Publication 15-B).
  • Health care FSA contributions. Also through a cafeteria plan; for plan years beginning in 2026, salary reductions to a health FSA are capped at $3,400.

Federal income tax withholding

The largest tax line for most workers. The employer works it out from the employee's Form W-4 and the tables in Publication 15-T. On a W-4 from 2020 or later, the employee states a filing status (Step 1), checks a box if there are two jobs in the household (Step 2), claims dependents (Step 3), and may add other income, extra deductions or extra withholding (Step 4). The employer then:

  1. multiplies the period's taxable wages by the number of pay periods to get a yearly figure;
  2. subtracts $8,600 (single or married filing separately) or $12,900 (married filing jointly) if the Step 2 box is unchecked, plus any Step 4(b) deductions;
  3. looks up the tax on the result in the year's Annual Percentage Method table;
  4. divides by the number of pay periods and subtracts any Step 3 credits.

From 2026 the W-4 is also how a worker can reflect two new federal deductions in each paycheck rather than waiting for the return. Public Law 119-21 lets employees deduct up to $25,000 of qualified tips (in occupations that customarily received tips before 2025) and up to $12,500 ($25,000 joint) of qualified overtime pay, the "half" of time-and-a-half that the Fair Labor Standards Act requires, for tax years 2025 through 2028, both phasing out at higher incomes. Publication 15-T (2026) says employers must use an updated W-4 that accounts for them. Both deductions lower income tax only: tips and overtime still bear Social Security and Medicare tax.

The result is an estimate of the year's income tax spread evenly across paychecks. It is not the tax owed. The tax return compares the year's withholding with the actual tax and produces a refund or a balance due.

Social Security and Medicare (FICA)

These two lines, often labeled OASDI and Medicare or together FICA, fund the two programs. For 2026, per Publication 15:

  • Social Security: 6.2% of wages, up to a wage base of $184,500. The employer pays another 6.2%. The 2027 wage base is $192,300 (SSA).
  • Medicare: 1.45% of all wages, with no wage base. The employer pays another 1.45%.
  • Additional Medicare Tax: the employer must withhold another 0.9% on wages paid to an employee above $200,000 in a calendar year, starting in the pay period that crosses that amount. There is no employer match. The tax actually owed depends on filing status ($250,000 for joint filers, $125,000 married filing separately, $200,000 for others), and the Instructions for Form 8959 state that these thresholds are not indexed for inflation.

How these taxes turn into a future benefit is covered in How Social Security benefits are calculated: AIME, PIA, bend points.

State and local income tax

Most states, and some cities, withhold their own income tax with their own forms and tables. A few states have no wage tax at all. Many states follow the federal treatment of 401(k) deferrals and cafeteria-plan premiums, but not all do, so the state taxable wage can differ from the federal one. Some states also withhold for disability or family leave programs.

After-tax deductions

These come out after taxes are figured, so they do not lower any tax line:

  • Roth 401(k) contributions. Designated Roth contributions are made with after-tax dollars, per the IRS's Roth comparison chart: they are taxed now so that qualified withdrawals later are tax-free.
  • Union dues, wage garnishments, some insurance, charitable payroll gifts.

Net pay and year-to-date

Net pay is gross pay minus every line above. The year-to-date (YTD) column adds up each line for every check so far this calendar year. YTD is how a worker can see when the Social Security wage base is reached, how much has gone into the 401(k), and whether withholding is on track for the year.

Worked example: a median earner's biweekly stub

The Bureau of Labor Statistics put median usual weekly earnings for full-time wage and salary workers at $1,239 in the third quarter of 2026. Two weeks of that is a gross pay of $2,478 a check, about $64,428 a year over 26 checks.

The example worker files a 2026 W-4 as single with no other entries, defers 5% to a traditional 401(k), pays an $85 health premium through a cafeteria plan (an illustrative amount), and lives in a state with an illustrative flat 4% income tax that follows the federal exclusions.

From gross to net: one biweekly paycheck of $2,478 (2026) $0 $500 $1,000 $1,500 $2,000 $2,500 $2,478 Gross −$124 401(k) −$85 Health −$188 Federal −$148 Soc. Sec. −$35 Medicare −$91 State $1,807 Net pay Grey: pre-tax deductions (money still yours). Red: taxes. Single filer, 2026 W-4, no other entries. Gross = BLS median weekly earnings, Q3 2026 ($1,239) × 2. State rate and premium are illustrative.
One biweekly paycheck in 2026 from gross to net. Gross pay is two weeks of the BLS median weekly earnings for the third quarter of 2026. Single filer, 2026 Form W-4 with no other entries. The health premium and the 4% state rate are illustrative.
Line This check YTD, 22 checks Share of gross
Gross pay $2,478.00 $54,516.00 100.0%
401(k), 5% −$123.90 −$2,725.80 5.0%
Health premium (125) −$85.00 −$1,870.00 3.4%
Federal income tax −$188.45 −$4,145.90 7.6%
Social Security −$148.37 −$3,264.14 6.0%
Medicare −$34.70 −$763.40 1.4%
State tax (4%) −$90.76 −$1,996.72 3.7%
Net pay $1,806.82 $39,750.04 72.9%

Taxes of all kinds came to $462.28, or 18.7% of gross. The federal income tax line was smaller than Social Security and Medicare together: at this wage, payroll taxes are the bigger bite. The $123.90 to the 401(k) is not spent money; it is the worker's own savings, invested in the plan, and over 26 checks it adds up to $3,221.40 a year.

The same 5% as a Roth 401(k)

If the worker chose a Roth 401(k) for the same 5%, the $123.90 would come out after tax. The federal taxable wage would rise to $2,393, federal withholding to $203.31 (up $14.86), state tax to $95.72 (up $4.96), and net pay would fall to $1,787.00, $19.82 less per check. Social Security and Medicare do not change, because 401(k) deferrals were subject to them either way. The trade is tax now for tax-free qualified withdrawals later; Roth vs traditional IRA: how to compare tax now and tax later explains the same choice for IRAs.

When the lines change during the year

For most workers every stub in a year looks alike. At high pay, two lines change partway through, which surprises people who read their stubs.

A $260,000 salary paid biweekly: payroll-tax lines through 2026 $0 $200 $400 $600 $800 #1 #5 #9 #13 #17 #21 #26 Social Security withheld Medicare withheld (incl. 0.9% extra) Check 19: $184,500 base hit Check 21: past $200,000 Paycheck number Withheld per paycheck
Social Security and Medicare withheld per biweekly paycheck on a $260,000 salary in 2026 ($10,000 a check), with the $184,500 wage base and the $200,000 Additional Medicare Tax withholding threshold.

On a $260,000 salary paid in 26 checks of $10,000:

  • Social Security is $620 a check until year-to-date wages reach $184,500. Check 19 carries only the last $4,500 ($279), and from check 20 the line is zero. The year's total is $11,439, the maximum for 2026.
  • Medicare is $145 a check until wages pass $200,000. From check 21 the employer adds the 0.9% Additional Medicare Tax, so the line becomes $235.

A worker with two jobs can have Social Security withheld by both employers on more than $184,500 combined. The IRS treats the excess as a credit the worker can claim on the tax return (Topic 608).

Where saving for investing shows up

The stub is often the first place investing happens:

  • The 401(k) line (traditional, Roth or both). The YTD figure shows progress against the year's contribution limit (Retirement contribution limits for 2026 and 2027: every number).
  • An employer match. Many stubs list the employer's contribution as a memo line. It is not part of gross or net pay, but it goes into the same account (Employer match).
  • HSA contributions. Money in an HSA stays the account owner's and is carried from year to year; many HSA providers let part of it be invested (Health savings account (HSA)).

Net pay is then the money a budget works with (How to make a budget: the steps, with one worked month in dollars).

Pitfalls

  • Reading the refund as a raise. A large refund means more was withheld than the tax owed, all year, with no interest. A balance due means the opposite. The W-4 controls it.
  • An old or unchanged W-4. A marriage, a second job or a working spouse changes the right withholding. The Step 2 box exists for two-job households.
  • Assuming 401(k) money escapes all tax. Traditional deferrals still pay Social Security and Medicare now and income tax later.
  • Bonus withholding. A flat 22% on a bonus is withholding, not the final tax.
  • Copying the median. Every number in the example depends on the worker's wage, W-4, benefits and state. The arithmetic is general; the result is not.

How each deduction is taxed

Deduction Federal income tax Soc. Sec. and Medicare
Traditional 401(k) Not withheld on Taxed
Roth 401(k) Taxed Taxed
Health premium (125) Not withheld on Not taxed
HSA via cafeteria plan Not withheld on Not taxed

How Finabase does it

Finabase is an investing app; it does not run payroll, read pay stubs or offer a budgeting tool. Where it connects is after the paycheck: the portfolio tracks what the money saved from each check is invested in, including funds held in a 401(k) or IRA entered by hand. The worked stub in this lesson is computed in the lesson's figure script from the BLS median wage and the 2026 IRS tables named in the sources.

Frequently asked questions

Why is my paycheck less than my salary divided by 26?

Because gross pay is reduced by pre-tax deductions, federal income tax, Social Security (6.2%), Medicare (1.45%), state and local tax, and any after-tax deductions. In the median example above, net pay was 72.9% of gross.

What is OASDI on my pay stub?

OASDI stands for Old-Age, Survivors and Disability Insurance: the Social Security tax. In 2026 it is 6.2% of wages up to $184,500 a year; in 2027, up to $192,300.

Why did the Social Security deduction stop late in the year?

Because year-to-date wages reached the wage base ($184,500 in 2026, $192,300 in 2027). Social Security tax applies only up to that amount; Medicare has no cap.

Are 401(k) contributions taken out before taxes?

Traditional 401(k) deferrals come out before federal income tax withholding but after Social Security and Medicare. Roth 401(k) contributions come out after all taxes.

Summary

A pay stub moves from gross pay to net pay in a fixed order: pre-tax deductions, federal withholding from the W-4 and Publication 15-T, Social Security at 6.2% to $184,500 and Medicare at 1.45% plus 0.9% above $200,000, state and local tax, then after-tax deductions such as a Roth 401(k). For a 2026 median earner paid $2,478 every two weeks, the example stub nets $1,806.82, with $123.90 saved in a 401(k) and taxes at 18.7% of gross. The withholding lines are estimates the tax return settles, and the 401(k) line is where much US investing begins.

Check your understanding

4 questions on this lesson. Each answer comes with the reason, and nothing is scored.

  1. A worker defers $200 to a traditional 401(k) from a paycheck. Which taxes does that $200 avoid this year?

    1. Federal income tax withholding only; Social Security and Medicare still apply
    2. Social Security and Medicare only
    3. All payroll and income taxes
    Show the answer

    A. Federal income tax withholding only; Social Security and Medicare still apply Publication 15 treats elective 401(k) deferrals as generally exempt from income tax withholding but taxable for Social Security and Medicare. Health premiums under a cafeteria plan, by contrast, avoid both.

  2. Someone earning $260,000 paid biweekly notices the Social Security line is zero on the last checks of 2026. Why?

    1. Payroll made an error
    2. Year-to-date wages passed the $184,500 wage base, and Social Security tax applies only up to it
    3. High earners are exempt from Social Security
    Show the answer

    B. Year-to-date wages passed the $184,500 wage base, and Social Security tax applies only up to it Social Security is 6.2% of wages up to the year’s wage base. At $10,000 a check the base is reached on the 19th check, which carries only the last $4,500.

  3. Switching the same 5% from a traditional to a Roth 401(k) changes which lines on the stub?

    1. Only the 401(k) line
    2. Federal and state income tax rise and net pay falls; Social Security and Medicare stay the same
    3. Social Security and Medicare fall
    Show the answer

    B. Federal and state income tax rise and net pay falls; Social Security and Medicare stay the same Roth contributions are made with after-tax dollars, so income tax is withheld on that money. 401(k) money was subject to Social Security and Medicare either way. In the worked example net pay falls by $19.82 a check.

  4. A worker gets a large refund every spring. What does that say about the pay stub?

    1. Federal withholding has been higher than the tax actually owed for the year
    2. The employer paid extra wages
    3. The 401(k) contributions were refunded
    Show the answer

    A. Federal withholding has been higher than the tax actually owed for the year Withholding is an estimate spread over the year. A refund returns the excess, without interest. The W-4 is what controls how much is withheld.

Sources and further reading

  1. IRS — Publication 15 (2026), Employer’s Tax Guide (Social Security 6.2% to a $184,500 wage base, Medicare 1.45%, Additional Medicare Tax 0.9% withheld above $200,000, special rules for 401(k) deferrals and cafeteria plans, 22% supplemental rate)
  2. IRS — Publication 15-T (2026), Federal Income Tax Withholding Methods (Worksheet 1A, the Annual Percentage Method tables, and withholding for the qualified tips and overtime deductions of P.L. 119-21)
  3. IRS — Publication 15-B (2026), Employer’s Tax Guide to Fringe Benefits (accident and health benefits, cafeteria plans, HSAs)
  4. IRS — Instructions for Form 8959, Additional Medicare Tax (thresholds by filing status, not indexed for inflation)
  5. IRS — Questions and answers for the Additional Medicare Tax
  6. IRS — Topic no. 751, Social Security and Medicare withholding rates
  7. IRS — Topic no. 608, Excess Social Security and RRTA tax withheld (two or more employers)
  8. IRS — Roth comparison chart (designated Roth contributions are made with after-tax dollars)
  9. Bureau of Labor Statistics — Usual weekly earnings of wage and salary workers (median, full-time)
  10. Finabase calculations from the frozen series LES1252881500Q (FRED copy of the BLS median usual weekly earnings, Q3 2026: $1,239) and the 2026 IRS tables above
  11. Social Security Administration — 2027 COLA fact sheet (maximum taxable earnings $192,300 in 2027)