Overtime is one of the easiest costs to lose control of. A few extra hours here and there look harmless on a timesheet, but across a department and a whole year they can add up to the cost of another employee. Managers usually only find out when the payroll total jumps.

This guide shows you how to calculate overtime cost in Excel from a simple overtime register, by employee and by department, and how to see overtime as a share of basic pay.

The overtime cost formula

Overtime cost = Overtime hours × Hourly rate × Overtime multiplier
Hourly rate = Basic monthly pay ÷ Standard hours per month
Use your own rates. Our examples use 176 standard hours a month, 1.5 times the hourly rate for normal overtime and 2 times for Sundays and public holidays. Your figures depend on your employment contracts, your collective bargaining agreement and the law that applies to you.

Step 1: Set up the Staff sheet and the settings

On a sheet called Staff, list each employee with their department and basic monthly pay. Add an hourly rate column. With standard hours in a settings cell on the same sheet (for example K3):

=C2/$K$3
D2fx=C2/$K$3
A B C D
1 Employee Department Basic pay Hourly rate
2 Tendai Moyo Sales 880 5.00
3 Farai Ncube Operations 1,056 6.00
4 Blessing Sibanda Operations 704 4.00
5 Chipo Marufu Finance 1,232 7.00
Overtime Staff Summary
Figure 1: The Staff sheet. Hourly rate is basic pay divided by 176 standard hours.

On the Overtime sheet, put the two multipliers in settings cells too: 1.5 in K1 for normal overtime and 2 in K2 for Sunday and public holiday overtime. If a rate ever changes, you change one cell.

Step 2: Record overtime in a register

On a sheet called Overtime, record one row for each approved overtime claim: employee, department, hours and type. Then add two calculated columns.

Hourly rate in E2, looked up from the Staff sheet:

=INDEX(Staff!D:D,MATCH(A2,Staff!A:A,0))

Cost in F2, using the right multiplier for the type of overtime:

=C2*E2*IF(D2="Sunday/Holiday",$K$2,$K$1)
F4fx=C4*E4*IF(D4="Sunday/Holiday",$K$2,$K$1)
A B C D E F
1 Employee Department Hours Type Hourly rate Cost
2 Farai Ncube Operations 12 Normal 6.00 108.00
3 Blessing Sibanda Operations 10 Normal 4.00 60.00
4 Blessing Sibanda Operations 8 Sunday/Holiday 4.00 64.00
5 Tendai Moyo Sales 6 Normal 5.00 45.00
6 Chipo Marufu Finance 4 Sunday/Holiday 7.00 56.00
7 Farai Ncube Operations 5 Sunday/Holiday 6.00 60.00
Overtime Staff Summary
Figure 2: The overtime register. Blessing Sibanda’s 8 Sunday hours cost 8 × 4.00 × 2 = 64.00.

Use a drop-down list for the Type column (Data tab, then Data Validation, then List) so it can only contain the two exact words the formula expects.

Step 3: Summarise by department

On a Summary sheet, list your departments in column A and use SUMIFS to total hours and cost:

B2:  =SUMIFS(Overtime!C:C,Overtime!B:B,A2)
C2:  =SUMIFS(Overtime!F:F,Overtime!B:B,A2)
D2:  =SUMIFS(Staff!C:C,Staff!B:B,A2)
E2:  =C2/D2

Column D adds up basic pay for the department, and column E shows overtime as a percentage of it. That is the figure that tells you whether overtime is under control.

E2fx=C2/D2
A B C D E
1 Department OT hours OT cost Basic pay OT % of basic
2 Operations 35 292.00 1,760 16.6%
3 Sales 6 45.00 880 5.1%
4 Finance 4 56.00 1,232 4.5%
5 Total 45 393.00 3,872 10.1%
Overtime Staff Summary
Figure 3: Overtime cost by department. Operations overtime is 16.6% of its basic pay.

Reading the results

Total overtime for the month is 393.00, or 10.1% of basic pay. But Operations, at 16.6%, accounts for 292.00 of it. Within Operations, Farai Ncube’s 17 hours cost 168.00. When one department or person dominates overtime, the usual questions are: is the work planned properly, is the team understaffed, and is every hour approved in advance?

To rank employees by overtime cost, use a PivotTable (Insert, then PivotTable) with Employee in Rows and Cost in Values, sorted largest to smallest.

Common mistakes to avoid

  • Hours entered as time. If overtime is typed as 7:30, Excel stores it as a fraction of a day. Multiply by 24 to turn it into 7.5 hours, or record decimal hours from the start.
  • Typing the multiplier into each formula. When the rate changes you will miss some. Keep rates in settings cells and lock them with $ signs.
  • Using the wrong pay figure. Check whether your policy bases overtime on basic pay or on basic plus certain allowances, and be consistent.
  • Free-text overtime types. “Sunday”, “sun” and “Public hol” will all be treated as normal overtime. Use a drop-down list.
  • Looking only at cost. Hours matter too. Long overtime hours are a health and safety risk as well as a cost.
DO IT IN 2 MINUTES

Skip the setup: use our ready-made report

The Overtime Cost Report calculates cost by employee, department and month, shows your top ten overtime earners and overtime as a percentage of basic pay. Set your rates, paste your register, done.

Get the Overtime Cost Report Get the full HR & Payroll Analysis Toolkit ($35)

Next steps

Overtime cost feeds straight into your monthly payroll review. See How to compare two months of payroll in Excel, or put all your HR figures on one page with an HR dashboard in Excel.