Skip to main content
CalculateTimes logoCalculateTimes
Interval Instrument

Time Duration Calculator

Calculate the exact span of time between two clock times or across calendar dates with decimal conversion.

Include calendar dates for multi-day spans
Cross Midnight (Overnight)If end time is earlier than start, calculate as next morning
Total Duration
Computed Time
--:-- --
Decimal Hours
0.00 hrs
Total Minutes
0 min
Total Seconds
0 sec
Day Proportion:35.4% of 24h

How to Calculate Time Duration Manually

Calculating the exact duration between two clock times follows simple modular subtraction with base 60 borrowing:

Step 1: Convert to 24H

Convert 12-hour AM/PM times into 24-hour notation (e.g. 05:45 PM becomes 17:45).

Step 2: Borrow Minutes

If end minutes are lower than start minutes, borrow 1 hour (60 minutes) from the end hour.

Step 3: Subtract

Subtract start hours from end hours and start minutes from end minutes.

Frequently Asked Questions

Everything you need to know about calculating time, durations, and work shifts.

How do you calculate duration between two times?

Convert both times into seconds from midnight (Hours × 3600 + Minutes × 60 + Seconds). Subtract the start time seconds from the end time seconds. If the end time is past midnight, add 24 hours (86,400 seconds) to the end time before subtracting.

Does this handle durations across multiple days?

Yes. You can either enable the Cross-midnight toggle for single overnight shifts (such as 11:00 PM to 07:00 AM) or specify distinct start and end calendar dates for multi-day spans.

How do I convert duration into billable decimal hours?

Divide the total minutes by 60 and add that to the whole hours. For example, 3 hours and 45 minutes = 3 + (45 / 60) = 3.75 decimal hours.