Take-Home Pay Calculator Formula

Understand the math behind the take-home pay calculator. Each variable explained with a worked example.

Formulas Used

Annual Take-Home

net_annual = gross_annual - fica - federal_tax - state_tax - retirement

Monthly Take-Home

net_monthly = (gross_annual - fica - federal_tax - state_tax - retirement) / 12

Total Annual Deductions

total_deductions = fica + federal_tax + state_tax + retirement

Variables

VariableDescriptionDefault
gross_annualGross Annual Salary(USD)60000
federal_rateEffective Federal Tax Rate(%)12
state_rateState Tax Rate(%)5
retirement_pct401(k) / Retirement Contribution(%)6
ficaDerived value= gross_annual * 7.65 / 100calculated
federal_taxDerived value= gross_annual * federal_rate / 100calculated
state_taxDerived value= gross_annual * state_rate / 100calculated
retirementDerived value= gross_annual * retirement_pct / 100calculated

How It Works

How Take-Home Pay Is Calculated

Your take-home pay is the gross salary minus all deductions: federal income tax, state income tax, FICA (Social Security + Medicare), and retirement contributions.

Formula

Net Pay = Gross - Federal Tax - State Tax - FICA (7.65%) - Retirement

FICA includes Social Security (6.2%) and Medicare (1.45%), totaling 7.65% on wages up to the Social Security cap.

Worked Example

Annual salary of $60,000 with 12% federal rate, 5% state, 6% retirement.

gross_annual = 60000federal_rate = 12state_rate = 5retirement_pct = 6
  1. 01FICA = $60,000 x 7.65% = $4,590
  2. 02Federal tax = $60,000 x 12% = $7,200
  3. 03State tax = $60,000 x 5% = $3,000
  4. 04Retirement = $60,000 x 6% = $3,600
  5. 05Total deductions = $4,590 + $7,200 + $3,000 + $3,600 = $18,390
  6. 06Net annual = $60,000 - $18,390 = $41,610
  7. 07Net monthly = $41,610 / 12 = $3,467.50

Ready to run the numbers?

Open Take-Home Pay Calculator