Work Hours Calculator Formula

Understand the math behind the work hours calculator. Each variable explained with a worked example.

Formulas Used

Total Work Hours

total_hours = net_hours_day * workdays

Total Earnings

total_earnings = net_hours_day * workdays * hourly_rate

Total Break Time

break_hours_total = break_minutes / 60 * workdays

Variables

VariableDescriptionDefault
workdaysNumber of Workdays22
hours_per_dayHours Per Day(hrs)8
break_minutesDaily Break Time(min)60
hourly_rateHourly Rate (optional)(USD/hr)30
net_hours_dayDerived value= hours_per_day - break_minutes / 60calculated

How It Works

How to Calculate Work Hours

Subtract break time from daily hours, then multiply by the number of workdays.

Formula

Net Daily Hours = Hours Per Day - Break Minutes / 60

Total Hours = Net Daily Hours x Workdays

Worked Example

22 workdays, 8-hour days with 60-minute lunch, earning $30/hr.

workdays = 22hours_per_day = 8break_minutes = 60hourly_rate = 30
  1. 01Net hours per day = 8 - 60/60 = 7.0 hours
  2. 02Total work hours = 7.0 x 22 = 154.0 hours
  3. 03Total earnings = 154.0 x $30 = $4,620.00
  4. 04Total break time = 1.0 x 22 = 22.0 hours

Ready to run the numbers?

Open Work Hours Calculator