Time Duration Calculator
Calculate the hours and minutes between two times or dates, overnight shifts included, or add and subtract hours, minutes and seconds.
A time like 09:30, or a date and time like 2025-03-14 09:30
The end time is earlier than the start time, so it is counted as the next day.
days
Runs in your browser. What you enter is kept for 30 days to improve Toolgrid, then deleted.
How to use the Time Duration Calculator
- 1 Choose "time between" or "add or subtract time".
- 2 Enter the start (and end) as a time like 09:30 or a date and time.
- 3 Read the duration, decimal hours or the resulting time.
About the Time Duration Calculator
How long is a shift from 22:00 to 06:30? What time is it 90 minutes after 14:45? This calculator handles both: the duration between two moments, and a time plus or minus a duration.
With two times only, an end time earlier than the start time is treated as the next day, which is what you want for night shifts. With dates and times, the exact difference is calculated, including across months and years. Decimal hours (7.5 instead of 7:30) are what most timesheets and invoices need: minutes ÷ 60.
The calculation uses plain clock time, without time zones or daylight saving changes. For the number of days between dates, use the date difference calculator.
Frequently asked questions
How do I calculate hours between two times?
Subtract the start from the end. If the end is earlier, add 24 hours: 22:00 to 06:30 is 8 hours and 30 minutes.
How do I convert hours and minutes to decimal hours?
Divide the minutes by 60 and add them to the hours. 7 hours 30 minutes is 7.5 hours; 7:45 is 7.75.
Can I calculate across several days?
Yes, enter a date and time for the start and the end, for example 2025-03-14 09:00 and 2025-03-16 17:30.
Is daylight saving time taken into account?
No. The calculator uses clock time without time zones; on the night clocks change, the real duration is one hour more or less.