Time Duration Calculator
Find the duration between a start and end time.
Find how long between two clock times (handles crossing midnight).
How the Math Works
The Time Duration Calculator uses a simple yet powerful formula to determine how long an event lasts. At its core, the calculation follows: duration = end time minus start time. However, when events span midnight, we add 24 hours to the end time before subtracting the start time, effectively treating the overnight period as a continuation of the same day for calculation purposes. For example, if you start at 10:00 PM and finish at 2:00 AM, the formula calculates 26 hours (2:00 AM + 24) minus 22:00 (10:00 PM) equals 4 hours of duration.
Practical Applications
To use this calculator effectively, simply enter your start time and end time in the designated fields, being sure to specify AM/PM or use 24-hour format consistently. The calculator automatically handles the overnight adjustment, so whether you're calculating work shifts that cross midnight, project deadlines, or event durations, you don't need to manually adjust for day boundaries. For overnight events, select the appropriate date range if your calculation spans multiple calendar days, and the tool will apply the +24 hour adjustment as needed.
Day-to-Day Use
This calculator is invaluable for managing modern schedules where activities don't always fit neatly within a single day. Whether you're determining your total work hours across an evening shift, calculating the duration of a family road trip that crosses into the next day, or planning projects that extend past midnight, this tool eliminates the guesswork. It helps ensure accurate payroll calculations, proper meeting scheduling, and realistic time management for both personal and professional commitments, making it easier to balance the demands of contemporary life where boundaries between days often blur.
Worked example
9:30 to 17:15 → 7 h 45 min.
FAQ
Overnight shift?
Handled automatically — a negative result adds 24 h.