Time conversion

Time duration calculator

Work out the exact time between two dates and times — in days, hours and minutes, and as total hours, minutes or days. Month lengths, leap years and daylight-saving changes are all taken into account.

Free, no sign-up Runs in your browser Saves automatically on this device

Start and end

Start
End

Results

Enter a start and end date.

How to use the time duration calculator

  1. Enter the start date and time, and the end date and time. Leave a time blank to use midnight at the start of that day. Use now fills in the current moment.
  2. Read the duration as days, hours and minutes, or use the totals — total hours is handy for timesheets and billing.
  3. Leave daylight saving on to get the real elapsed time in your time zone. Turn it off to compare clock-face times only.

Worked examples

Example

A shift spanning two days

From Monday 09:00 to Tuesday 17:30 is 1 day, 8 hours and 30 minutes — 32.5 hours or 1,950 minutes.

Example

Across a month and year boundary

From 28 December 2026 at 18:00 to 3 January 2027 at 06:00 is 5 days, 12 hours (132 hours). December’s 31 days and the change of year are handled automatically.

Example

A leap-year February

From 1 February 2028 to 1 March 2028 (both at 00:00) is 29 days, because 2028 is a leap year. The same dates in 2027 give 28 days.

Example

A weekend containing a clock change

In a time zone where clocks go back one hour overnight, Saturday 12:00 to Sunday 12:00 is 25 real hours, not 24. With daylight-saving allowance switched off, the calculator reports the 24 clock-face hours instead.

How the calculation works

Dates are first converted to a count of days, which makes month lengths and leap years exact. The clock-face difference is:

Clock-face minutes = (end date − start date) × 1,440 + (end time − start time)

For the real elapsed time, both readings are converted to moments in your device’s time zone and subtracted. The two figures differ only when a daylight-saving change falls between the start and end, and the calculator tells you when that happens.

The result is then split into whole days, hours and minutes. Total days is minutes ÷ 1,440 and total hours is minutes ÷ 60.

Frequently asked questions

Does the calculator count the end date as a full day?

No — it measures the time between two moments. From Monday 00:00 to Tuesday 00:00 is exactly 1 day. If you want to count both the first and last day as whole days (for example a 3-day booking from Monday to Wednesday), add one day to the result.

What time zone does it use?

Your device’s time zone. Both dates are assumed to be in that zone. Daylight-saving rules for that zone are applied when the option is switched on.

How do I find hours between two times on the same day?

Use the same date for start and end. For shifts with breaks, the work hours calculator is quicker.

Can I add a duration to a date?

To add hours and minutes together or to a clock time, use the add & subtract time calculator.

What happens if the end is before the start?

You’ll see the size of the gap with a note that the end is earlier. Use Swap start and end to reverse them.

Think a result is wrong? Report a problem with this tool.

↑↓ to moveEnter to open

Preferences

Appearance
Clock times in results
Weeks start on

Changes only the symbol shown with pay amounts. Nothing is converted between currencies: enter rates in the currency you are paid in.

Your saved data

Timesheets, favourites, recent tools and these preferences are stored in this browser’s local storage. They are never sent to our servers.

Save