Try the sheet here, on the example
The sheet is open below with sample numbers. Change any white cell and watch the results update, or press the blank-copy button to type your own data from scratch. Nothing you type leaves your browser.
Example from the sheet
| Pay period | 46328 | 46341 | Start and end date. Change them, the rates and the currency on the Settings sheet. | |
|---|---|---|---|---|
| Employees paid | 10 | Income tax withheld | 1,782.99 | |
| Total gross pay | 16,198.28 | Employer contributions | 971.90 | |
| Total net pay | 12,841.53 | Total employer cost | 17,170.18 | |
| Total deductions | 3,356.75 | Overtime pay | 350.63 | |
| Department | Gross pay | Employees | Earnings type | Amount |
| Kitchen | 6,231.15 | 3 | Regular pay | 15,350.65 |
| Counter | 3,252.75 | 3 | Overtime | 350.63 |
| Delivery | 2,914.38 | 2 | Paid time off | 222.00 |
| Office | 3,800.00 | 2 | Bonus | 275.00 |
Example from the “Dashboard” tab, with the numbers and formulas that are in the file.
What is inside
- Dashboard: For the pay period: employees paid, gross pay, net pay, total deductions, income tax withheld, employer contributions, total employer cost and overtime pay, with four charts: gross pay by department, where the gross pay goes, gross and net by employee, and earnings by type.
- Payroll: The register: one row per employee with regular, overtime and paid-time-off hours and pay, bonus, gross pay, retirement, taxable pay, income tax, employee contribution, other deductions, net pay, employer contribution and total employer cost. Totals sit above the headings, and a Check column flags a missing rate or negative net pay. Room for 60 employees.
- Hours: The only sheet you fill in each period: week 1 and week 2 hours, paid time off hours, bonus, one-off deduction and a note.
- Employees: Your staff list: ID, name, department, pay type (Hourly or Salary), hourly rate or annual salary, an optional tax rate, a pre-tax retirement percentage and a fixed deduction per period.
- Payslip: Choose an employee ID and see that person's payslip for the period: hours and earnings, each deduction, net pay, and the employer's cost.
- Lists: Your departments (up to 10).
- Settings: Business name, currency symbol, pay period dates, pay periods per year, overtime limit and multiplier, and the default tax, employee contribution and employer contribution rates.
The file opens on a start tab (“Start here”) that explains how to use it.
What makes it different
Most payroll templates give you one row of formulas and leave the layout to you. This one separates what changes every period (the Hours sheet) from what rarely changes (Employees and Settings), handles hourly and salaried people in the same register, counts overtime week by week, and ends in a payslip you can print. The sample is a ten-person bakery paid fortnightly in November 2026.
How do I calculate payroll in Excel?
For an hourly employee, regular pay is regular hours times the hourly rate, overtime pay is overtime hours times the rate times the overtime multiplier, and gross pay is those plus paid time off and any bonus. Take off the deductions, such as income tax, retirement contributions and other withholdings, and what is left is net pay. A salaried employee is paid the annual salary divided by the number of pay periods in the year.
In the sample, Maria Lopez works 42 and 44 hours in two weeks at 22.00 an hour. That is 80 regular hours (1,760.00), 6 overtime hours at 1.5 times (198.00) and a 50.00 bonus, a gross pay of 2,008.00. After deductions her net pay is 1,571.36.
How is overtime calculated?
This template counts overtime week by week: any hours above the weekly limit on Settings, 40 in the sample, are paid at the overtime multiplier, 1.5 in the sample. Each of the two weeks is tested on its own, so a short week does not cancel an overtime week. Salaried staff have no overtime.
Overtime rules differ by country, state and type of job. Some places count overtime per day, or exempt certain roles. Change the limit and multiplier to match your rules and check your local rules before you pay.
How do I make a payslip?
Pick the employee ID on the Payslip sheet. It reads that person's row in the register and shows the earnings, each deduction, the net pay and the date range of the pay period, ready to print or save as a PDF.
To keep an attendance record alongside payroll, see the employee attendance template. If you pay by invoice rather than payroll, the invoice template is the better fit.
How to use it
- On Settings type your business name, currency symbol, the pay period dates, the number of pay periods per year, the overtime rules and your default rates. Replace the sample rates with the ones that apply to you.
- On Lists enter your departments. On Employees add one row per person: ID, name, department, pay type (Hourly or Salary), the hourly rate or annual salary, and any tax rate, retirement percentage or fixed deduction that applies to that person.
- Each pay period, open Hours and type the hours worked in week 1 and week 2 for hourly staff, any paid time off hours, any bonus and any one-off deduction. Salaried staff only need a bonus or deduction if they have one.
- The Payroll sheet works out regular pay, overtime, paid time off, gross pay, deductions, net pay and the total cost to you as employer, for everyone at once.
- Choose an employee ID on Payslip to see and print that person's payslip.
- Open Dashboard for the totals of the period, pay by department, where the gross pay goes and gross against net for each employee.
Before you start:
- Capacity: 60 employees and 10 departments. The Employees, Hours and Payroll sheets use the same row for the same person, so do not sort one of them on its own.
- The rates on Settings are sample values: they are not tax or social security rates for any country. Enter the rates and rules that apply to you, and check your local rules and your accountant for what must be withheld and reported.
- Overtime is counted per week: hours above the weekly limit on Settings are paid at the overtime multiplier. Salaried staff are paid their annual salary divided by the pay periods per year, with no overtime.
- Tax is worked out on gross pay after the pre-tax retirement deduction. Leave an employee's tax rate blank to use the default rate on Settings.
- For a new pay period, change the dates on Settings and clear the Hours sheet (hours, time off, bonus and one-off deduction); the Employees sheet stays.
- Use one currency in one workbook. The currency symbol on Settings is only a label.
Still running this on Excel?
This sheet suits a start and a limited amount of data. If your way of working grows, or you need more than one person working on it at the same time, Softwiro can build you a program that fits the way you work.
| In this sheet | In Custom Software from Softwiro |
|---|---|
| One file that one person edits at a time, and copies reach you on WhatsApp. | A program with a login for each user and permissions you define, and everyone sees the same data. |
| You type everything and check the numbers by hand. | We design the screens around your work steps, so each person records only what concerns them. |
| Columns and formulas are fixed as the sheet was designed. | We build what you need: reports, alerts and screens your way. |
| Backups and security are your own responsibility. | The program runs on a secured server with regular backups. |
Frequently asked questions
Is this payroll template really free?
Yes. Download it, use it for your business and change anything you like. There is nothing to sign up for to open the file.
Are the tax rates correct for my country?
No. The tax, employee contribution and employer contribution rates on Settings are sample values, not the rates of any country. Enter the rates and rules that apply to you and check your local rules or ask your accountant. The template does not file or report anything.
Does it work in Google Sheets and LibreOffice?
Yes. It uses ordinary formulas such as SUMIFS, COUNTIFS, INDEX, MATCH and ROUND, so it works in Excel 2016 and later, LibreOffice and Google Sheets.
How many employees can it hold?
60 employees and 10 departments. It covers one pay period at a time; save a copy of the file for each period and clear the Hours sheet for the next one.
Can it handle weekly or monthly pay?
Mostly. Change the pay periods per year on Settings (52 for weekly, 12 for monthly) and the dates, so salaries are divided correctly. The Hours sheet has two weekly columns: for a weekly period use week 1 only. For a monthly period, split the hours across the two columns yourself, because overtime is tested in each column against the weekly limit.
Is the template free?
Yes, with no sign-up and no email address. Use it, edit it and share it as you like.
Does it work in Google Sheets and on mobile?
The sheet uses formulas supported by Excel 2016 and later, Google Sheets and LibreOffice, so you can upload it to Google Drive and open it with Google Sheets on a computer or a phone.
What is the difference between the white and the gray cells?
You type in the white cells; the gray cells are calculated automatically. Don't type in a gray cell, or you will erase its formula.
Can I use the sheet from an AI assistant?
Yes. Add our MCP server (URL https://softwiro.com/api/mcp, no key needed) to your assistant and ask it to do the calculation in this template. The numbers come from the sheet's own formulas, and we do not store your data. The steps and a ready-made prompt are in this article: https://softwiro.com/blog/mcp-excel-templates-ai-agent-guide.html
More free templates for: Human resources
Step-by-step guide: Employee payroll and attendance in Excel (free) + online version
More free templates
- Weekly Timesheet Template for Excel
- Employee Leave Tracker Template for Excel
- Inventory Tracking Spreadsheet for Excel
- Expense Tracker Template for Excel
- Monthly Household Budget Template for Excel
- Excel CRM Template with Sales Pipeline
- Rent Collection Tracker Spreadsheet for Landlords
- Rental Property Income and Expense Spreadsheet
- Project Budget Template for Excel
- Cash Flow Forecast Template for Excel (12 Months)