To calculate gross pay from net pay, reverse every deduction your employer removed from your check in the order they came off: add back post-tax deductions, divide by one minus your combined effective tax rate, then add back pre-tax deductions. Written out, the formula is Gross Pay = [(Net Pay + Post-Tax Deductions) ÷ (1 − Combined Tax Rate)] + Pre-Tax Deductions. The math only works if you sort each deduction on your pay stub into the correct category and use your effective withholding rate rather than your top tax bracket.
What You Need Off Your Pay Stub
Pull out a recent pay stub, either paper or the version in your employer’s payroll portal. From it, gather three groups of numbers:
- Dollar amounts of pre-tax deductions (health insurance premiums, traditional 401(k) or 403(b) contributions, HSA contributions run through payroll, dental and vision premiums, commuter benefits).
- Dollar amounts of post-tax deductions (Roth 401(k) contributions, wage garnishments, union dues, charitable payroll deductions, supplemental disability or life insurance).
- Every tax withheld, whether shown in dollars or as a percentage: federal income tax, Social Security, Medicare, state income tax, and any local tax.
Your filing status from your Form W-4 also matters, because it drives which federal tax brackets your employer uses when calculating withholding.1Internal Revenue Service. About Form W-4, Employee’s Withholding Certificate
Pre-Tax vs. Post-Tax Deductions
This is where most reverse-payroll math goes wrong. Pre-tax deductions come out before your employer calculates tax, so they reduce your taxable wages. Post-tax deductions come out after taxes are already figured. The two types sit in different spots in the formula, and lumping them together produces a gross figure that doesn’t match your paycheck.
Health insurance premiums typically run pre-tax through what the IRS calls a cafeteria plan, exempt from federal income tax, Social Security, and Medicare.2Internal Revenue Service. FAQs for Government Entities Regarding Cafeteria Plans Traditional 401(k) and 403(b) contributions are also pre-tax and lower your taxable wages each pay period.3Internal Revenue Service. Retirement Topics – Contributions
Roth 401(k) contributions, union dues, charitable payroll giving, wage garnishments for child support or court judgments, and after-tax insurance premiums all come out post-tax. If a line item on your stub isn’t clearly labeled, your HR or payroll department can confirm which side it belongs on. Misclassifying a single deduction is enough to throw the whole calculation off.
Finding Your Combined Effective Tax Rate
Three layers of tax hit most paychecks: federal income tax, FICA (Social Security plus Medicare), and, for most workers, state income tax. You need one combined percentage to plug into the formula.
Federal Income Tax
Federal income tax uses progressive brackets from 10% to 37%.4Internal Revenue Service. Federal Income Tax Rates and Brackets Use your effective withholding rate, not your top bracket. Your marginal rate is what applies to your last dollar; your effective rate is the actual share of taxable wages that got withheld across all brackets, and it’s always lower.
The cleanest way to find your effective federal rate is on a stub where gross is visible: divide the federal tax withheld by your taxable wages, which equal gross pay minus pre-tax deductions.
FICA
Social Security tax is 6.2% on wages up to $184,500 in 2026.5Internal Revenue Service. Topic No. 751, Social Security and Medicare Withholding Rates Medicare is 1.45% with no wage cap.6Office of the Law Revision Counsel. 26 USC 3101 – Rate of Tax Together that’s 7.65% for most workers. Wages above $200,000 for a single filer (or $250,000 for a joint filer) also carry an Additional Medicare Tax of 0.9%.7Internal Revenue Service. Questions and Answers for the Additional Medicare Tax
State and Local Taxes
Forty-one states plus the District of Columbia tax wage income. Nine states don’t. Rates run from flat taxes under 5% to progressive systems topping 13%, and some cities layer a local income tax on top. Any of these that appear on your pay stub have to go into the combined rate. A growing number of states also withhold small percentages for paid family leave or state disability insurance, typically between 0.1% and roughly 1.3% of wages. They’re easy to skip because they’re small, but leaving them out will pull your gross pay estimate low.
Building the Combined Rate
The reliable method: add up every percentage-based tax withheld on a pay stub (federal, state, local, Social Security, Medicare, and any state paid-leave or disability line), then divide the total by that period’s taxable wages. That single number is what goes into the formula.
Why the Formula Is Structured This Way
Gross Pay = [(Net Pay + Post-Tax Deductions) ÷ (1 − Combined Tax Rate)] + Pre-Tax Deductions
Your employer processes a paycheck in a fixed order. First, pre-tax deductions come off gross pay to produce taxable wages. Then taxes are calculated on those taxable wages. Finally, post-tax deductions come out of what’s left, and the rest is deposited. To reverse it, you walk backward through the same order: restore post-tax deductions, undo the tax percentage, then add pre-tax deductions.
You’ll see a shorter version online that folds every deduction into one bucket: Gross = (Net + All Deductions) ÷ (1 − Tax Rate). That version only works if none of your deductions are pre-tax. As soon as a traditional 401(k) contribution or a pre-tax health premium is in the mix, the shortcut applies the tax divisor to money that was never taxed, and the answer comes out too high.
A Worked Example
Say your biweekly direct deposit is $2,800. Your pay stub shows:
- Health insurance premium (pre-tax): $120
- Traditional 401(k) (pre-tax): $300
- Union dues (post-tax): $50
Your combined effective tax rate, pulled from an earlier stub, is 24.5% (12% federal, 5% state, 7.5% FICA).
Step 1. Add post-tax deductions to net pay: $2,800 + $50 = $2,850.
Step 2. Convert the tax rate to a decimal and subtract from 1: 1 − 0.245 = 0.755. That’s the share of taxable wages you kept.
Step 3. Divide Step 1 by Step 2: $2,850 ÷ 0.755 = $3,774.17. That’s your taxable wages for the period.
Step 4. Add pre-tax deductions: $3,774.17 + $120 + $300 = $4,194.17. That’s gross pay.
Checking Your Answer
Run the math forward. Starting from $4,194.17 gross, subtract $420 in pre-tax deductions for taxable wages of $3,774.17. Apply 24.5%: $3,774.17 × 0.245 = $924.67 in taxes. Subtract taxes ($3,774.17 − $924.67 = $2,849.50), then subtract $50 in union dues to land at $2,799.50. The 50-cent gap from $2,800 is rounding. If your forward check is off by more than a dollar or two, recheck how you classified each deduction or how you calculated your effective rate.
When Your Combined Rate Shifts Mid-Year
The 6.2% Social Security tax only applies to the first $184,500 of wages in 2026.8Social Security Administration. 2026 Cost-of-Living Adjustment (COLA) Fact Sheet Once your year-to-date earnings cross that line, Social Security withholding stops for the rest of the year and your combined rate drops by 6.2 points on later checks. At the start of the next calendar year, the full 6.2% resumes. If you earn above $200,000, the Additional Medicare Tax of 0.9% also kicks in partway through the year.6Office of the Law Revision Counsel. 26 USC 3101 – Rate of Tax
Because of these shifts, pull your effective rate from a pay stub in the same part of the year as the paycheck you’re trying to reconstruct. A January rate won’t reproduce a November check for a high earner.
If You Need Annual Gross Pay Instead
For a yearly figure, your Form W-2 is a more reliable starting point than reverse-engineering a single paycheck. Box 1 shows wages subject to federal income tax, Box 3 shows wages subject to Social Security tax, and Box 5 shows Medicare wages. These often differ, because pre-tax retirement contributions reduce Box 1 but not Boxes 3 and 5. Your true total gross pay is usually closest to Box 5 plus any pre-tax health insurance premiums that were also exempt from Medicare under a cafeteria plan. If you contributed to a traditional 401(k), Box 12 with code D shows the deferred amount; adding it to Box 1 moves you closer to total gross.
Mistakes That Skew the Result
- Treating every deduction as post-tax. Running a pre-tax 401(k) contribution through the tax divisor inflates the answer.
- Using a marginal bracket in place of the effective rate. Someone in the 22% federal bracket doesn’t pay 22% on every dollar of wages; plugging in the bracket overstates gross pay.
- Ignoring mid-year rate changes when Social Security withholding stops or Additional Medicare Tax begins.
- Leaving out state, local, or state paid-leave withholdings. A missing 5% state tax alone will noticeably understate gross.
- Rounding too early. Keep at least two decimal places through each step; rounding the rate or an intermediate result can compound into a real gap by the end.
If your calculated gross doesn’t match your actual stub within a dollar or two on the forward check, the likely culprit is a misclassified deduction. Sort those first, then revisit the rate.