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.

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 payroll systems require. 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

8:30 AM to 5:45 PM = 9 hours 15 minutes = 555 total minutes = 9.25 decimal hours. To convert to pay, multiply by your hourly rate using the payroll calculator.

How to Use

Follow these simple steps

1

Enter Start Time

Select or type the starting time.

2

Enter End Time

Select or type the ending time.

3

Check Overnight

If the time period crosses midnight, check the overnight option.

4

View Duration

See the exact difference in hours, minutes, and decimal hours.

Frequently Asked Questions

Quick answers to common questions

How do I calculate time between two times?
Subtract the start time from the end time. For example: 5:45 PM − 8:30 AM = 9 hours 15 minutes. Our time duration calculator handles this automatically.
What are decimal hours?
Decimal hours express time as a decimal number. 9 hours 15 minutes = 9.25 decimal hours (15 min ÷ 60 = 0.25). This format is standard for payroll and invoicing.
How do I calculate overnight time?
Check the "Crosses midnight" option. The calculator correctly computes duration across midnight — e.g., 10:00 PM to 6:00 AM = 8 hours.
What is the difference between elapsed time and work time?
Elapsed time is the total time between two points. Work time subtracts breaks. Use our work hours calculator to deduct breaks from elapsed time.
How do I convert minutes to decimal hours?
Divide minutes by 60. Common conversions: 15 min = 0.25, 30 min = 0.50, 45 min = 0.75. So 7h 45m = 7.75 decimal hours.
Can I use this for shift planning?
Yes! Enter proposed shift start and end times to see exact durations. Great for scheduling and ensuring shifts meet minimum or maximum hour requirements.
How is this different from the work hours calculator?
The work hours calculator includes break deduction and pay estimation. This tool focuses purely on the time difference between two points.
Can I calculate time across multiple days?
This calculator handles up to 24 hours (one full day cycle). For multi-day tracking, use our timesheet calculator to enter each day separately.