UTL

Time Duration Calculator

Enter a start and end date and time to see exactly how much time is between them.

— Pick a start and end, then calculate.

How it's calculated

The gap between the two moments in milliseconds is broken into whole days, then whole hours from the remainder, then whole minutes from what's left — plus the same total expressed fully in hours and in minutes for convenience.

Worked example

Start: 1 March 2026 at 09:00. End: 4 March 2026 at 17:30. The result is 3d 8h 30m, with 80 total hours and 4,830 total minutes. The total hours figure is rounded down, because 80 hours 30 minutes is 80.5 hours, and the minutes figure is 80 × 60 + 30.

Converting to decimal hours

For timesheets and invoices, divide the minutes by 60. A duration of 8h 30m is 8.5 hours, and 7h 45m is 7.75 hours. In the example above, 4,830 minutes ÷ 60 = 80.5 hours.

Things to know

  • Seconds are ignored. The result is rounded down to whole minutes.
  • Daylight saving time. The calculation uses real elapsed time in your browser's time zone. If your range crosses a clock change, the answer can differ by one hour from the plain gap between the two clock readings.
  • End after start. The end must be on or after the start.
  • No months or years. Their lengths vary, so the result is in days, hours and minutes. For a years, months and days breakdown, use the Age Calculator.

Frequently asked

Does this handle time zones?

No — both fields use your browser's local time zone. If comparing moments across zones, convert them to the same zone first (the Time Zone Converter can help), or note the offset yourself.

How do I convert hours and minutes to decimal hours?

Divide the minutes by 60 and add them to the hours. For example, 6 hours 15 minutes is 6 + 15 ÷ 60 = 6.25 hours.

Does it count seconds?

No. Seconds are dropped, so the result is shown in whole days, hours and minutes.

Last updated: October 21, 2026.