Payroll Calculator
Calculate employee gross pay, deductions, and net pay
How to Calculate Payroll: Complete Guide
Payroll is the total compensation a business pays its employees for a given pay period, including wages, salaries, bonuses, and deductions. Accurate payroll calculation is essential for legal compliance, employee satisfaction, and sound financial management. Whether you're a small business owner running payroll for the first time or an HR professional verifying numbers, understanding the underlying formulas ensures every paycheck is correct.
The payroll process involves two core calculations: determining gross pay (total earnings before deductions) and then subtracting withholdings to arrive at net pay (the take-home amount). Our calculator above handles both steps, but knowing the math helps you audit results and catch errors before they reach an employee's bank account.
Gross Pay Formula
Gross Pay = (Regular Hours × Hourly Rate) + (Overtime Hours × Hourly Rate × OT Multiplier)
For salaried employees: Gross Pay = Annual Salary ÷ Number of Pay Periods
Net Pay Formula
Net Pay = Gross Pay − Federal Tax − State Tax − FICA (Social Security + Medicare) − Other Deductions
In simplified terms: Net Pay = Gross Pay − Total Deductions
Worked Examples
Example 1: Standard Hourly Worker
Maria earns $18.00/hour and works 40 regular hours plus 5 overtime hours at 1.5× in a week. Her pre-tax deductions (health insurance) total $45.
- Regular Pay: 40 × $18.00 = $720.00
- OT Pay: 5 × $18.00 × 1.5 = $135.00
- Gross Pay: $720.00 + $135.00 = $855.00
- Deductions: $45.00
- Net Pay: $855.00 − $45.00 = $810.00
At a weekly frequency, Maria's estimated annual gross is $855.00 × 52 = $44,460.
Example 2: Salaried Employee with Overtime
James has an annual salary of $62,400 paid bi-weekly. He is a non-exempt salaried employee who worked 6 overtime hours this period at 1.5×.
- Base Pay per Period: $62,400 ÷ 26 = $2,400.00
- Implied Hourly Rate: $62,400 ÷ 2,080 = $30.00/hour
- OT Pay: 6 × $30.00 × 1.5 = $270.00
- Gross Pay: $2,400.00 + $270.00 = $2,670.00
Example 3: Part-Time Worker
Alex works 24 hours/week at $14.50/hour with no overtime. Weekly deductions are $12 for a commuter benefit.
- Gross Pay: 24 × $14.50 = $348.00
- Net Pay: $348.00 − $12.00 = $336.00
- Annual Estimate: $336.00 × 52 = $17,472
Payroll Frequency Comparison
The pay frequency you choose affects the number of paychecks per year and the amount on each check. Here is how the most common schedules compare for a $52,000 annual salary:
| Frequency | Pay Periods/Year | Gross per Check | Common For |
|---|---|---|---|
| Weekly | 52 | $1,000.00 | Hourly, construction, hospitality |
| Bi-Weekly | 26 | $2,000.00 | Most common in the U.S. |
| Semi-Monthly | 24 | $2,166.67 | Salaried office workers |
| Monthly | 12 | $4,333.33 | Executives, some government roles |
Federal and State Tax Overview
Employers must withhold federal income tax, state income tax (where applicable), and FICA taxes from each paycheck. The amount withheld depends on the employee's W-4 elections, filing status, and taxable income.
| Tax Type | Rate (2024) | Wage Base / Notes |
|---|---|---|
| Social Security (OASDI) | 6.2% employee + 6.2% employer | Up to $168,600 |
| Medicare | 1.45% employee + 1.45% employer | No wage limit; +0.9% above $200K |
| Federal Income Tax | 10%–37% (progressive brackets) | Based on W-4 and filing status |
| FUTA (Employer only) | 6.0% (effectively 0.6% after credit) | First $7,000 of wages |
| State Income Tax | 0%–13.3% (varies by state) | 9 states have no income tax |
Common Payroll Deductions Explained
Deductions fall into two categories: pre-tax (reduce taxable income) and post-tax (taken after taxes are calculated).
- Federal & State Income Tax – Mandatory withholding based on W-4 elections and tax bracket tables.
- FICA Taxes – Social Security (6.2%) and Medicare (1.45%) are required for nearly all employees.
- Health Insurance Premiums – Typically pre-tax under a Section 125 cafeteria plan, reducing the employee's taxable income.
- Retirement Contributions (401(k), 403(b)) – Traditional contributions are pre-tax; Roth contributions are post-tax.
- HSA / FSA Contributions – Pre-tax accounts for medical or dependent care expenses.
- Union Dues – Post-tax deductions negotiated through collective bargaining agreements.
- Wage Garnishments – Court-ordered post-tax deductions for child support, student loans, or creditor judgments.
- Life & Disability Insurance – Employer-sponsored group plans often have employee-paid portions.
Warning: Employee Misclassification
Misclassifying employees as independent contractors is a serious violation under the Fair Labor Standards Act (FLSA). The IRS and Department of Labor use behavioral, financial, and relationship tests to determine worker status. Misclassification can result in back-payment of wages, overtime, benefits, penalties, and interest. If workers follow a set schedule, use company equipment, and receive ongoing direction, they are likely employees—not contractors.
Employer Payroll Tax Obligations
Beyond withholding from employee paychecks, employers must also pay their share of FICA (matching 6.2% Social Security and 1.45% Medicare), FUTA tax (federal unemployment), and SUTA tax (state unemployment). These employer-side taxes are not deducted from the employee's pay but represent a real cost of employment. For every dollar an employee earns, the true cost to the employer is roughly $1.07–$1.12 after accounting for these taxes.
Step-by-Step Payroll Process
- Collect Time Data – Gather timesheets, clock-in/out records, or salaried attendance for the pay period.
- Calculate Gross Pay – Multiply regular hours by the hourly rate, add overtime at the applicable multiplier, and include bonuses or commissions.
- Apply Pre-Tax Deductions – Subtract 401(k) contributions, HSA contributions, and Section 125 health premiums from gross pay to determine taxable income.
- Withhold Taxes – Calculate federal income tax (using IRS Publication 15-T tables), state/local taxes, and FICA from the taxable gross.
- Apply Post-Tax Deductions – Subtract Roth contributions, garnishments, union dues, and after-tax insurance premiums.
- Issue Net Pay – Distribute via direct deposit or check and provide a pay stub itemizing each component.
- Remit Taxes & File – Deposit withheld taxes with the IRS (typically semi-weekly or monthly) and file quarterly Form 941.
FLSA and IRS Compliance
The Fair Labor Standards Act (FLSA), enforced by the U.S. Department of Labor, sets the federal minimum wage ($7.25/hour as of 2024), overtime eligibility, youth employment standards, and recordkeeping requirements. Employers must maintain payroll records for at least three years, including hours worked, wages paid, and deduction details.
The IRS employment tax page provides guidance on federal tax deposit schedules, W-4 processing, and Form 941 filing. Employers with payroll tax liabilities exceeding $100,000 in a single day must deposit the next business day. Smaller employers follow monthly or semi-weekly schedules based on lookback-period liabilities.
Frequently Asked Questions
What is the difference between gross pay and net pay?
Gross pay is the total amount earned before any deductions. Net pay (take-home pay) is what the employee actually receives after federal taxes, state taxes, FICA, insurance premiums, retirement contributions, and other withholdings are subtracted.
How often should I run payroll?
Pay frequency depends on your state's requirements and business needs. Most U.S. businesses use bi-weekly (26 pay periods) or semi-monthly (24 pay periods) schedules. Some states mandate minimum pay frequencies—for example, New York requires weekly pay for manual workers.
Do salaried employees get overtime?
It depends on their exemption status. Under the FLSA, salaried employees earning below the salary threshold ($35,568/year for 2024, with proposed increases) and performing non-exempt duties are entitled to overtime at 1.5× for hours exceeding 40 in a workweek. Exempt employees in executive, administrative, professional, or certain computer roles generally are not entitled to overtime.
What payroll records must employers keep?
The FLSA requires employers to retain records of employee identity, hours worked each day and week, regular rate of pay, overtime earnings, additions to and deductions from wages, total wages paid, and payment dates for at least three years. Time cards and schedules must be kept for at least two years.