Time Duration Calculator

A time duration is how long it is from one moment to another: from Thursday at 9:00 AM to Sunday at 5:30 PM is 3 days, 8 hours and 30 minutes. Enter a start and an end date and time to see the time between them, and the total hours and minutes for a timesheet, a trip or a deadline.

Start

End

Type times like 9:30 AM, 9:30 PM or 21:30.

Time between
3 days 8 h 30 min

From Thursday, November 26, 2026 at 9:00 AM to Sunday, November 29, 2026 at 5:30 PM is 3 days, 8 hours and 30 minutes.

Total hours 80.5
Total minutes 4,830
Total days 3.35

What is a time duration?

A duration is the length of time between a start and an end, written in days, hours and minutes or as one total, such as 80.5 hours. It doesn’t depend on the clock time itself: 9 AM to 5 PM and 9 PM to 5 AM the next day are both 8 hours.

This calculator counts wall-clock time in one place. It doesn’t apply time zones, and on the nights the clocks change for daylight saving time it counts the hours shown on the clock, the way a spreadsheet does. Leap days are counted: a year with February 29 has 366 days.

Source U.S. Naval Observatory · Leap years ↗

How to calculate the time between two dates and times

Count the days between the dates, turn both times into minutes after midnight, and subtract. A day has 1,440 minutes (24 × 60), and 12:00 AM is midnight, the start of the day.

Minutes = days between the dates × 1,440 + end time in minutes − start time in minutes

Here it is with your numbers:

  1. Days between the dates = 3
  2. Minutes = 3 × 1,440 + 1,050 − 540
  3. Minutes = 4,830
  4. Hours = 4,830 ÷ 60
  5. Hours = 80.5

It means the time between them is 3 days 8 h 30 min, or 80.5 hours in all.

Source Microsoft Support · Calculate the difference between two times in Excel ↗NIST Time and Frequency Division · Times of Day FAQs (noon and midnight) ↗

Time duration examples

FromToDurationHours
Jun 9, 2007 10:35 AMJun 9, 2007 3:30 PM4 h 55 min4.92
Mon 9:00 AMFri 5:00 PM4 days 8 h104
Dec 31, 2026 10:00 PMJan 1, 2027 6:30 AM8 h 30 min8.5
Feb 28, 2028 noonMar 1, 2028 noon2 days48

The last row crosses February 29, 2028, so it is 2 days, not 1.

FAQs

What is the formula for calculating hours between two times?

Subtract the start from the end. Write each time as minutes after midnight, add 1,440 minutes for each day between the dates, take away the start and divide by 60. From 10:35 AM to 3:30 PM on the same day: 930 − 635 = 295 minutes, which is 4 hours 55 minutes, or 4.92 hours.

Source Microsoft Support · Calculate the difference between two times in Excel ↗

How to calculate hours in Excel between two dates?

Put the start date and time in A2 and the end date and time in B2, then subtract. =(B2-A2)*1440 gives the total minutes and =INT((B2-A2)*24) the whole hours. Microsoft’s example, 6/9/2007 10:35 AM to 3:30 PM, gives 295 minutes and 4 hours.

Sources

Related calculators