Skip to main content

Work Hours Calculator

Calculate daily or weekly work hours with unpaid breaks, overnight shifts, decimal hours and overtime estimates. Free online work hours calculator.

Your work hours

Time format
Start time
End time

Start and end are on the same day. Turn this on when a shift passes midnight.

Whole minutes, for example 30. Leave paid breaks out.

Changes formatting only. Entered amounts stay unchanged; no exchange-rate conversion.

Leave blank to skip the earnings estimate.

Daily mode pays every net hour at the hourly rate. Use Weekly timesheet to estimate overtime above a weekly threshold.

An illustrative estimate before taxes and deductions, not a payroll or legal compliance calculation. Each pay component is rounded to the nearest cent.

Net work hours

Daily shift

8h 00m

9:00 AM – 5:30 PM, after 30m of unpaid breaks.

Gross duration
8h 30m
Unpaid breaks
30m
Decimal hours
8.00
Total minutes
480
More details & assumptions

Net work time = elapsed time − unpaid breaks: 8h 30m − 30m = 8h 00m

  • Exact whole minutes; no rounding to the nearest quarter hour. Clock times are not adjusted for time zones or daylight saving changes.
  • Decimal hours are rounded to two places for display.

How we calculated this

  1. Step 1: Convert both times to minutes after midnight

    9:00 AM = 540 · 5:30 PM = 1,050

  2. Step 2: Elapsed time

    1,050 − 540 = 510 minutes (8h 30m)

  3. Step 3: Subtract unpaid breaks

    510 − 30 = 480 minutes (8h 00m)

  4. Step 4: Convert to decimal hours

    480 ÷ 60 = 8.00 hours

    Minutes are divided by 60, so 45 minutes is 0.75 hours, not 0.45.

Final answer: You worked 8h 00m (8.00 hours).

Example presets

Net work time 8h 00m, 8.00 decimal hours.

Calculate your daily or weekly work hours in seconds. Enter your start time, end time, and unpaid breaks to see total hours worked, decimal hours, and optional overtime estimates.

How to Use the Work Hours Calculator

Daily shift is the default mode. Use it for one shift:

  1. Pick 12-hour or 24-hour time, then enter the start time and end time.
  2. Turn on Overnight shift if the shift ends after midnight.
  3. Enter the unpaid break in minutes. Tick Add another unpaid break for a second break.
  4. Read the net work hours, the gross duration, decimal hours and total minutes. The answer updates as you type.

Weekly timesheet totals a Monday-to-Sunday week:

  1. Tick each day you worked. Monday to Friday are ticked by default, with sample times you can edit.
  2. Open a day to change its times, break and overnight setting.
  3. Set the weekly overtime threshold. It is 40 hours by default.
  4. Optionally open Estimate Earnings and enter an hourly rate and overtime multiplier.

Copy result, Print result and Export CSV appear once the inputs are valid. Reset restores the default 9:00 AM to 5:30 PM shift and keeps your currency choice.

How to Calculate Work Hours

Net work time

Net work minutes = (end − start) − unpaid break minutes

start, end
Clock times as minutes after midnight (hours × 60 + minutes)
unpaid break minutes
Every unpaid break in the shift, added together

Example: 9:00 AM to 5:30 PM with a 30-minute break: (1,050 − 540) − 30 = 480 minutes = 8 hours

Convert both times to minutes after midnight, subtract the start from the end, then take off the unpaid breaks. Working in whole minutes avoids the rounding errors that creep in when you subtract decimal hours.

When a shift passes midnight, the end time is smaller than the start time. Add 1,440 minutes (24 hours) to the end time before subtracting. This calculator does that only when Overnight shift is on, and it limits a single shift to 24 elapsed hours.

A break equal to the whole shift gives zero work hours. A break longer than the shift is rejected, because it would produce negative hours. For general elapsed time that is not a work shift, such as a trip or an event, use the Time Duration Calculator.

Work Hours Calculation Examples

Office schedule

Standard daytime shift

A shift runs from 9:00 AM to 5:00 PM with no unpaid break.

  1. 9:00 AM = 540 minutes after midnight; 5:00 PM = 1,020 minutes
  2. 1,020 − 540 = 480 minutes
  3. No unpaid break, so 480 minutes remain

8h 00m = 8.00 decimal hours

Retail and hospitality

Shift with a lunch break

A shift runs from 8:00 AM to 4:30 PM with a 30-minute unpaid lunch.

  1. 4:30 PM (990) − 8:00 AM (480) = 510 minutes
  2. 510 − 30 minutes of lunch = 480 minutes
  3. 480 ÷ 60 = 8.00 hours

8h 00m of work in an 8h 30m day

Night shift

Overnight shift

A shift starts at 10:00 PM and ends at 6:00 AM the next morning, with a 30-minute unpaid break. Overnight shift is turned on.

  1. 6:00 AM = 360 minutes; 10:00 PM = 1,320 minutes
  2. 360 + 1,440 (next day) − 1,320 = 480 minutes elapsed
  3. 480 − 30 = 450 minutes

