Overtime Pay Calculator Formula

Understand the math behind the overtime pay calculator. Each variable explained with a worked example.

Formulas Used

Regular Pay

regular_pay = hourly_rate * regular_hours

Overtime Pay

overtime_pay = ot_rate * overtime_hours

Total Weekly Pay

total_pay = hourly_rate * regular_hours + ot_rate * overtime_hours

Variables

VariableDescriptionDefault
hourly_rateHourly Rate(USD/hr)22
regular_hoursRegular Hours(hrs)40
overtime_hoursOvertime Hours(hrs)10
ot_multiplierOT Multiplier1.5
ot_rateDerived value= hourly_rate * ot_multipliercalculated

How It Works

How Overtime Pay Is Calculated

Overtime pay applies to hours worked beyond the standard threshold (usually 40 hours/week). The overtime rate is typically 1.5x the regular hourly rate.

Formula

Total = (Regular Hours x Hourly Rate) + (OT Hours x Hourly Rate x OT Multiplier)

Worked Example

You earn $22/hr, work 40 regular hours and 10 overtime hours at 1.5x.

hourly_rate = 22regular_hours = 40overtime_hours = 10ot_multiplier = 1.5
  1. 01Regular pay = $22 x 40 = $880.00
  2. 02OT rate = $22 x 1.5 = $33.00
  3. 03Overtime pay = $33 x 10 = $330.00
  4. 04Total weekly pay = $880 + $330 = $1,210.00

Ready to run the numbers?

Open Overtime Pay Calculator