About the time duration calculator
Enter a start and end time in 12- or 24-hour format to get the duration. If the end time is earlier than the start, it’s treated as crossing midnight — perfect for night shifts.
How to use this calculator
- Enter a start time, such as 9:15 AM.
- Enter an end time, such as 5:45 PM.
- Optionally subtract a break.
Worked examples
- 8 h 30 min − 30 min
8 hours (8.00 decimal).
Measurement guidance
Timesheets
Payroll often uses decimal hours: 15 minutes = 0.25, 30 = 0.5, 45 = 0.75.
Frequently asked questions
What about shifts longer than 24 hours?
Use the date difference calculator for multi-day spans.
Does it handle 12 AM and 12 PM?
Yes: 12 AM is midnight and 12 PM is noon.