How to Calculate Your W-2 From Your Paycheck
Your W-2 is a summary of the year your pay stubs already recorded. Every box on it comes from a number you can find on your last paycheck of the year, usually in the year to date column. If you know where to look, you can estimate your W-2 before it arrives in January and check whether it looks right when it does arrive.
This guide works out your W-2 from paycheck stubs, box by box. It also covers the pay stub items that confuse people most: dependents, GTL, tips for waitresses and other tipped workers, and how to take taxes out of a paycheck on a calculator.
What a W-2 shows
A W-2 is the Wage and Tax Statement your employer sends you each year, with a copy to the Social Security Administration and the IRS. It reports what you earned and what tax was withheld. You need it to file your tax return.
How to calculate your W-2 from your last paycheck
Start with your last paycheck of the year and use the year to date column, not the single pay period column. By the last paycheck of the year it should be close to your full year totals. The method is to take your gross pay, then adjust it for each box.
Box 1: wages, tips, and other compensation
Box 1 is your gross pay minus pre-tax deductions. Pre-tax deductions are amounts taken out before federal income tax is calculated. The common ones are 401(k) contributions and health insurance premiums. An HSA contribution is also pre-tax for this purpose.
Box 1 = gross pay – 401(k) contributions – health premiums – HSA contributions + taxable fringe benefits
Box 2: federal income tax withheld
Box 2 is the year to date federal income tax withheld on your last pay stub. It is the total your employer withheld during the year, based on IRS Publication 15-T and the choices on your Form W-4.
Boxes 3 and 5: Social Security and Medicare wages
Box 3 and Box 5 are usually the same as your gross pay, because 401(k) contributions and health premiums do not lower Social Security or Medicare wages. Social Security tax stops at the $184,500 wage base for 2026, so Box 3 cannot be higher than $184,500. Medicare has no cap. An extra 0.9 percent Medicare tax applies to wages above $200,000 for a single filer.
A worked example
Take a single filer earning $60,000 a year, paid biweekly, with no pre-tax deductions and no state tax. This is the verified example used across this site. Gross pay is $60,000, federal withholding is about $5,020 a year, Social Security is $3,720 a year, Medicare is $870 a year, and take-home pay is $50,390 a year, or $1,938.08 per biweekly paycheck.
From those figures, the estimated W-2 looks like this.
| W-2 box | What it is | Amount |
|---|---|---|
| Box 1 | Wages, tips, other compensation | $60,000 |
| Box 2 | Federal income tax withheld | $5,020 |
| Box 3 | Social Security wages | $60,000 |
| Box 4 | Social Security tax withheld | $3,720 |
| Box 5 | Medicare wages and tips | $60,000 |
| Box 6 | Medicare tax withheld | $870 |
With no pre-tax deductions, Box 1, Box 3, and Box 5 are all the same. That changes as soon as a deduction appears.
Now add a 401(k) contribution of 6 percent, which is $3,600 a year on a $60,000 salary.
- Box 1 becomes $60,000 – $3,600 = $56,400
- Box 3 stays at $60,000
- Box 5 stays at $60,000
- Box 4 stays at $3,720 and Box 6 stays at $870, because Social Security and Medicare are still charged on the full $60,000
- Box 2 falls, because less income is subject to federal tax, but this article does not give an exact new withholding figure, since withholding depends on your W-4 and your employer’s payroll system
That gap between Box 1 and Boxes 3 and 5 is the first thing to check when your W-2 arrives. If Box 1 is lower than your gross pay by roughly the amount of your 401(k) and health premiums, the form is probably right. If Box 1 equals your gross pay even though you contributed to a 401(k) all year, ask payroll to check it.
How to calculate your W-2 with your last paycheck
To work out your W-2 from last paycheck stubs, start with the year-to-date column. The steps below show how in six steps, and the same method works with year-to-date figures on any stub.
- Read the year to date gross pay. That is your starting point.
- Read the year to date 401(k), health premium, and HSA totals. Subtract them from gross pay to estimate Box 1.
- Add any taxable fringe benefit shown on the stub, such as GTL imputed income, to Box 1.
- Read the year to date federal withholding. That is your estimated Box 2.
- Read the year to date Social Security wages and Medicare wages, if your stub shows them. If it does not, use your gross pay for both, capped at $184,500 for Box 3.
- Read the year to date Social Security and Medicare tax. Those are your estimated Boxes 4 and 6.
How to calculate a tax refund from your paycheck
A tax refund is the difference between what was withheld from your paychecks and what you actually owe. This section works it out as withholding minus actual tax owed. If you had more withheld than you owe, you get the extra back. If you had less withheld than you owe, you pay the difference.
Tax refund = total federal tax withheld (Box 2) – actual federal tax owed
Your actual tax is worked out on your tax return, from your total income, your filing status, your standard deduction or itemised deductions, and your credits. That is why a refund cannot be known exactly from paychecks alone.
Here is a worked example using the verified $60,000 figures. A single filer with $60,000 of income and no pre-tax deductions has $43,900 of taxable income after the $16,100 standard deduction. Federal tax is 10 percent of the first $12,400 ($1,240) plus 12 percent of the next $31,500 ($3,780), which is $5,020.
If that worker had $5,020 withheld during the year, the refund is $5,020 – $5,020 = $0. No refund, and nothing owed. That is the clean case, and it is roughly what happens when withholding is set correctly.
Now change the withholding. Say the same worker had $5,500 withheld, because they asked for extra withholding on their W-4. The refund is $5,500 – $5,020 = $480. If they had only $4,800 withheld, they would owe $5,020 – $4,800 = $220.
That is a tax return worked out from paycheck figures in outline. The withholding comes from your pay stubs.
If your refund is much larger than you expected, it usually means you had too much withheld during the year. That is not free money. It is your own pay, returned months late, with no interest. If you would rather have it in your paychecks during the year, update your W-4.
How dependents affect your paycheck
Dependents change how much tax is withheld from your paycheck, through your Form W-4. This section explains how dependents affect your withholding. When you fill in a W-4, you tell your employer about your dependents. Your employer uses that information, under IRS Publication 15-T, to work out how much federal tax to withhold from each paycheck.
The basic idea is simple. Claiming dependents on your W-4 generally lowers your withholding, so your take-home pay goes up a little each pay period. It does not change your salary, and it does not change your Social Security or Medicare tax.
There is no single dollar answer for the dependent amount on a paycheck. The effect depends on how many dependents you claim, their ages, your income, and your filing status.
What you can do is practical. If you had a child during the year, or a dependent moved in or out, update your W-4. Your withholding will change from the next pay period. Then check your next pay stub. If your take-home pay moved in the direction you expected, the change took effect.
One warning. Lower withholding during the year means a smaller refund, or possibly an amount owed, at tax time. Dependents lower your actual tax too, through credits on your return, so the two effects often balance out.
How to calculate GTL on your paycheck
GTL stands for group term life insurance. Many employers offer it as a benefit. This section explains GTL on paycheck stubs as imputed income. The first $50,000 of coverage is tax free. Coverage above $50,000 creates taxable income, even though you never receive that money as cash. The IRS calls it imputed income.
Imputed income is the value of the extra coverage, worked out from IRS tables based on your age and the amount of coverage above $50,000. Your employer adds that value to your wages on your pay stub. It shows up as a separate line, often labelled GTL or imputed income, and it is included in your W-2 Box 1 wages.
GTL surprises people because it raises tax without raising cash pay. Your take-home pay can fall slightly in a pay period where GTL imputed income is reported, even though your salary did not change.
How to calculate a waitress paycheck
A waitress paycheck works the same way as any other paycheck, with one difference: tips are part of pay. Tips are taxable wages. They are subject to federal income tax, Social Security and Medicare, the same as hourly wages. Your employer withholds tax based on the tips you report, plus your hourly wages.
The practical difficulty is that tips vary from shift to shift, so the gross pay changes every pay period. Keep your own record of tips per shift and compare it with the tips your employer reports. If the reported figure is lower than what you actually received, your withholding will be too low and you may owe tax at the end of the year. Report tips accurately and keep the record, and the paycheck math takes care of itself.
The federal minimum wage is $7.25 an hour. Tipped workers have a separate cash wage rule, but this article does not state that figure, because the verified figures supplied for this batch do not include it. Check the US Department of Labor for the current tipped cash wage if you need it.
How to split up your paycheck and budget with a calculator
Once you know your take-home pay, the next question is how to split it up. This section splits your paycheck-calculator result into three parts, using the 50/30/20 rule: 50 percent for needs, 30 percent for wants, and 20 percent for saving and paying off debt. Budgeting starts with your take-home pay, not your gross pay, and this section also shows how to budget your paycheck-calculator output step by step.
Here is the split on the verified $60,000 example. Take-home pay is $50,390 a year, which is $50,390 / 12 = $4,199.17 a month.
| Category | Share | Per month |
|---|---|---|
| Needs | 50% | $2,099.58 |
| Wants | 30% | $1,259.75 |
| Saving and debt | 20% | $839.83 |
| Total | 100% | $4,199.16 |
The total is $4,199.16 rather than $4,199.17 because of rounding on each line. The split is a starting point, not a rule. If your rent alone is more than half your take-home pay, 50 percent for needs will not work, and you will need to adjust.
To use a budget paycheck calculator for your own pay, enter your gross pay, your pay frequency, and your pre-tax deductions. The calculator works out your take-home pay after federal tax, Social Security and Medicare. Then apply the 50/30/20 split to the take-home figure, not to your gross pay. Budgeting from gross pay is the most common budgeting mistake, because tax takes a share before you ever see it.
How to take taxes out of your paycheck on a calculator
This section explains how to take taxes out of a paycheck using a calculator. Taking taxes out of a paycheck on a calculator means working out your take-home pay after tax.
- Enter your gross pay for the year, or your hourly rate and hours.
- Enter your pre-tax deductions, such as a 401(k) contribution or health premiums. These lower the income that federal tax is calculated on.
- Subtract the standard deduction. For a single filer in 2026, that is $16,100. For a married filer, it is $32,200.
- Apply the 2026 federal brackets to the remaining income. For a single filer, the first $12,400 of taxable income is taxed at 10 percent, the next part up to $50,400 at 12 percent, then 22 percent to $105,700, 24 percent to $201,775, 32 percent to $256,225, 35 percent to $640,600, and 37 percent above that.
- Subtract Social Security at 6.2 percent up to the $184,500 wage base, and Medicare at 1.45 percent on all pay, plus 0.9 percent over $200,000 for a single filer.
- Divide the annual take-home pay by your pay periods to get your per paycheck figure.
That is how to subtract taxes from a paycheck on a calculator, since the steps are the same. The calculator does the bracket math for you, but knowing the steps lets you check its answer. If you want the detail on each deduction that comes out before tax, read the deductions post. If you want the tax calculation itself in more depth, read the taxes post.
Frequently asked questions
How do I calculate my W-2 from my last paycheck?
Use the year to date column on your last pay stub of the year. Box 1 is gross pay minus pre-tax deductions such as a 401(k) and health premiums, plus taxable fringe benefits such as GTL. Box 2 is the year to date federal withholding. Boxes 3 and 5 are usually your gross pay, with Box 3 capped at $184,500 for 2026.
How do I calculate my W-2 from my last paycheck if I have a 401(k)?
Subtract your year to date 401(k) contributions from your year to date gross pay to estimate Box 1. Do not subtract them from Boxes 3 and 5, because Social Security and Medicare are charged on gross pay. On a $60,000 salary with a $3,600 401(k) contribution, Box 1 is $56,400 and Boxes 3 and 5 stay at $60,000.
How do I calculate a tax refund from my paycheck?
Subtract your actual federal tax owed from the total federal tax withheld during the year. Withholding is Box 2 on your W-2, or the year to date federal withholding on your last pay stub. Actual tax owed is worked out on your tax return. If withholding is higher, the difference is your refund.
How do dependents affect my paycheck?
Dependents lower your federal withholding through your Form W-4, so your take-home pay goes up a little each pay period. They do not change your Social Security or Medicare tax. The dollar effect depends on how many dependents you claim, their ages, your income, and your filing status, so this article does not state a fixed amount per dependent.
What is GTL on my paycheck?
GTL is group term life insurance.
GTL is group term life insurance. Coverage above $50,000 creates taxable imputed income, which your employer adds to your wages on your pay stub and includes in your W-2 Box 1. It is also subject to Social Security and Medicare tax. The dollar value depends on your age and the IRS table.
Are tips taxed on a waitress paycheck?
Yes. Tips are taxable wages. They are subject to federal income tax, Social Security and Medicare, the same as hourly wages. Your employer withholds tax based on the tips you report, so report them accurately and keep your own record per shift.
How do I split up my paycheck to budget?
Apply the 50/30/20 rule to your take-home pay, not your gross pay.
Apply the 50/30/20 rule to your take-home pay, not your gross pay. On a $4,199.17 monthly take-home pay, that is $2,099.58 for needs, $1,259.75 for wants, and $839.83 for saving and debt. Adjust the shares to fit your rent and your situation.
Why is my W-2 Box 1 lower than my salary?
Because pre-tax deductions lower Box 1. A 401(k) contribution, health insurance premiums, and HSA contributions are subtracted from gross pay before federal income tax is calculated, so Box 1 is lower than your salary by the total of those deductions.
Can I estimate my W-2 before it arrives?
Yes. Use the year to date figures on your last pay stub of the year. Your estimate should be close, but a late bonus or a correction can move the totals slightly.
Methodology and sources
This article uses tax year 2026 figures. Federal tax uses the 2026 brackets and the $16,100 standard deduction for a single filer, or $32,200 for a married filer (IRS Rev. Proc. 2025-32). Withholding follows IRS Publication 15-T (2026). Social Security is 6.2 percent of pay up to the $184,500 wage base for 2026 (Social Security Administration). Medicare is 1.45 percent on all pay, plus 0.9 percent above $200,000 for a single filer or $250,000 for a married filer. W-2 boxes and W-4 dependents follow IRS Form W-2 and Form W-4 instructions. The federal minimum wage of $7.25 comes from the US Department of Labor. All worked examples in this article were calculated from those figures with the arithmetic shown, so a reader can check each step. No dollar figure is given for GTL imputed income or for the dependent amount on a paycheck, because both depend on individual circumstances and the IRS tables, and no verified figure was supplied for them.
Last checked: 1 December 2026.
This calculator gives estimates for planning only. It is not tax, legal or financial advice. Actual withholding depends on your Form W-4, your employer’s payroll system, and your benefits. For an exact figure, check your paystub or the IRS withholding estimator.
