How to Calculate a Pay Stub: Gross Pay, Taxes, Deductions and Net Pay
By Tony Juraska. Published , updated .
To calculate a pay stub, identify the pay period, calculate gross earnings, determine taxable wages, apply current tax withholding, subtract lawful deductions, and verify that the result equals the payment issued. The basic relationship is:
Gross pay − taxes − other deductions = net pay
The formula is simple, but the inputs must come from real payroll records and current official rules. This guide explains the workflow without pretending one tax percentage fits every employee.
1. Gather the payroll inputs
- Employee name and payroll identifier
- Pay-period beginning and ending dates
- Payment date and pay frequency
- Hourly rate or salary
- Regular and overtime hours
- Bonuses, commissions, tips, or other earnings
- Current withholding forms and tax settings
- Benefit elections, garnishments, and deduction authorizations
- Prior year-to-date totals
If you are new to the document, first read what a pay stub is.
2. Calculate gross pay
Hourly employee
Multiply regular hours by the regular hourly rate. Add overtime, bonuses, commissions, tips, and other earnings.
Example: 40 regular hours × $22 = $880. Two overtime hours × $33 = $66. Gross pay is $946 before any other earnings.
For more detail, use our hourly pay stub guide.
Salaried employee
For a fixed annual salary, divide the annual salary by the number of pay periods. A $62,400 salary paid biweekly has a simple base amount of $62,400 ÷ 26 = $2,400 per pay period.
Confirm the employer’s actual pay calendar. Some years or arrangements can require a different treatment, and salary does not by itself establish overtime exemption. See salary pay stub calculations.
3. Calculate overtime correctly
Under the FLSA, covered nonexempt employees generally earn overtime after 40 hours in a workweek at not less than one and one-half times the regular rate. The regular rate can include certain nondiscretionary bonuses and other compensation, so it may not equal the stated hourly rate. State law can be more protective.
Do not calculate overtime from the pay-period total alone when the pay period contains multiple workweeks. Review regular rate and overtime pay stubs.
4. Determine taxable wages
Gross pay and taxable wages are not always identical. Some pre-tax benefit deductions may reduce wages subject to one tax but not another. Tips, fringe benefits, and imputed income may also change the tax base. Classify each earning and deduction using current IRS and state instructions before calculating withholding.
5. Calculate payroll taxes
Common employee taxes can include federal income-tax withholding, Social Security tax, Medicare tax, and applicable state or local income taxes. Federal income-tax withholding depends on the pay amount, pay frequency, and the employee’s Form W-4 information. State calculations depend on the work and residence jurisdictions and current forms.
Use the current IRS Publication 15-T, official state instructions, and payroll records. A sample percentage from the internet is not a substitute for a withholding calculation.
6. Subtract other deductions
Typical deductions include health insurance, retirement contributions, flexible spending accounts, union dues, garnishments, child support, loan repayments, or other authorized items. Label each deduction clearly. Check whether it is pre-tax or post-tax and whether wage-and-hour limits apply.
Read our guide to taxes, benefits, and other deductions.
7. Calculate and reconcile net pay
Add all employee taxes and other deductions, then subtract the total from gross pay. The result must match the check, direct deposit, or other payment actually issued.
Example: If gross pay is $946, employee taxes total $171.40, and other deductions total $74.60, net pay is $700.00. These tax figures are illustrative only—not a recommended withholding amount.
See gross pay versus net pay for a line-by-line explanation.
8. Update year-to-date totals
Add the current period’s amounts to the previous valid year-to-date totals. Do not multiply one pay period by the number of periods elapsed when bonuses, variable hours, corrections, or benefit changes exist. Learn more in the YTD pay stub guide.
Pay stub quality-control checklist
- Pay-period dates and payment date are correct
- Hours agree with approved time records
- Rates and salary agree with employee records
- Overtime was calculated by workweek
- Earnings add up to gross pay
- Taxes use current official methods
- Deductions are lawful, authorized, and correctly classified
- Deductions plus net pay equal gross pay
- Year-to-date amounts roll forward correctly
- The payment amount equals net pay
Turn verified calculations into a pay stub
After completing the calculation and review, enter the verified information into PayStub Express.
Create your pay stub with PayStub Express
PayStub Express formats the information you provide; it does not verify employment or replace payroll, accounting, legal, or tax review. Never create a false record or use invented figures.
Frequently asked questions
What is the formula for net pay?
Net pay equals gross pay minus employee taxes and other deductions. Employer-only payroll taxes are normally not subtracted from the employee’s gross pay.
How do I calculate biweekly salary pay?
A common base calculation is annual salary divided by 26, but confirm the actual payroll calendar and employment agreement before using it.
Can I estimate taxes on a pay stub?
Use estimates only for planning and label them clearly. An actual payroll record should use current official withholding methods and accurate employee elections.
Official calculation resources
Make a pay stub from your own numbers
The PayStub Express pay stub generator calculates 2026 federal, Social Security, Medicare and state tax as you type. You check a watermarked preview, then pay $1 per stub. It includes 4 free templates and needs no subscription.
Related: Pay stub examples · Pay stub template · Pay stub calculator