Pay Stub Template Excel: Complete Guide to Building Professional Paycheck Records in 2026 July
Build a professional pay stub template excel file with formulas for gross pay, taxes, deductions, and net pay. Free guide with VLOOKUP examples. ๐

A well-built pay stub template excel file is one of the most useful documents any small business owner, freelancer, contractor, or HR professional can create. Whether you run payroll for a five-person startup or simply need to issue a clean record of payment to a contract worker, Excel gives you the flexibility to design a paycheck stub that calculates gross pay, taxes, deductions, and net pay automatically. Unlike static PDF generators, a spreadsheet version updates in real time the moment you change a single input cell.
Many people search for ready-made templates because building one from scratch can feel intimidating. The reality is that even a beginner can assemble a functional pay stub using a handful of Excel features they already know: simple arithmetic, basic IF statements, and a clean layout. As you grow more comfortable, you can layer in advanced tricks like vlookup excel formulas to pull tax rates from a hidden lookup table, or data validation to prevent typos in the employee name field.
This guide walks through everything you need to design a professional pay stub from a blank workbook. You will learn the legally required fields most US states expect on a paycheck record, the formulas that handle federal income tax estimation, Social Security and Medicare withholding (FICA), state taxes where applicable, and voluntary deductions like 401(k) contributions or health insurance premiums. We will also cover formatting techniques that make the stub look polished enough to hand to a bank for a loan application.
Before diving in, remember that a pay stub is not the same as a paycheck. The paycheck is the actual payment instrument, while the stub is the itemized statement that explains how the gross amount was reduced to the net deposit. Employees rely on this document for proof of income, tax filing, mortgage applications, rental approvals, and verifying that their employer is withholding the correct amounts. A sloppy or incomplete stub can create serious headaches down the road.
The good news is that Excel handles every calculation a typical small employer needs. With formulas you build once and reuse forever, you can issue stubs in minutes rather than hours. You also avoid recurring subscription fees charged by online paycheck generators, many of which lock advanced features behind paywalls or insert watermarks on the free tier. Owning the template means owning the data.
Throughout this guide, we will reference real formulas you can type directly into a workbook and adapt to your situation. Each section builds on the previous one, so by the end you will have a complete, reusable template ready for any pay period โ weekly, biweekly, semimonthly, or monthly. Let us begin by looking at the numbers behind US payroll and why an Excel-based approach still beats most software for very small operations.
Pay Stub Templates by the Numbers