7h 30m = 7.50 decimal hours

Full-time week

Five-day workweek

Monday to Friday, 9:00 AM to 5:30 PM, each day with a 30-minute unpaid break. Saturday and Sunday are excluded.

  1. Each day: 510 − 30 = 480 minutes (8h 00m)
  2. 5 × 480 = 2,400 minutes
  3. 2,400 ÷ 60 = 40.00 hours

40h 00m; no hours above a 40-hour threshold

Overtime estimate

Weekly overtime threshold

Monday to Friday, 8:00 AM to 5:30 PM with a 30-minute unpaid break, against a 40-hour weekly threshold. Optional pay: 20.00 per hour at 1.5×.

  1. Each day: 570 − 30 = 540 minutes (9h 00m); 5 days = 45h 00m
  2. Overtime = max(0, 45 − 40) = 5 hours; regular = 40 hours
  3. Pay: 40 × 20.00 = 800.00; 5 × 20.00 × 1.5 = 150.00

45h 00m: 40h regular + 5h estimated overtime; 950.00 estimated gross pay

How to Convert Work Hours to Decimal Hours

Timesheets and payroll often use decimal hours, where the part after the point is a fraction of an hour. To convert, divide the minutes by 60: decimal hours = hours + minutes ÷ 60. So 7 hours 45 minutes is 7.75 hours. Writing 7.45 would mean 7 hours 27 minutes.

Some minute values repeat when divided by 60. 20 minutes is 0.3333…, shown as 0.33. The calculator adds exact minutes and rounds to two decimal places only for display, so a week of three 7h 20m days shows 22.00 hours instead of 21.99.

Hours and minutes to decimal hours
Hours and minutesDecimal hours
7h 15m7.25
7h 30m7.50
7h 45m7.75
8h 00m8.00
8h 30m8.50

Daily vs. Weekly Work Hours

A daily calculation answers “how long did I work today?” It handles one shift with up to two unpaid breaks, including a shift that ends the next morning.

A weekly calculation adds several shifts. Each included day is calculated on its own and the exact minutes are added, so rounding on one day cannot distort the total. The weekly view also shows the average per included day, regular hours and estimated overtime above your threshold.

For more than one shift on the same day, a biweekly timesheet or task-based totals, use the Hours Calculator. To count the workdays between two dates, such as the length of a contract or a pay period, use the Date Difference Calculator.

Frequently Asked Questions

How do I calculate hours worked?

Subtract the start time from the end time, then subtract any unpaid breaks. For 9:00 AM to 5:30 PM with a 30-minute break, the elapsed time is 8 hours 30 minutes and the hours worked are 8 hours.

How do I calculate work hours with a lunch break?

Enter the lunch length in Unpaid break. The calculator removes it from the elapsed shift time. A shift from 8:00 AM to 4:30 PM with a 30-minute unpaid lunch is 8 hours of work. Use Add another unpaid break for a second unpaid break in the same shift.

How many hours is 9 AM to 5 PM?

9 AM to 5 PM is 8 hours (480 minutes). With a 30-minute unpaid lunch it is 7 hours 30 minutes, or 7.50 decimal hours.

How do I calculate overnight work hours?

Turn on Overnight shift so the end time counts as the next day. From 10:00 PM to 6:00 AM is 8 hours; with a 30-minute unpaid break it is 7 hours 30 minutes. The calculator never assumes an overnight shift on its own: an end time earlier than the start time shows a message until you turn the setting on.

How do I convert work hours into decimal hours?

Divide the minutes by 60 and add the result to the whole hours. 7 hours 45 minutes is 7 + 45 ÷ 60 = 7.75 hours, not 7.45. The calculator shows decimal hours with every result.

How do I calculate total weekly work hours?

Choose Weekly timesheet, tick the days you worked and enter each day’s start time, end time and unpaid break. Each day is calculated separately, and the week adds the exact minutes. Use Copy Monday to other included days when your days share the same schedule.

Does this calculator calculate overtime?

Weekly mode shows a simple estimate: hours above a weekly threshold you set (40 by default). It does not determine whether you are legally entitled to overtime. It does not apply daily overtime, and it does not cover exemptions or other local rules.

Can I export my weekly work hours?

Yes. When the inputs are valid, Export CSV downloads each included day’s start and end times, unpaid break minutes, gross minutes and net minutes, followed by a weekly summary. Copy result and Print result are also available, and daily shifts can be exported too.

Does the calculator account for paid breaks?

Only unpaid breaks are deducted. A paid break stays part of your working time, so leave it out of the break fields. To list paid and unpaid breaks separately, use the Hours Calculator, where each break can be marked paid or unpaid.

Is the Work Hours Calculator free?

Yes. It is free, needs no account and calculates in your browser. Your times and pay rate are not sent anywhere, and nothing is saved when you leave the page.

Back to the calculator ↑

More time & dates tools

Know what your answer means

Only unpaid breaks are deducted. Turn on Overnight shift when a shift passes midnight. Weekly overtime is a simple threshold estimate, not a legal determination; pay estimates are before taxes and deductions.