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

9h 15m
Total Duration

Hours9
Minutes15
Total Minutes555
Decimal Hours9.25
Total Pay$0.00

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. Enter an hourly rate to estimate gross pay from the same duration.

Working Together Example

If one person can finish a job in 2 hours and another can finish it in 1.5 hours, their combined rate is 1/2 + 1/1.5 = 7/6 jobs per hour. The time together is 1 รท 7/6 = 6/7 hour, or about 51 minutes 26 seconds.

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: 9:00 AM to 9:00 AM is 0 hours (or 24 overnight), while 9:00 AM to 9:00 PM is 12 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

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.
If one person takes 2 hours and another takes 1.5 hours, how long together?
Use work rates: 1/2 + 1/1.5 = 7/6 jobs per hour. Together they finish in 6/7 hour, which is about 51 minutes 26 seconds.
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.