Required Fields on a Professional Pay Stub
Company name, address, EIN, employee name, address, employee ID, and Social Security number (last four digits only for security). These fields appear in the header section of every stub.
The start and end dates of the pay period, plus the actual date of payment. These dates matter for tax filing and prove when wages were earned versus when they were paid.
Regular hours, overtime hours, holiday pay, bonuses, and commissions. Each category lists rate, hours, and subtotal so the employee sees exactly how gross pay was assembled.
Federal income tax, Social Security (6.2%), Medicare (1.45%), state income tax where applicable, and local taxes. List each as a separate line for full transparency.
Voluntary deductions like health insurance, 401(k), HSA contributions, and garnishments. Net pay equals gross minus all taxes and deductions, displayed prominently in bold.
Once you understand the required fields, building the calculation engine becomes straightforward. Start with a clean worksheet and reserve the top section, roughly rows 1 through 8, for employer and employee information. Use cell merging only sparingly, since heavy merges break sorting and filtering later. If you do want a polished header, learning how to merge cells in excel properly will help you create a clean two-column layout where company branding sits on the left and the pay date sits on the right.
Next, create an earnings block. A typical layout uses four columns: description, hours, rate, and amount. Type labels in column A like Regular, Overtime, Holiday, and Bonus. In the hours column, the employer enters worked hours. In the rate column, enter the hourly wage. The amount column simply multiplies hours by rate using a formula such as =B12*C12. For overtime, US federal law generally requires 1.5 times the regular rate for hours beyond 40 in a workweek, so your formula becomes =B13*C13*1.5.
Below the earnings block, add a Gross Pay row that sums every amount above it. Use =SUM(D12:D15) where D12 through D15 hold the individual earning lines. This single sum becomes the foundation for every tax calculation that follows, so double-check that your range captures every earnings row, including any you might add later. A common mistake is hardcoding a range that misses new rows inserted by users.
The deductions block sits directly under gross pay. Structure it the same way โ description in column A, amount in column D, with column B and C empty or used for percentage rates. Federal income tax is the trickiest because it depends on filing status, allowances, and the IRS withholding tables. Most small employers simplify by using a flat estimated percentage, or by referencing the IRS Publication 15-T tables stored on a separate sheet using vlookup excel formulas.
Social Security withholding is easier. Multiply gross pay by 6.2 percent using a formula like =D16*0.062, where D16 holds the gross pay total. Medicare is =D16*0.0145. Together these two make up the 7.65 percent FICA contribution. If your employee earns over the Social Security wage base (approximately $168,600 in 2024 and adjusted annually), you need an IF statement to cap the Social Security calculation at the maximum.
State income tax varies wildly. Nine states have no income tax at all, while California uses a progressive structure with rates climbing past 13 percent for top earners. The cleanest approach is a small lookup table on a hidden sheet that lists each state and its applicable rate or bracket. Your stub formula then pulls the correct value based on the state code entered in the employee info section. This is exactly the kind of problem VLOOKUP was designed to solve.
Finally, the net pay row computes the result the employee actually receives. The formula is straightforward: gross pay minus total taxes minus total voluntary deductions. Format this cell in bold with a colored background so it stands out. You can also add a year-to-date column that accumulates totals across pay periods, which becomes valuable in December when employees verify their W-2 forms against running totals.

