With attention to detail and an accurate and reliable template, processing payroll in Excel can be great for small businesses just starting out. Learn how with our guide and free template.
How to Do Payroll in Excel: 7 Simple Steps (+ Video & Template)
This article is part of a larger series on How to Do Payroll.
For very small businesses that operate in states without complex labor and tax laws, knowing how to do payroll in Excel is a good way to pay 10 or fewer employees. Since it is a completely manual approach to payroll, it does take time compared to other methods but can definitely be cost-effective for growing businesses. Using a template, such as our payroll Excel template below, can help with time and efficiency because it contains pre-filled information like tax rates and overtime formulas. After inputting your employee information, you just need to enter the actual hours worked, and then the template will automatically populate the applicable payroll data.
Thank you for downloading!
Quick Tip:
If payroll is still taking too much time or if you’ve outgrown a spreadsheet, consider using a small business payroll software like Gusto.
It automatically files new hire paperwork, calculates and files payroll taxes, generates year-end W-2s and 1099s, pays via direct deposit, and even helps employees choose and manage their benefits, all from one dashboard.
Follow the steps below to run payroll using our free Excel payroll template. If you want to see the process in action, you can also watch our video tutorial on how to do payroll in Excel.
Step 1: Review Payroll Excel Template & Edit for Your Business
Figuring out how to do payroll using an Excel template can take some time. First, you need to take a look at the template and evaluate your business needs. A standardized Excel template for payroll should have tabs for each month, with links to formulas that calculate employee taxes, deductions, and pay. You also need a “Set Up” tab from which your payroll calculations can pull standard information, such as pay rate and benefits enrolled.
Keep the “Set Up” tab up-to-date so you can easily link to it each month you run payroll. This helps with automation and prevents double work.
Here are some questions that can help you identify the information needed to finalize the template.
- How many employees do you have?
- What benefits payments and deductions do you need to withhold from their paychecks?
- Is there anything missing from the template that you need to add?
You may even need to add or delete columns to meet the needs of your small business. For example, if your business is located in a place that charges local income tax (like New York City), you need to reflect that in the payroll Excel template. You can do this by adding the required information in the “Set Up Employee Data” tab. This is where you should always start when making changes because all of the remaining payroll tabs pull their source data from here.
To add a column, choose the column letter (e.g., G, H, or I) you want your new column to come before. Right-click your mouse and then select “Insert.” Enter a header (in row 3) for your new column (for example, “Local NYC Tax”) and input the rates for applicable employees. Go to all the month tabs (from “January Payroll” to “December Payroll”), including the “Year-to-Date Payroll” tab, and enter a new column between columns N and Q (the tax columns). Label this “Local NYC Tax.”
When adding new columns to the month tabs, you must be consistent. If you add a “Local NYC Tax” column in column O on the “January Payroll” tab, you must add it in the same place on other month tabs. For the “Year-to-Date Payroll” tab, which contains the summary of the 12 months, you also need to add any new columns so that these correctly reflect the details from the monthly payroll tabs.
To delete columns, highlight the column you want to remove, right-click your mouse, and then select “Delete.” The rules are the same if you delete a column from the “Set Up Employee Data” tab. If you delete a column from one of the payroll tabs, including the “Year-to-Date Payroll” and the “Set Up” tabs, then you must delete it from the others.
For example, if you delete the “Social Security Tax Rate” in column G of the “Set Up Employee Data” tab, you need to remove the “Social Security Tax” column (column N) in all the 13 payroll tabs. If not, you’ll receive error messages—and your formulas won’t work.
When adding and deleting columns, consider whether or not you can simply change some of the existing column labels in the payroll Excel template. Aside from cutting down on errors, this will save you time from having to change multiple tabs.
To help, we added two columns (columns N and O) in the “Set Up Employee” tab and labeled them “Other Deduction.” Just double-click on the description and overwrite it with a label that more appropriately reflects your needs.
Note that we created the “Other Deduction” columns to be easily personalized, so you don’t have to change any other tabs to match. There’s only one “Other Deductions” column in the 13 payroll tabs, and the data that reflects here is the sum of columns N and O in the “Set Up Employee Data” tab. If you need to add more columns for deductions in the “Set Up” tab, follow the directions above for adding columns.
Step 2: Set Up Payroll Information for Each Employee
Once you’re satisfied with the template layout, you can begin setting up your employee data. To complete the “Set Up” tab, you need the following information.
Enter your employees’ full names under column A in the “Set Up Employee” tab. To do payroll in Excel, you need to re-enter their names on the monthly payroll tabs. When you do, ensure that it matches the name you entered in the “Set Up” tab. If there are differences in spelling and formatting, the monthly and annual payroll tabs will not be able to make automatic calculations.
When you have new hires, enter their details in the “Set Up” tab after the existing employees; information will be auto transferred to other tabs when you input their names.
IMPORTANT NOTE: For employees who have resigned or been terminated, simply stop adding payroll data for them in the monthly payroll tabs. Don’t remove them from the “Set Up Employee” tab, or any prior months reflected in their payroll will update to $0, and your year-to-date payroll expense amounts will change. You can remove all inactive employees from the “Set Up” tab when you recreate the payroll Excel template for the next calendar year.
In column B of the “Set Up Employee Data” tab, enter each hourly employee’s straight-time hourly rate (excluding overtime). Leave this cell blank for salaried employees.
In column C of the same tab, input each salaried employees’ annual salary. For example, if your staff earns $50,000 a year, enter “$50,000.”
In column D, labeled “# of Pay Periods in Year,” enter the applicable payroll period based on how often you pay employees.
- If biweekly, input “26” (52 weeks/two weeks per pay period = 26)
- If weekly, input “52” (52 weeks in a year)
- If semimonthly, input “24” (12 months/two pay periods per month = 24)
- If monthly, input “12” (12 months in a year)
Enter each employee’s federal and state income tax rates in columns E and F, respectively. To find the applicable rates, use the W-4 forms collected from employees when they joined your company. The tax rates depend on the number of allowances your employees entered (usually based on the number of dependents) and their filing status—like married, single, or head of household. Generally, the more allowances employees claim, the lower their tax rates.
The template contains several columns for the different types of benefits you may offer employees, such as health, dental, vision, and 401(k) plans. For each benefit applicable to your business, enter the employees’ premium per pay period in columns I through L of the “Set Up Employee Data” tab.
You can also use columns M, N, and O for garnishments and other employee deductions. After entering the benefits and deduction details on the “Set Up” tab, the template will automatically populate the appropriate fields when you input the employees’ names in column B of the monthly payroll tabs.
Relying on your employees to keep track of their PTO is not a good strategy. To help you monitor this, we included a PTO calculation tool that’s optional to use.
If you decide to use the PTO calculation tool, check the last three columns in the “Set Up” tab that pertain to PTO. In column P (“Enter Annual PTO Hours”), input the total PTO hours employees are entitled to in a year.
You don’t need to fill column Q (“Auto Calculation-PTO Hours Taken”) since the template will automatically pull the total PTO hours each employee has used from the “Year-to-Date Payroll” tab. The same goes for column R (“Auto Calc-PTO Hours Remaining”) because it contains a formula that deducts the actual PTO taken from the employee’s annual entitlement.
Note that you have to separately track the actual PTO hours that each employee has taken for the applicable payroll period of every pay run. Input the data in column F (“PTO Hours Taken”) of the monthly payroll tabs and the “Year-to-Date Payroll” tab will sum up all PTO hours per employee.
Need assistance on how to compute PTO accruals? This video tutorial on calculating PTO hours can help. You can also check our guide for computing vacation accruals, which comes with a PTO calculator you can use for free.
Step 3: Set Up Employer Payroll Tax Information
In addition to tracking withholdings from employee paychecks, you’re responsible for paying your share of payroll taxes. The “Employer Payroll Taxes” tab has cells you can use to enter your federal and state unemployment tax rates. Note that the 6% federal unemployment tax is only charged on the first $7,000 each employee earns (most state unemployment taxes follow the same logic). Be sure to review the information in the payroll tabs each month to help you calculate the tax amount due for each employee and the company.
You will also likely be responsible for workers’ compensation insurance payments. The rates and amounts can vary, depending on the employees’ work, your claim history, and other factors. However, you should receive a monthly premium amount due from the insurance fund that creates your policy. Simply enter the monthly premium amounts in column G (“Enter Workers’ Comp Payable”).
To know more about the payroll taxes that employers are responsible for, read our article on federal and state payroll tax rates.
Step 4: Enter Hours Worked & Other Income Details
After entering all of your employee and employer data into the payroll Excel template, you’re ready to calculate employee payments. Go to the appropriate monthly payroll tab—so if it’s January, go to the “January Payroll” tab. Enter the pay date in column A and the full name of each employee you are paying for the period in column B.
Remember, the name must be the same as you entered in column A of the “Set Up Employee Data” tab. If it doesn’t match, the pay rates, tax rates, and deductions will not populate in the monthly payroll tabs. If you’re concerned you’re not entering them correctly, copy and paste the names in.
Then, input the actual regular hours worked, overtime hours, PTO hours taken, and other income details in the applicable columns. Below are instructions on how to populate some of these columns.
For accurate employee paychecks, enter the correct number of straight-time hours in column E and overtime hours in column G of the monthly payroll tabs. For straight-time hours, this is usually 40 hours or fewer—unless your business is located in California. For overtime, the template calculates pay at a rate of 1.5 times your regular pay rate using the number of hours you specify. However, this can change depending on the labor laws of the state where your business operates.
When doing payroll in Excel, we encourage you to review your state laws on overtime rates. Federal law generally requires you to pay employees overtime for any hours worked over 40 in a consecutive seven-day period. However, California considers any hours worked over eight in a day to be overtime—regardless of whether you work over 40 hours in a workweek.
The straight-time and overtime hourly rates listed in columns C (“Straight-Time Hourly Rate”) and D (“Overtime Hourly Rate”) of the monthly payroll tabs are automated using a formula. There’s also a note above both hourly rate columns that states not to change the contents of the cells because they will update automatically. So, whenever you enter your employees’ names under column B of the monthly payroll tabs, the straight-time hourly rates automatically carry over from the “Set Up Employee Data” tab.
If your business operates in California, you may need to make adjustments because of its rule that employees who work over 12 hours in one workday are entitled to double-time pay. So, any time worked between eight and 12 hours must be paid at a rate of 1.5 times and any hours over 12 must be paid at twice the straight-time rate. In this case, you have to change the formula in column D to reflect what you actually owe.
For example, if you need to pay double time for an employee who worked 16 hours in a day, you can overwrite the existing calculation with this formula. Note that the formula is broken into two parts: four hours to be paid at a rate of time and a half while the other four hours are considered double-time:
= (4*(C4*1.5))+(4*(C4*2))
If you decide to pay an employee bonus, you must withhold payroll taxes similar to the way you do with regular wages. In this payroll Excel template, just enter the bonus amount in column H, and it will be included in the taxable gross income.
For reimbursements of expenses that employees incurred during business travel, note that these transactions are generally not taxable. This is because you are simply reimbursing the money employees used to pay for business expenses; therefore, the employee didn’t actually receive any new income.
In this case, you don’t need to withhold payroll taxes. Instead, enter the amount you need to reimburse to the employee in column I of the applicable monthly payroll tab. We have formulas in place that will disregard this amount when calculating taxes to withhold and pay.
Step 5: Review Automatic Payroll Calculations
After completing your initial setup and entering employee work hours, all payroll calculations should be visible. Before doing payroll in your Excel template, it’s a good idea to review the calculations so you don’t have to void and reissue payments later. The accuracy of your payroll tax calculations also depends on how accurate your employee payroll information is. If you’re not careful, you can subject yourself to penalties. Here are the items you should review, including how the Excel template for payroll computes each.
Salaries in column J of the monthly payroll tabs are automatically pulled from the “Set Up Employee Data” tab. Once the template has the employee’s annual salary and your total number of pay periods in the year, the column will automatically reflect the employee’s salary for the period. In calculating the per-period salary amount, note that the cells in column J have formulas that simply divide the annual salary by the number of annual pay periods you entered on the “Set Up Employee Data” tab.
Similar to column J, the “Straight-Time Pay” column (K) of the monthly payroll tabs also contains automated formulas. It has two parts: the number of straight-time hours worked multiplied by the straight-time hourly rate and the number of PTO hours taken multiplied by the straight-time hourly rate. This helps ensure that you’re paying employees all of the money they’re due, especially PTO hours.
Overtime pay is simple in that it’s calculated using the number of overtime hours you entered in column G and the hourly overtime rate in column D of the monthly payroll tabs. If you have overtime hours listed in column G, there should be a corresponding dollar amount in column L.
Gross pay (column M) is the total income an employee is due before deductions and taxes. In this payroll Excel template, it’s calculated by adding columns J through L, plus columns H and I, of the monthly payroll tabs. These columns contain the employees’ per period salary, straight-time pay, overtime pay, bonuses and commissions, nontaxable income, and reimbursements.
FICA taxes are labeled as “Social Security Tax” (column N) and “Medicare Tax” (column O) of the monthly payroll tabs. These columns are linked to the “Set Up Employee Data” tab, automatically pulling the applicable tax rates from there. The cells then multiply the rates by the employee’s gross pay minus any nontaxable income (such as reimbursements).
As an employer, you are responsible for withholding federal income taxes from your employees’ paychecks. You might also have to withhold additional amounts—depending on the state. In the monthly payroll tabs, columns P and Q (labeled “Federal Income Tax” and “State Income Tax,” respectively) calculate taxes based on the tax rate information you provided in the “Set Up” tab.
Benefits are reflected in column R on each monthly payroll tab, which sums all premiums showing in columns I through L on the “Set Up Employee Data” tab. The amounts should be fixed from one pay period to the next, but you can update the amounts in the “Set Up” tab if they ever change. If you do happen to change the benefit deductions for a particular employee, you need to overwrite the benefit deduction formulas for the prior months first and then overwrite it with the actual dollar amounts.
For example, if you need to change an employee’s health insurance deduction from $100 to $200 starting in June, go to each prior month’s payroll tab (January through May) and delete the formula in the health insurance column for that particular worker. Overwrite with $100 and then go to the “Set Up” tab to update the employee’s health insurance deduction to $200.
Other deductions should be handled the same way as benefits. Note that the “Other Deductions” column (column S) in the monthly payroll tabs consists of garnishments and other deductions detailed in the “Set Up” tab. On the other hand, the “Total Deductions” (column (column T) is the sum of all taxes withheld, premiums collected for benefits, and other deductions.
The “Net Pay” column (column U) contains the amount you need to pay employees through check, direct deposit, or pay card. This amount is calculated automatically by subtracting the employee’s total deductions (column T) from their gross pay (column M).
Want to know more about how this payroll Excel template computes salaries and deductions? Watch this video tutorial we’ve put together on calculating employee pay.
Step 6: Pay Your Employees
After you have reviewed your payroll taxes, deductions, and wage calculations for the pay period, you’re ready to pay your employees. To do this, you can choose to either print checks online, deposit money to employee pay cards, or work with your bank to process direct deposits.
Step 7: Review Year-to-Date Payroll Information
The last tab, titled “Year-to-Date Payroll,” in our payroll Excel template lists all your employee payroll details for the year. It’s linked to the monthly payroll tabs, so all employee payroll expenses should be reflected. If you decide to provide pay stubs—some states require you to do so—this tab will give you the YTD information you need to fill them in.
To help you organize and track payroll-related data, check out some of our other free payroll templates to get started.
Frequently Asked Questions (FAQs)
Setting up a payroll format in Excel beats having to do payroll manually using a calculator to compute the applicable salaries, taxes, and deductions. You can take advantage of Excel formulas and commands to automate some of the computations (such as Social Security and Medicare taxes) and customize how you want the data to be accessed or appear in Excel tabs or spreadsheets.
It can be a good option for some employers with a small workforce (up to 10 employees). However, while Excel provides ease in managing employee and payroll-related data, we only recommend it for very small businesses that have simple payroll and tax calculation needs.
Bottom Line
If you have 10 or fewer employees and live in a state that doesn’t heavily regulate labor and payroll law, learning how to do payroll in Excel could be good for your business. Aside from paying employees, you can keep track of the payroll taxes you owe and maintain payroll records electronically.
Don’t change the Social Security and Medicare tax rates in columns G and H, respectively. These Federal Insurance Contributions Act (FICA) rates are predetermined by the IRS.
For Social Security, the tax rate is 6.2% of the employee’s gross salary. Keep in mind that Social Security maxes out if an employee earns $168,600 (in 2024) in wages before the end of the year. If you have employees earning more than that, you need to stop withholding the 6.2% tax once their YTD earnings exceed that amount.
For example, if your employee meets the $168,600 earnings threshold for Social Security in April, delete all the formulas under “Social Security Tax” (column N) in payroll tabs May through December for the employee. Note that because the Social Security tax rate is 6.2% of wages, the maximum amount any employee will pay annually in 2024 is $10,453.20 ($168,600 maximum x 0.062).
To help check your employees’ total earnings, look at column M (labeled “Year-to-Date Gross Pay”) in the “Year-to-Date Payroll” tab of the Excel payroll template. This column shows the employees’ YTD gross wages. Simply deduct all YTD nontaxable income (column I) from this amount to find the taxable gross income.
For Medicare, the tax rate is 1.45% on an employee’s first $200,000 in wages and an additional 0.9% if the earned wages exceed $200,000 in a calendar year. This increases the total Medicare tax to 2.35% for those individuals. If you have employees who reach this threshold, you need to change the formulas in the “Medicare Tax” column (column O) on all monthly payroll tabs following the month the employee reached $200,000 in gross pay.
To further clarify, look at the screenshot below, specifically the formula field. Delete the (gray) highlighted part of the formula and replace it with “2.35%.” Doing so will overwrite the link to the employee’s Medicare tax rate (which is 1.45%) on the “Set Up Employee Data” tab.
If your employee reaches the $200,000 wage threshold for Medicare, check and revise the formula in the “Medicare Tax” column on applicable monthly payroll tabs.
Note that the threshold for Social Security has increased for the past eight years, while the Medicare tax rate has been the same for the past six years. To ensure that you remain compliant, check for any tax rate changes at the beginning of each year and update the payroll Excel template accordingly.
Relying on your employees to keep track of their PTO is not a good strategy. To help you monitor this, we included a PTO calculation tool that’s optional to use.
If you decide to use the PTO calculation tool, check the last three columns in the “Set Up” tab that pertain to PTO. In column P (“Enter Annual PTO Hours”), input the total PTO hours employees are entitled to in a year.
You don’t need to fill column Q (“Auto Calculation-PTO Hours Taken”) since the template will automatically pull the total PTO hours each employee has used from the “Year-to-Date Payroll” tab. The same goes for column R (“Auto Calc-PTO Hours Remaining”) because it contains a formula that deducts the actual PTO taken from the employee’s annual entitlement.
Note that you have to separately track the actual PTO hours that each employee has taken for the applicable payroll period of every pay run. Input the data in column F (“PTO Hours Taken”) of the monthly payroll tabs and the “Year-to-Date Payroll” tab will sum up all PTO hours per employee.