Date & Time

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 date2026-10-17
Start hour (0-23)22
Start minute15
End date2026-10-19
End hour (0-23)7
End minute45
  1. From 17 October 22:15 to 19 October 07:45 is 1 days, 9 hours, 30 minutes.
  2. That is 33.50 hours.

Result:

Duration1 days, 9 hours, 30 minutes
Total hours33.50
Total minutes2,010
Total seconds120,600
Total days1.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

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.