Microsoft Excel Practice Test Questions
Prepare for the Microsoft Excel exam with our free practice test modules. Each quiz covers key topics to help you pass on your first try.
Microsoft Excel Excel Basic and Advance
Microsoft Excel Exam Questions covering Excel Basic and Advance. Master Microsoft Excel Test concepts for certification prep.
Microsoft Excel Excel Formulas
Free Microsoft Excel Practice Test featuring Excel Formulas. Improve your Microsoft Excel Exam score with mock test prep.
Microsoft Excel Excel Functions
Microsoft Excel Mock Exam on Excel Functions. Microsoft Excel Study Guide questions to pass on your first try.
Microsoft Excel Excel MCQ
Microsoft Excel Test Prep for Excel MCQ. Practice Microsoft Excel Quiz questions and boost your score.
Microsoft Excel Excel
Microsoft Excel Questions and Answers on Excel. Free Microsoft Excel practice for exam readiness.
Microsoft Excel Excel Trivia
Microsoft Excel Mock Test covering Excel Trivia. Online Microsoft Excel Test practice with instant feedback.
Microsoft Excel Advanced Data Analysis Tools
Free Microsoft Excel Quiz on Advanced Data Analysis Tools. Microsoft Excel Exam prep questions with detailed explanations.
Microsoft Excel Advanced Formula and Macro...
Microsoft Excel Practice Questions for Advanced Formula and Macro Creation. Build confidence for your Microsoft Excel certification exam.
Microsoft Excel Advanced Formulas and Macros
Microsoft Excel Test Online for Advanced Formulas and Macros. Free practice with instant results and feedback.
Microsoft Excel Basic and Advance Question...
Microsoft Excel Study Material on Basic and Advance Questions and Answers. Prepare effectively with real exam-style questions.
Microsoft Excel Creating and Managing Charts
Free Microsoft Excel Test covering Creating and Managing Charts. Practice and track your Microsoft Excel exam readiness.
Microsoft Excel Data Visualization with Ch...
Microsoft Excel Exam Questions covering Data Visualization with Charts. Master Microsoft Excel Test concepts for certification prep.
Microsoft Excel Formulas and Functions
Free Microsoft Excel Practice Test featuring Formulas and Functions. Improve your Microsoft Excel Exam score with mock test prep.
Microsoft Excel Formulas and Functions App...
Microsoft Excel Mock Exam on Formulas and Functions Application. Microsoft Excel Study Guide questions to pass on your first try.
Microsoft Excel Formulas Questions and Ans...
Microsoft Excel Test Prep for Formulas Questions and Answers. Practice Microsoft Excel Quiz questions and boost your score.
Microsoft Excel Functions Questions and An...
Microsoft Excel Questions and Answers on Functions Questions and Answers. Free Microsoft Excel practice for exam readiness.
Microsoft Excel Managing Data Cells and Ra...
Microsoft Excel Mock Test covering Managing Data Cells and Ranges. Online Microsoft Excel Test practice with instant feedback.
Microsoft Excel Managing Tables and Data
Free Microsoft Excel Quiz on Managing Tables and Data. Microsoft Excel Exam prep questions with detailed explanations.
Microsoft Excel Managing Tables and Table ...
Microsoft Excel Practice Questions for Managing Tables and Table Data. Build confidence for your Microsoft Excel certification exam.
Microsoft Excel Managing Worksheets and Wo...
Microsoft Excel Test Online for Managing Worksheets and Workbooks. Free practice with instant results and feedback.
Microsoft Excel MCQ Questions and Answers
Microsoft Excel Study Material on MCQ Questions and Answers. Prepare effectively with real exam-style questions.
Microsoft Excel Questions and Answers
Free Microsoft Excel Test covering Questions and Answers. Practice and track your Microsoft Excel exam readiness.
Key Formulas: VLOOKUP, IF, and SUM for Payroll
The vlookup excel function is ideal for pulling tax rates from a reference table. Suppose you have a sheet named TaxRates with state codes in column A and rates in column B. In your pay stub, type =VLOOKUP(B5,TaxRates!A:B,2,FALSE) where B5 contains the employee's state. The FALSE argument forces an exact match, which is critical for state codes since you do not want California rates accidentally applied to Colorado entries.
You can extend the same approach to filing status, dependents, or even pay frequency. Build one master rates table and reference it from every pay stub you create. When tax laws change in January, you update one sheet and every stub recalculates automatically. This is the kind of leverage that makes Excel still competitive with paid payroll software for small operations with under ten employees.
Excel Pay Stub vs Online Generator: Which Wins?
- +Zero monthly cost once the template is built
- +Full control over layout, branding, and calculations
- +Works offline with no internet or login required
- +Easy to back up by copying a single .xlsx file
- +Customizable for unusual deductions or bonus structures
- +Reusable across unlimited employees and pay periods
- +Data stays private and never touches a third-party server
- โRequires basic Excel skills to set up correctly
- โManual entry errors can cause incorrect withholding
- โNo automatic tax law updates without manual revisions
- โLacks direct deposit or check printing integration
- โNo built-in audit trail unless you save versions
- โYear-end W-2 generation requires additional templates
- โMulti-state compliance gets complex past a few employees

