PDFMakerAPI
PILLAR GUIDE

How to Create a Pay Stub

A complete guide to creating pay stubs that are accurate, compliant, and professional. Whether you're a small business owner generating your first pay stub or managing payroll for dozens of employees, this guide covers everything — what to include, how to calculate deductions, and how to automate the process.

What is a pay stub?

A pay stub — also called a paycheck stub, pay slip, or earnings statement — is a document that accompanies an employee's paycheck. It provides a detailed breakdown of how the employee's pay was calculated for a specific pay period, including gross earnings, every deduction taken, and the resulting net pay (take-home amount).

Pay stubs serve multiple purposes: they give employees transparency into their compensation, provide proof of income for loan applications and rental agreements, and create a paper trail for tax filing and compliance. For employers, pay stubs are a record of payroll accuracy and tax withholding compliance.

What to include on a pay stub

A complete, compliant pay stub should include these elements:

Earnings vs deductions: understanding the two sides of a pay stub

Every pay stub has two core sections: earnings (money in) and deductions (money out). Understanding both is essential for creating accurate pay stubs.

Earnings

Earnings include everything the employee has earned during the pay period:

The sum of all earnings equals gross pay — the top-line number before any deductions are taken.

Deductions

Deductions are amounts withheld from gross pay. They fall into two categories:

For a detailed breakdown of every deduction type, see our guide on understanding pay stub deductions.

Step-by-step: Create your pay stub

Step 1: Add company and employee details

Start with your company name, address, and EIN at the top of the pay stub. Below that, add the employee's full legal name, address, employee ID number, and the last four digits of their SSN. This information identifies both parties and is required for compliance in most states.

Step 2: Set the pay period and pay date

Clearly state the pay period start date, end date, and the actual pay date. If you run bi-weekly payroll, the pay period might be "March 1 - March 14, 2026" with a pay date of "March 20, 2026." The pay frequency (weekly, bi-weekly, semi-monthly, monthly) should also be noted — it affects how annual salary is divided per pay period.

Step 3: Enter gross earnings

For hourly employees, list regular hours worked, the hourly rate, and the subtotal. Add overtime hours separately at the overtime rate (typically 1.5x). For salaried employees, list the per-period salary amount. Include any bonuses, commissions, or additional pay earned during the period. Add all earnings to get the total gross pay.

Step 4: Itemize all deductions

List every deduction on a separate line with the amount withheld for this period:

Total all deductions. This is the amount subtracted from gross pay.

Step 5: Calculate net pay

Net pay = gross earnings minus total deductions. This is the employee's take-home pay — the amount deposited into their bank account or printed on their paycheck. Double-check this calculation. Payroll errors erode employee trust and can create compliance issues.

Step 6: Add year-to-date totals and export

Include YTD running totals for gross earnings, each deduction category, and net pay. YTD totals help employees track their annual income and deductions, and are essential when employees need proof of income. Export the completed pay stub as a PDF for distribution.

How to generate pay stubs in bulk

If you have multiple employees, creating pay stubs one at a time is tedious and error-prone. Instead, automate the process. Create a pay stub template with dynamic fields like {{employee_name}}, {{gross_pay}}, {{federal_tax}}, and {{net_pay}}. Export your payroll data into a spreadsheet with one row per employee. Upload it to PDFMakerAPI and generate a personalized pay stub PDF for every employee at once — whether that's 5 employees or 500.

This approach eliminates manual data entry, reduces errors, and ensures every employee gets a consistent, professional-looking pay stub. Run it every pay period with updated data.

Pay stub compliance tips

Creating a pay stub with AI

The fastest way to create a pay stub is to describe what you need. Type something like "create a pay stub for a bi-weekly salaried employee with health insurance and 401k deductions" and AI generates a complete template in seconds. You can refine the layout with follow-up prompts or switch to the drag-and-drop editor for precise formatting. Try it free.

Ready to create your pay stubs?

Choose a free template and customize it in minutes. Or describe what you need and let AI build it.

More Pay Stub Guides

FAQ

What is a pay stub?

A pay stub is a document that accompanies a paycheck, detailing gross earnings, itemized deductions, and net pay for a specific pay period. It serves as proof of income and a record of tax withholdings.

What information should be on a pay stub?

Employee name and ID, company name, pay period dates, gross earnings (regular and overtime), itemized deductions (taxes, insurance, retirement), net pay, and year-to-date totals.

Can I create pay stubs myself?

Yes. Use PDFMakerAPI's free pay stub templates — add your company details, employee info, earnings, and deductions, then download as PDF.

How do I generate pay stubs for all employees at once?

Create a template with dynamic fields, upload a payroll spreadsheet, and PDFMakerAPI generates a personalized pay stub PDF for each employee.

Create your first document in under 2 minutes.

Pick a template or describe what you need. AI builds it, you customize it, done. Free — no credit card required.

Try It Free