Between Times Calculator

Calculate the exact elapsed time, hours, minutes, and decimal duration between two times on a clock. Supports 12-hour (AM/PM) and 24-hour formats, overnight shifts, and unpaid meal breaks.

Time Duration Settings

Select your preferred time display and enter start & end times.

Start Time
End Time

Time Duration Summary

Net Working Time
8 hours 30 minutes
Total duration between times minus breaks
Decimal Hours
8.50 hours
Standard payroll calculation format
Gross Elapsed Duration
8 hours 30 minutes
Total elapsed clock difference
Total Minutes
510 minutes
Total integer minutes for precise logs

Note: Calculations are strictly deterministic based on astronomical 60-minute clock hour standards.

Mathematical Method

How to Calculate the Hours Between Two Times

Calculating the duration between two times involves converting both times into total elapsed minutes from midnight, subtracting the start time from the end time, and converting the difference back to hours and minutes.

1. Same-Day Time Calculation Formula

Total Minutes = (End Hours × 60 + End Minutes) - (Start Hours × 60 + Start Minutes)

For example, from 9:00 AM (540 min) to 5:30 PM (17:30 = 1050 min): 1050 - 540 = 510 minutes = 8 hours and 30 minutes (8.50 decimal hours).

2. Overnight Shifts Crossing Midnight Formula

Total Minutes = (1,440 - Start Minutes) + End Minutes

When a shift ends on the next calendar day (such as 10:00 PM to 6:30 AM), add 1,440 minutes (24 hours) to account for the midnight transition.

Visitor Feedback

Rate This Between Times Calculator

Did this calculator give you the exact time difference you needed? Leave a star rating and comment to help us improve.