Pay Stub Template Excel Setup Checklist
- โCreate a header block with company name, address, and EIN
- โAdd employee info: name, ID, address, and last four of SSN
- โInsert pay period start, end, and check date fields
- โBuild an earnings table with description, hours, rate, and amount columns
- โAdd SUM formula for gross pay covering all earnings rows
- โCreate tax withholding rows for federal, Social Security, and Medicare
- โAdd VLOOKUP for state tax rate from a reference sheet
- โList voluntary deductions like 401(k), health insurance, and HSA
- โCalculate net pay as gross minus taxes minus deductions
- โFormat net pay in bold with a highlighted background
- โAdd year-to-date columns for gross, taxes, and net
- โSave template as .xltx so original stays clean for reuse
Protect calculation cells before sharing the workbook
Once your template works correctly, use Excel's cell protection feature to lock every cell containing a formula. Unlock only the input cells where users type hours, rates, and employee info. Then protect the worksheet under the Review tab. This prevents accidental overwrites of your tax calculations while keeping data entry quick and easy.
Design matters more than most people realize when it comes to pay stubs. A document that looks rushed or amateurish raises red flags for the banks, landlords, and lenders who often request stubs as proof of income. Spend time picking a clean font like Calibri, Arial, or Segoe UI at 10 or 11 point. Avoid Comic Sans, Papyrus, or any decorative typeface. Stick to two colors maximum โ one for headings and one for the company name or logo accent. Restraint reads as professionalism.
Column widths deserve attention too. The default narrow columns in Excel make data look cramped. Widen description columns to roughly 25 characters and number columns to about 12 to 15 characters. Right-align all currency values so decimal points line up vertically, which is essential for fast visual scanning. Apply the accounting format with two decimal places rather than the currency format, because accounting format aligns dollar signs flush left in each cell, again improving alignment.
Borders should be used sparingly. A heavy box around the entire stub plus thin horizontal lines separating earnings, taxes, deductions, and net pay is enough. Avoid putting borders on every single cell โ that creates visual noise. Use background shading instead to group related rows. A subtle light gray on alternating rows or section headers helps the eye track from left to right without losing place.
When you build the template, consider whether you want a single-page or two-stub layout. A two-stub layout fits the employer copy on the top half of the page and the employee copy on the bottom half, separated by a dashed cut line. This was common when paper checks dominated, and many small employers still prefer it for record keeping. Excel handles this easily with proper print area settings under the Page Layout tab.
Page Layout view is your best friend during design. Switch to it under the View tab to see exactly how the printed page will look, including margins and any rows that would spill onto a second page. Set print area, adjust margins, and use Page Setup to scale the content to fit one page wide. Many beginners struggle with stubs printing across two pages because they never enter Page Layout view to check.
If you plan to email PDFs of stubs to employees, learn to use Excel's Export to PDF feature. Go to File, Export, Create PDF/XPS, and select only the print area to avoid exporting empty cells beyond your stub. The resulting PDF preserves your formatting exactly. Some employers prefer this approach because PDFs cannot be easily modified by recipients, which is important for legal and audit purposes when stubs are used as evidence in tax disputes or legal proceedings.
Headers and footers add a final professional touch. Insert your company name on the left side of the header, the pay date in the center, and a page number on the right. The footer can include legal disclaimers like "This stub is for informational purposes only โ please retain for tax records." These small details signal that thought went into the design and instantly elevate the perceived quality of every paycheck you issue.
Most US states legally require employers to provide written pay stubs, but the specific required fields differ. California, New York, and several other states mandate detailed itemization including hours worked, pay rate, and exact deductions. Review your state Department of Labor website before relying on a generic template, since penalties for noncompliance can reach hundreds of dollars per missing stub per employee.
A template earns its real value when you reuse it efficiently. Save your finished file as an Excel template using the .xltx extension. When you double-click an .xltx file, Excel opens a fresh copy rather than the original, so you never accidentally overwrite the master. Store it in a dedicated payroll folder with subfolders for each pay period or each employee. Cloud sync through OneDrive, Google Drive, or Dropbox provides automatic backup against drive failure or accidental deletion.
For multiple employees, consider building a small dashboard sheet that lists every worker, their pay rate, filing status, and standard deductions. Each pay period, you copy the template, select an employee from a dropdown, and let formulas populate the rest. To build that dropdown, you will need to learn how to create a drop down list in excel using Data Validation. Once mastered, this single feature transforms a manual process into something almost as fast as commercial software.
Freezing the header rows makes long stubs easier to navigate. Most users learn how to freeze a row in excel by clicking View, Freeze Panes, Freeze Top Row, which keeps column headers visible as you scroll. For pay stub templates this matters less since stubs fit on one screen, but for the payroll history sheet that accumulates dozens or hundreds of pay periods over time, freezing the header is essential for fast lookup and verification.
If you accumulate a long payroll history, sooner or later you will need to remove duplicates excel rows that crept in from accidental double entries. Select your data range, go to Data, Remove Duplicates, and check the columns that uniquely identify each record โ typically employee ID and pay date together. Excel scans the range and deletes any row that matches another on those fields, keeping your historical records clean and your year-end totals accurate.
Version control deserves serious thought. Each January, tax brackets and contribution limits change. Save a clean copy of your template named with the year, like PayStub_2026_Master.xltx, before making any updates. That way you can always reference the prior year template if questions arise about historical stubs. Keep at least three years of templates accessible, since the IRS can audit returns up to three years after filing and may request copies of original payroll records.
Macros can automate repetitive tasks if you are comfortable with VBA. A simple macro can clear all input cells, increment the pay period dates by one week, and save the file with a new filename in one click. While not strictly necessary, macros reduce setup time per pay period from minutes to seconds for businesses running weekly payroll. Just remember to save macro-enabled files as .xlsm and warn users about enabling macros when they first open the workbook.
Finally, build a quick reference guide on a hidden sheet within the workbook. Document what each formula does, where to find the tax rate table, and how to add a new employee. Six months from now, when someone else takes over payroll or when you forget the structure yourself, that internal documentation pays for itself within the first ten minutes. Excel templates that include their own user guide always outlive the ones that rely on tribal knowledge.
To finish this guide, here are practical tips that separate functional templates from truly polished ones used in real businesses. Always test your template with a few sample scenarios before issuing the first real stub. Try an employee with no overtime, one with twenty overtime hours, one earning below the state minimum, and one earning above the Social Security wage base. If your formulas produce the correct result in all four cases, you can trust the template under normal conditions.
Double-check your tax rate sources every January. Federal withholding tables, Social Security wage bases, retirement contribution limits, and HSA limits all adjust annually. The IRS publishes Publication 15-T with updated tables, and Social Security Administration announces the new wage base each October for the following year. Bookmark these resources and set a calendar reminder for the first week of January to review and update your template.
Always keep at least three years of past stubs and the templates used to generate them. The Fair Labor Standards Act requires three years for payroll records, and some states extend this to four or six years. Cloud storage makes this painless. A single folder structured by year and pay period costs nothing to maintain and provides immediate access if an employee, auditor, or attorney requests historical records months or years after the fact.
If you are issuing stubs to independent contractors rather than W-2 employees, the structure changes. Contractors are responsible for their own taxes, so the stub should show gross payment, any reimbursable expenses, and the net payment without any tax withholding lines. This is often called a payment voucher rather than a pay stub. Still, contractors appreciate professional documentation, especially when they apply for mortgages or business loans where proof of income matters.
Consider providing employees with electronic stubs through a secure portal or password-protected PDF rather than printed paper. Electronic delivery saves paper, postage, and time. Many states allow electronic pay stubs as long as employees can access them at any time and print them if needed. A simple password protected PDF emailed on payday meets the requirements in most jurisdictions. Document your delivery method in the employee handbook.
Privacy is often overlooked. Never include the full Social Security number on a pay stub. Use only the last four digits, prefixed with asterisks like ***-**-1234. Full SSNs printed on stubs are a major identity theft risk if the document is lost, stolen, or improperly disposed of. Likewise, mask bank routing and account numbers if you include direct deposit confirmation details on the stub itself. Less sensitive data displayed means less exposure if a document falls into the wrong hands.
Finally, when in doubt about complex payroll situations โ multi-state employees, garnishments, prevailing wage jobs, or tipped workers โ consult a payroll professional or CPA before relying on a self-built template. Excel is powerful, but it is not a substitute for professional judgment when significant tax liability or compliance penalties are at stake. The template handles routine cases efficiently and frees you to spend professional fees only on the genuinely complicated situations that arise occasionally.
Excel Questions and Answers
About the Author
Business Consultant & Professional Certification Advisor
Wharton School, University of PennsylvaniaKatherine Lee earned her MBA from the Wharton School at the University of Pennsylvania and holds CPA, PHR, and PMP certifications. With a background spanning corporate finance, human resources, and project management, she has coached professionals preparing for CPA, CMA, PHR/SPHR, PMP, and financial services licensing exams.




