Use our free time duration calculator to instantly find the exact time difference between two times or two dates. Subtract breaks, handle overnight shifts and see the result in hours, minutes and decimal hours.
Time duration is the elapsed time between a start time and an end time.
Example: 9:15 AM to 6:00 PM, minus a 30-minute break = 8 hours 15 minutes.
8h 15m
9:15 AM to 6:00 PM is 8h 45m (same day). Minus a 30-minute break, that leaves 8h 15m.
Compares clock times as entered. It doesn't adjust for time zones or daylight saving.
2 days, 8 hours, 30 minutes
Mon, 26 Oct 2026, 1:00 PM
Mon, 26 Oct 2026, 9:15 AM plus 3 hours, 45 minutes.
Get accurate elapsed time without converting hours by hand. The calculator also accounts for shifts crossing midnight.
Select your preferred time format: 12-hour or 24-hour.
Enter the start time in hours and minutes. Seconds are optional.
Enter the end time in hours and minutes, and any unpaid break in minutes.
Click Calculate to find the total time difference. Click Reset to start again.
A quick formula and a worked example help you verify the answer and understand how a time difference is measured. The same subtraction works for shifts, exams, meetings, travel and billable sessions.
Subtract the start time from the end time. For a shift that continues into the next day, add 24 hours to the earlier end time before subtracting.
Net time duration = End time − Start time − Unpaid break
If the end time is earlier than the start time, the calculator assumes it is on the following day. Matching start and end times represent a zero-hour duration.
An employee starts at 9:15 AM, finishes at 6:00 PM and takes a 30-minute unpaid break.
Decimal hours: 8 + (15 ÷ 60) = 8.25 hours. Decimal hours are useful for timesheets, billing and estimated pay.
Avoid common errors
12:00 AM means midnight; 12:00 PM means noon. Mixing 12-hour and 24-hour values can shift a result by 12 hours.
Convert both clock times to the same time zone first. The calculator does not adjust for time zones or daylight saving changes.
Use the Two dates tab for ranges longer than one day. The Two times tab compares clock times within a single day or across one midnight.
Elapsed time and paid hours are not always identical: subtract unpaid breaks, and apply any rounding or overtime rules from your own workplace or contract.
The free Weekly Time Duration Calculator quickly calculates total weekly hours and overtime from daily clock-in, clock-out and break times, helping you save time, reduce errors, and simplify payroll and attendance tracking.
| Day | Clock-in | Clock-out | Break (min) | Total |
|---|---|---|---|---|
| Monday | 8h 00m | |||
| Tuesday | 8h 00m | |||
| Wednesday | 8h 00m | |||
| Thursday | 8h 00m | |||
| Friday | 8h 00m | |||
| Saturday | — | |||
| Sunday | — |
Stop relying on spreadsheets and typing clock-in times by hand. Desklog tracks every work hour precisely, so your weekly totals are already there.
The free Pay Calculator helps you quickly calculate total pay from regular hours, overtime hours, hourly rate and overtime rate. It automates wage calculations, reduces payroll errors and saves time when preparing salary and payment reports.
Including overtime
Hours over your regular limit
Overtime rate = $30.00/hr
No taxes or deductions included. Regular hours = total hours − overtime hours, so overtime is never counted twice.
Practical examples for work shifts, meetings and overnight schedules, plus a quick minutes-to-decimal reference for timesheets.
Break deductions are shown separately.
| Start time | End time | Unpaid break | Time duration |
|---|---|---|---|
| 9:00 AM | 5:30 PM | 30 min | 8h 00m |
| 9:15 AM | 6:00 PM | 30 min | 8h 15m |
| 10:00 PM | 6:00 AM (next day) | 30 min | 7h 30m |
| 11:30 AM | 2:15 PM | 0 min | 2h 45m |
| 8:45 AM | 12:10 PM | 15 min | 3h 10m |
Divide minutes by 60, then add any full hours. Values are rounded to two decimals.
| Minutes | Hours & minutes | Decimal hours |
|---|---|---|
| 5 minutes | 0h 05m | 0.08 |
| 15 minutes | 0h 15m | 0.25 |
| 20 minutes | 0h 20m | 0.33 |
| 30 minutes | 0h 30m | 0.50 |
| 45 minutes | 0h 45m | 0.75 |
| 60 minutes | 1h 00m | 1.00 |
| 90 minutes | 1h 30m | 1.50 |
Add hours and minutes separately. Every 60 minutes becomes 1 hour; when subtracting, borrow 60 minutes if needed.
1 hour = 60 minutes = 3,600 seconds. 1 minute = 60 seconds. 7h 30m is 7.50 decimal hours, not 7.30.
The same elapsed-time calculation works for shifts, study, travel and billable sessions, provided both times use the same time zone.
Find net work hours, even when a night shift ends the following morning.
10:00 PM–6:00 AM − 30m break = 7h 30mCheck an exam's length or the time spent on a focused study block.
10:30 AM–1:30 PM = 3h 00mMeasure meeting length, layovers or journey segments with clear start and end times.
2:20 PM–4:05 PM = 1h 45mConvert tracked sessions into decimal hours before applying a contractual rate.
4h 20m = 4.33 decimal hours (rounded)Everything you need to know about the Time Duration Calculator, the Weekly Time Duration Calculator and the Pay Calculator.
Time duration calculator
Weekly hours
Pay and overtime
Stop relying on spreadsheets. Track every work hour precisely with Desklog.