GintiCalcEvery calculation

DateDelta

Time Duration Calculator

Enter a start and end time — get the exact elapsed time, even if it crosses midnight.

Duration between two clock times

The duration in hours and minutes, including shifts that cross midnight.

StartEndTotal minutesDuration
8:1512:452704h 30m
9:0017:004808h 0m
9:3017:154657h 45m
13:0021:305108h 30m
22:006:004808h 0m

The last row crosses midnight, and the calculator handles it by rolling into the next day rather than returning a negative duration - a night shift from 22:00 to 06:00 is 8 hours, not minus 16. That is the case most manual calculations get wrong. Note the result is elapsed time and does not deduct breaks: for paid hours, subtract unpaid break minutes, which the hours worked calculator does directly.

Handles overnight shifts automatically

If the end time is earlier than the start time (like a 10 PM to 6 AM shift), the calculator assumes the end time falls on the next day rather than showing a negative duration.

Time duration vs. date difference

This calculator works within a single day (or overnight), measuring hours and minutes. For spans measured in days, weeks, or years, use a date difference calculator instead.

Frequently asked questions

My shift starts at 10:45 PM and ends at 7:15 AM — how long is that?

That's 8 hours 30 minutes. The calculator detects the overnight crossing automatically: from 10:45 PM to midnight is 1 h 15 min, plus midnight to 7:15 AM is 7 h 15 min, totaling 8 h 30 min.

How is this different from the Hours Worked Calculator?

This calculator measures raw elapsed time between any two clock times. The Hours Worked Calculator also subtracts unpaid break time and outputs decimal hours for payroll. Use this one for general time spans, the other for shift-based pay calculations.

Does this handle durations longer than 24 hours?

No — it's designed for within-a-day or single overnight spans. If the start and end times are identical, it returns 0, not 24 hours. For multi-day durations, use a date difference calculator instead.

Why does the result show 0 when both times are the same?

Identical start and end times produce 0 h 0 min because the calculator assumes no time has passed. If you mean a full 24-hour span, set the end time one minute later or use a date-based calculator that counts whole days.

Related Converters calculators

You might also like

Last updated: September 6, 2026