GlobalFree to use

Time duration calculator between two dates and times

Find the exact time between a start and an end date and time, in days, hours and minutes, decimal hours and total minutes.

Your inputs stay in this tab. We do not receive your files, pasted text or calculation values.

Input

Tip: press Ctrl + Enter to run

Your result

Your result will appear here.

About this tool

How long was the outage, the car rental or the flight connection? This calculator takes a start date and time and an end date and time and returns the exact duration in several forms: days, hours and minutes; hours:minutes:seconds; decimal hours; total minutes; and weeks and days.

Both times are treated as the same local clock. If daylight saving starts or ends between them, the real elapsed time differs by an hour, and the tool reminds you of that.

How to use it

  1. Enter the start date and start time.
  2. Enter the end date and end time.
  3. Run the calculation.
  4. Use the format you need: decimal hours for billing, total minutes for logs.

How the calculation works

Duration = end − start, computed from the two date-times on the same clock and expressed in several units.

duration = end − start

Worked example

A rental van is picked up on October 12, 2026 at 08:30 and returned on October 14 at 17:15. The duration is 2 days 8 hours 45 minutes, which is 56:45:00, 56.75 decimal hours or 3,405 minutes. A company charging per started 24 hours would bill three days.

Sample input and result

Start date: 2026-10-12
Start time: 08:30
End date: 2026-10-14
End time: 17:15

→ Duration: 2 d 8 h 45 min
→ Hours and minutes: 56:45:00
→ Decimal hours: 56.75
→ Total minutes: 3,405
→ Weeks and days: 0 weeks 2 days

Limitations

Last updated:

Frequently asked questions

What if daylight saving changes during the period?

The calculation treats both times as the same clock, so the result can be one hour more or less than the real elapsed time across a change.

Can it span several weeks?

Yes; the weeks-and-days line helps with long periods.

How is it different from the date difference calculator?

It includes times of day; the date difference calculator counts whole days.

Troubleshooting

The result is one hour off after a clock change.

Adjust by an hour for the daylight-saving change, as noted under the result.

It shows an error.

Check that the end date and time are after the start.

I want to add a duration to a time.

Use the clock time calculator.

Privacy & Free to use

Are my inputs stored?

Your inputs stay in this tab. We do not receive your files, pasted text or calculation values.

Is this tool free?

Yes. No signup or payment is required.

Processed in your browser

Useful next steps