Time Duration Calculator (Between Two Dates and Times)
Enter a start and end date and time to get the duration.
Your numbers
Your results
Duration
Duration
—
Total hours
—
Total minutes
—
Total seconds
—
Total days
—
Time Duration Calculator (Between Two Dates and Times) by TheCalcTools
How the Time Duration Calculator (Between Two Dates and Times) works
The calculator converts both moments to minutes and subtracts. Times use the 24-hour clock; 22:15 is 10:15 PM.
Daylight-saving changes are not applied: if the clocks change between the two times, add or subtract that hour.
The formula
Duration = (end date − start date) × 1,440 + end minutes − start minutes
Worked example
Using the default values shown in the calculator:
| Start date | 2026-10-17 |
|---|---|
| Start hour (0-23) | 22 |
| Start minute | 15 |
| End date | 2026-10-19 |
| End hour (0-23) | 7 |
| End minute | 45 |
- From 17 October 22:15 to 19 October 07:45 is 1 days, 9 hours, 30 minutes.
- That is 33.50 hours.
Result:
| Duration | 1 days, 9 hours, 30 minutes |
|---|---|
| Total hours | 33.50 |
| Total minutes | 2,010 |
| Total seconds | 120,600 |
| Total days | 1.396 |
Frequently asked questions
How do I calculate hours between two times on the same day?
Use the same date for start and end. For a night shift that ends the next morning, set the end date one day later.
Sources and further reading
Related calculators
More in Date & Time · All calculators
This calculator gives estimates for information only. Check important results independently before you rely on them. See our disclaimer.
