Time Duration Calculator
Enter a start and end time to get the elapsed duration. Overnight shifts are handled automatically — 10:00 PM to 2:30 AM is 4 hours 30 minutes.
Duration
4 hours 30 minutes
This duration crosses midnight
Total hours
4.5
Total minutes
270
Total seconds
16,200
Formula: Duration = End − Start, adding 24 hours when the end time falls on the next day.
Frequently asked questions
- Does it handle overnight times?
- Yes. When the end time is earlier than the start time, the duration wraps past midnight.
- Can I get the result in decimal hours?
- Yes — the decimal hours figure is shown alongside the breakdown, handy for timesheets.