Time Duration Calculator
Use this time duration calculator to find the exact difference between two times in hours, minutes, and decimal format. Ideal for work hour tracking, timesheet verification, and shift planning.
Enter Two Times
Time Difference
What is a time duration calculator?
A time duration calculator computes the exact elapsed time between any two clock times. It outputs results in hours, minutes, total minutes, and decimal hours — the format most time-tracking systems use. It also handles overnight shifts that cross midnight.
The Duration Formula
Duration = End Time − Start Time
For overnight: Duration = (24:00 − Start Time) + End Time
Example Calculation
Start time: 8:30 AM. End time: 5:45 PM on the same day. Elapsed time / duration: 9 hours 15 minutes (555 minutes, or 9.25 decimal hours). Enter an hourly rate to estimate gross pay for this elapsed time.
Overnight Example
Start time: 10:00 PM. End time: 6:00 AM the next day, with “Crosses midnight” selected. Elapsed time / duration: 8 hours (480 minutes, or 8.00 decimal hours).
Common Use Cases
- Shift planning: Checking the exact length of a newly scheduled shift.
- Overnight work: Using the "crosses midnight" feature to calculate graveyard shift hours.
- Task tracking: Freelancers logging start and end times for specific administrative tasks before adding them to a timesheet.
Common Mistakes to Avoid
- Forgetting AM/PM: A 9:00 AM start and 9:00 PM end on the same day gives 12 hours elapsed. A 9:00 AM start and 9:00 AM end gives 0 hours unless overnight is selected, in which case the duration is 24 hours.
- Adding breaks: This tool measures raw elapsed time. If you took a 30-minute break, you must manually deduct it or use the work hours calculator instead.
How to Use
Follow these simple steps
Enter Start Time
Select or type the starting time.
Enter End Time
Select or type the ending time.
Check Overnight
If the time period crosses midnight, check the overnight option.
View Duration
See the exact difference in hours, minutes, and decimal hours.
Frequently Asked Questions
Quick answers to common questions