Hours & Duration Calculator
Find the time between two moments, or add and subtract hours and minutes.
The duration between two times is the exact hours and minutes separating them. Enter a start and end date-and-time and this calculator returns the gap in hours and minutes, an H:MM figure and decimal hours — handling overnight and multi-day spans — and can also add or subtract time.
Hours & Duration
Time between two moments
Hours and minutes between two times
The hours calculator measures the exact time duration between two moments — the same day or across several days — and can also add or subtract hours and minutes from a starting time. Use the date-and-time pickers so overnight shifts and multi-day spans are handled correctly, with no confusion over AM/PM.
It’s the tool for working out the length of a shift, a flight, a study session, a fast, a parking stay or a project sprint. The result is shown several ways: total hours and minutes, an H:MM figure, and a decimal-hours value that’s handy for timesheets and billing.
Why use date-and-time inputs
Entering only clock times makes overnight spans ambiguous — is 06:00 to 22:00 sixteen hours, or is it the other way around? By including the date, the calculator always knows which moment comes first, so it measures the real gap and never has to guess.
Related tools
For whole-day spans, the date difference calculator counts the days, weeks and months between two dates. To move a number of days rather than hours, use the date ± days calculator. For business-hours planning across working days, see the working days calculator.
Common questions
How many hours are between two times?
Does it handle overnight and multi-day spans?
Can I add or subtract hours from a time?
What are decimal hours?
- Method: exact duration between two date-times; decimal hours = total minutes ÷ 60.
- Standard: ISO 8601 date-time.
Related calculators
Date Difference Calculator
Count the time between any two dates.
Open toolDate ± Days Calculator
What date falls a number of days away.
Open toolWorking Days Calculator
Business days between dates, or add working days.
Open toolTime Calculator
Add or subtract hours, minutes and seconds.
Open toolWeek Number Calculator
The ISO week number for any date.
Open toolDay of the Week Calculator
Which weekday any date falls on.
Open tool