Payroll Calculator
Calculate payroll — gross pay, deductions, and net pay — for hourly and salaried employees. Federal/state tax, Social Security, Medicare, 401k, health insurance, YTD estimator, pay stub generator (text + HTML), CSV export, history (localStorage), shareable URL, summary stats. 100% client-side.
About Payroll Calculator
Calculate payroll — gross pay, deductions, and net pay — for hourly and salaried employees. Federal/state tax, Social Security, Medicare, 401k, health insurance, YTD estimator, pay stub generator (text + HTML), CSV export, history (localStorage), shareable URL, summary stats. 100% client-side. Everything runs locally in your browser — your data never leaves your device.
How to use
- Enter your input in the tool above.
- Adjust any options to your preference.
- Use the Copy or Download buttons to save the result.
- Everything happens locally — your data never leaves your browser.
FAQ
How does the payroll calculator work?
Enter the employee's pay frequency (weekly, bi-weekly, semi-monthly, or monthly) and type (hourly or salaried). For hourly employees, enter hourly rate, hours worked, and optional overtime hours with a 1.5x default multiplier. For salaried employees, enter the annual salary — the tool divides by pay periods per year. Federal tax, state tax, Social Security (6.2%), Medicare (1.45%), 401k, and health insurance deductions are all itemized. Net pay = gross − total deductions.
Can I generate a printable pay stub?
Yes. After calculating payroll, download the pay stub as a formatted text file (.txt) or as a printable HTML file (.html) that opens in any browser and prints cleanly. A CSV breakdown of every line item (component, amount) is also available.
What is the YTD estimator?
Year-to-date (YTD) estimator multiplies the current period's gross, total deductions, and net pay by the period number within the year. For example, period 6 of a bi-weekly pay frequency (26 periods/year) gives an estimate of the partial-year totals. Adjust as needed for variable pay.
What extra features does this tool have compared to others?
(1) 4 pay frequency presets (weekly, bi-weekly, semi-monthly, monthly). (2) 2 employee types (hourly, salaried). (3) Hourly gross calculator with overtime. (4) Salaried gross calculator per period. (5) Federal tax calculator. (6) State tax calculator. (7) Social Security + Medicare calculator. (8) 401k retirement contribution calculator. (9) Health insurance deduction applier. (10) YTD estimator. (11) Pay stub generator (text + HTML). (12) Render as text report. (13) Render as CSV (component, amount). (14) Copy + Download .txt + Download HTML + Download CSV. (15) History (localStorage, max 20). (16) Shareable URL. (17) Summary stats (gross, deductions, net, effective tax rate).
Is my data sent anywhere?
No. All payroll calculation runs 100% locally in your browser. History is stored in localStorage on this device only. Nothing is uploaded.
Related tools
Advanced Markup Calculator
Calculate markup, margin, retail price, cost with tax. 100% private. 100% private.
Annuity Calculator
Calculate annuity present value, future value, and payout with custom terms. 100% private. 100% private.
ARR Calculator
Calculate Annual Recurring Revenue from MRR, churn, and growth. 100% private. 100% private.