Time Duration Calculator
Find the elapsed time between two clock times, with optional unpaid break.
Updated November 2026 · How we build calculators
Result
Your result will appear here
Enter your numbers, then press Calculate.
How the Time Duration Calculator works
End minus start gives the elapsed minutes. If the end time is earlier than the start, the calculator treats it as the next day. The break is subtracted from the total.
Formula used
Duration = end − start (+24 h if overnight) − break
Step-by-step example
Using the default values in the calculator above:
- Start date (optional): (blank)
- Start time: 09:00
- End date (optional): (blank)
- End time: 17:45
- Unpaid break: 30 minutes
- Hourly rate (optional): $0
The calculator then applies the formula above and returns:
- Time worked: 8 h 15 min (8.25 decimal hours)
- From: 9:00 AM
- To: 5:45 PM
- Total minutes: 495
Notes on the inputs
- Start date (optional)
- Optional. Add dates for durations longer than 24 hours.
What-if scenarios
Each table changes one input and keeps everything else at the calculator's default values.
| Unpaid break | Time worked |
|---|---|
| 15 minutes | 8 h 30 min |
| 23 minutes | 8 h 22 min |
| 30 minutes (default) | 8 h 15 min |
| 45 minutes | 8 h 0 min |
| 60 minutes | 7 h 45 min |
Tips and background
Use decimal hours for payroll math, such as 7.75 hours times your hourly rate.
Which time calculator should you use?
Use the Time Duration Calculator when you know a start and end time and want the hours between them, including overnight shifts. If your question is a bit different, one of these may fit better:
- Time Calculator: use it when you want to add or subtract two durations such as 2 h 45 min and 1 h 30 min.
- Hours Calculator: use it when you want to total a week of shifts with breaks, overtime and pay.
Elapsed time and decimal hours
9:00 AM to 5:45 PM with a 30-minute break is 8 hours 15 minutes, or 8.25 decimal hours. Payroll often needs decimal hours: multiply by your hourly rate for gross pay. If the end time is earlier than the start, the calculator treats it as the next day.
Longer spans and multiple shifts
Add start and end dates for durations beyond 24 hours. For a week of shifts use the hours calculator, and to add or subtract durations use the time calculator. Convert to pay with the salary calculator.
How are overnight shifts and breaks handled?
| Start and end | Break | Time worked |
|---|---|---|
| 8:15 AM to 4:45 PM | none | 8 h 30 min (8.50 hours) |
| 10:00 PM to 6:00 AM | 30 min | 7 h 30 min (7.50 hours) |
| 9:00 AM to 5:00 PM | 60 min | 7 h (7.00 hours) |
If the end time is earlier than the start and no dates are entered, the calculator treats it as the next day. At $20 an hour the last row is $140.00 before tax.
Why do decimal hours cause mistakes?
7 hours 30 minutes is 7.50 hours, not 7.30. Divide the minutes by 60 to convert: 15 minutes is 0.25 and 45 minutes is 0.75. This tool measures clock times and does not know about daylight saving changes unless you account for them, so check shifts worked on the night clocks change. Rounding of punch times follows employer policy and wage law, not this calculator.
Common mistakes to avoid with the Time Duration Calculator
- Entering PM times in 24-hour format incorrectly.
- Forgetting unpaid breaks.
- Using minutes where decimal hours are required, such as 7:45 as 7.45.
Frequently asked questions
How do I convert minutes to decimal hours?
Divide minutes by 60. 45 minutes is 0.75 hours.
What about overnight shifts?
If the end is earlier than the start, it is counted as next day.
Can I add several shifts?
Use the hours calculator.
How many hours between 9 and 5?
Eight, before any break.