Use this free hours calculator to find the hours worked in a shift, subtract unpaid breaks, total your hours for the week, work out pay and overtime, convert hours into minutes and days, or turn a salary into an hourly rate. Results update as you type and work with any currency.

Timesheets are easy to get wrong. Mixing minutes with decimals or forgetting a break can change a paycheck, so a quick calculation keeps your hours and pay accurate.

How to use the hours calculator

Pick the calculator that matches your question and fill in the boxes. The result and the formula used appear instantly.

  • Hours worked in a shift: enter start and end times and any unpaid break. Shifts that pass midnight are handled automatically.
  • Pay for hours worked: enter hours, minutes, and an hourly rate to get total pay.
  • Total hours for the week: enter the hours for each day to get the weekly total.
  • Overtime pay: set the overtime threshold and multiplier to split regular and overtime pay.
  • Convert hours: see hours as minutes, days, eight-hour workdays, and 40-hour weeks.
  • Salary to hourly rate: divide a yearly salary by the hours you work.

Hours formulas

QuestionFormulaExample
Hours workedEnd − Start − Break9:00 to 17:30 − 30 min = 8 h
Decimal hoursHours + Minutes ÷ 607 h 45 min = 7.75
PayHours × Hourly rate7.75 × 20 = 155.00
Overtime payRegular × Rate + Overtime × Rate × Multiplier40 × 20 + 6 × 20 × 1.5 = 980
Hourly rateSalary ÷ (Hours per week × 52)52,000 ÷ 2,080 = 25.00
Average per dayTotal hours ÷ Days worked37.5 ÷ 5 = 7.5

Weekly hours chart

Here is how common weekly schedules add up over a 52-week year, with pay at 20 per hour.

Hours per weekHours per yearPay at 20/hour
201,04020,800
301,56031,200
37.51,95039,000
402,08041,600
452,34046,800
Whether you are filling in a timesheet, checking a paycheck, or comparing job offers, an hours calculator gives exact figures in seconds.

Worked examples

Hours in a shift

You work from 9:00 AM to 5:30 PM with a 30-minute unpaid break. The shift is 8 hours 30 minutes, minus the break, which leaves 8 hours.

An overnight shift

A shift from 10:00 PM to 6:00 AM with a 30-minute break is 8 hours minus 30 minutes, or 7 hours 30 minutes, which is 7.5 hours.

Pay for hours worked

You work 7 hours and 45 minutes at 20 per hour. In decimal hours that is 7.75, so pay is 7.75 × 20 = 155.00.

Totaling the week

Daily hours of 8, 8, 7.5, 8, and 6 add up to 37.5 hours, or 37 hours 30 minutes. Over five days that averages 7.5 hours per day.

Overtime pay

You work 46 hours at 20 per hour, with overtime after 40 hours at 1.5 times. Regular pay is 40 × 20 = 800 and overtime pay is 6 × 20 × 1.5 = 180, for a total of 980.

Salary to hourly rate

A 52,000 yearly salary at 40 hours per week covers 2,080 hours, so the hourly rate is 52,000 ÷ 2,080 = 25.00.

Common hours calculation mistakes

  • Treating minutes as decimals. 7 hours and 45 minutes is 7.75 hours, not 7.45. Divide minutes by 60.
  • Forgetting unpaid breaks. Subtract lunch or break time that is not paid, or your total will be too high.
  • Missing a midnight crossover. If the end time is earlier than the start time, the shift runs into the next day.
  • Assuming one overtime rule. Overtime thresholds and multipliers vary by country, state, and contract, so check your own rules.

Frequently asked questions

How do I calculate hours worked?

Subtract the start time from the end time, then subtract unpaid breaks. From 9:00 AM to 5:30 PM with a 30-minute break is 8 hours.

How do I calculate hours for an overnight shift?

If the end time is earlier than the start time, add 24 hours to the end time. From 10:00 PM to 6:00 AM is 8 hours before breaks.

How do I convert minutes to decimal hours?

Divide the minutes by 60 and add them to the hours. 7 hours and 45 minutes is 7.75 hours.

How do I calculate overtime pay?

Pay regular hours at the normal rate and the extra hours at the rate times the multiplier. With 46 hours at 20 per hour and overtime after 40 hours at 1.5 times, pay is 800 + 180 = 980.

How do I convert a salary to an hourly rate?

Divide the yearly salary by the hours worked in a year. A 52,000 salary at 40 hours per week is 52,000 ÷ 2,080 = 25 per hour.

How many working hours are in a year?

A 40-hour week over 52 weeks is 2,080 hours. The real number is lower after holidays and leave.

Share this article