Calculations happen in your browser. Entries are not submitted or saved by this tool.
How the time duration calculator works
Enter a start and end time in 24-hour format (HH:MM or HH:MM:SS). If the end is earlier than the start, the tool can treat it as the next day, which is handy for night shifts.
Worked example
A shift from 22:30 to 06:15:
- 22:30 to midnight = 1 hour 30 minutes
- Midnight to 06:15 = 6 hours 15 minutes
- Total = 7 hours 45 minutes
Frequently asked questions
How do I enter PM times?
Use 24-hour time. 3:30 PM is 15:30.
Can it handle shifts past midnight?
Yes. Choose “Treat as next day”.
How do I add up several durations?
Use the hours and minutes calculator.
Other calculators you may need
- hours and minutes calculator: add up hours
- salary to hourly calculator: turn hours into pay
- business days calculator: count working days
Last reviewed: 30 October 2026