Formula
Minutes = (End − Start) − BreakIf End is earlier than Start, add 24 hoursDecimal hours = Minutes ÷ 60
How it works
Both times are converted to minutes after midnight. If the end time is earlier than the start time, the shift is assumed to cross midnight and 24 hours are added. The break is subtracted, and the total is shown as hours and minutes and as decimal hours.
Payroll systems usually want decimal hours: 7 hours 45 minutes is 7.75 hours, not 7.45.
Worked examples
Day shift with lunch
9:00 AM to 5:30 PM with a 30-minute unpaid lunch is 8 hours.
- Start time
- 09:00
- End time
- 17:30
- Unpaid break
- 30 min
- Duration
- 8 hours 0 minutes
Overnight shift
10:00 PM to 6:15 AM crosses midnight: 8 h 15 min minus a 45-minute break.
- Start time
- 22:00
- End time
- 06:15
- Unpaid break
- 45 min
- Duration
- 7 hours 30 minutes
Minutes to decimal hours
- 15 minutes = 0.25 hours
- 20 minutes = 0.33 hours
- 30 minutes = 0.5 hours
- 45 minutes = 0.75 hours
Limits
Times are entered on a 24-hour clock in your browser’s time picker. Spans longer than 24 hours and daylight-saving changes are not handled; for multi-day spans use the days between dates calculator.
Weekly timesheets
Calculate each day separately and add the decimal hours. Adding hours and minutes directly is error-prone: 7:45 + 8:30 is 16 hours 15 minutes, which is 16.25 decimal hours.
Related calculators
- Days Between Dates CalculatorCount the days between two dates, with totals in weeks, months, and weekdays.
- Date Calculator: Add or Subtract Days, Weeks, Months, YearsFind the date a number of days, weeks, months, or years before or after a given date.
- Time Card CalculatorEnter in and out times for each shift, subtract unpaid breaks, and get the week’s total in hours:minutes and decimal hours for payroll.
- Add Time CalculatorAdd or subtract any number of durations in hours, minutes, and seconds, with carrying done for you and a running total.
- Time ConverterConvert milliseconds, seconds, minutes, hours, days, weeks, months, and years.
Last reviewed: