Time Duration Calculator

Find the exact time between two dates and times in days, hours, minutes and seconds, with totals in hours, minutes and seconds.

Runs in your browserNo sign-upWorks offline

The tool is loading…

What the Time Duration Calculator does

The Time Duration Calculator measures the exact time between two moments, each given as a date and a time. It shows the answer in days, hours, minutes and seconds, and also as totals: total hours, total minutes, total seconds, and weeks and days. It is useful for anything longer than a day, such as how long a server was down, how long a parcel took, the length of a project phase, or how many hours remain until an exam.

How to use it

  1. Pick the start date and time.
  2. Pick the end date and time.
  3. Read the duration in days, hours and minutes, and the totals below it.

Example

From 1 March at 9:00 am to 4 March at 5:45 pm is 3 days 8 hours 45 minutes. That is 80.75 hours in total, 4,845 minutes, or 290,700 seconds.

Elapsed time and daylight saving

The calculator uses your device’s time zone and measures real elapsed time. In countries with daylight saving, one night a year has only 23 hours and another has 25. A duration that crosses one of those nights is an hour shorter or longer than the clock times suggest, and the calculator counts that correctly. India does not use daylight saving, so there it makes no difference.

If the two times were recorded in different time zones, convert one of them first with the Time Zone Converter, then measure the duration.

Dates only

If you only need whole days between two dates, with or without weekends, the Days Between Dates tool is quicker, and the Business Days Calculator counts working days.

Questions people ask

Is anything I enter sent anywhere?

No. The calculator works entirely in your browser, so the times and numbers you type stay on your device.

What happens if the end is before the start?

You get a negative duration, shown with a minus sign, which tells you the end time is earlier.

Can I include seconds?

The date and time boxes work to the minute, which suits most uses. The totals still show the duration in seconds.

How many hours are in a week?

There are 168 hours in a week: 7 days × 24 hours. A month of 30 days has 720 hours.

Related tools