Time Duration Calculator

The calculator counts the span between two dates with times. 8:00 to 16:30 on the same day is 8 hours and 30 minutes. 22:00 to 6:00 the next day is 8 hours.

Inputs

From
To

Result

Enter a date and a time under From and under To. The time between them appears here.

Clock times without a date are on the hours calculator. Calendar days, without times, are on the date difference page.

How it works

How the result is calculated
FromOct 2, 6:00 PM
ToOct 5, 8:00 AM
Time62 h

From Friday, October 2, 2026, at 6:00 PM to Monday, October 5, 2026, at 8:00 AM is 62 hours. That is 2 days and 14 hours.

Saturday and Sunday are full days. The green piece on Friday starts at 6:00 PM, and on Monday it reaches only 8:00 AM. Three full days would be 72 hours. This span is 62 hours.

The calculator turns each date and time into clock minutes, then subtracts the start from the end. 8:00 to 16:30 on the same day is 510 minutes, which is 8 hours and 30 minutes.

The calculator does not add a full day just because the dates are different. 22:00 on August 29 to 06:00 on August 30 is 8 hours, which is 480 minutes. A full day is 1,440 minutes. January 1 at 00:00 to January 3 at 12:00 is 2 days and 12 hours. From Friday, October 2, 2026, at 6:00 PM to Monday, October 5, 2026, at 8:00 AM is 62 hours, which is 2 days and 14 hours.

An empty time field counts as 00:00. When the start and the end are the same moment, the result is 0 minutes, not a full day.

When the end is earlier than the start, the calculator asks you to reverse the fields. The calculator does not add a full day in that case, because both dates are already entered.

The minutes are clock minutes, without a time zone and without daylight saving. A clock change at night does not shorten or lengthen the result.

This page is not a timesheet, and it does not calculate overtime. Clock times without a date belong on the hours calculator. Calendar days, without times, belong on the date difference page.

Formula

minutes = (end − start) in clock minutes; days = the integer part of (minutes / 1,440)

Decimal hours = minutes / 60. An empty time field counts as 00:00. The calculator does not accept a negative span.

How to use

  1. Enter the start date and time, for example August 30, 2026, 08:00.
  2. Enter the end date and time, for example the same day, 16:30. The result is 8 hours and 30 minutes.
  3. For an overnight span, enter August 29 at 22:00 and August 30 at 06:00. The result is 8 hours.
  4. If you leave the time empty, the calculator uses 00:00. If the end is earlier than the start, reverse the fields.

8 h 30 min from 8:00 to 16:30

The calculator subtracts start minutes from end minutes. 8:00 to 16:30 on that day is 510 minutes.

minutes
The clock span. 8:00 to 16:30 is 510 minutes. 22:00 to 6:00 the next day is 480 minutes.
8.5 h
Decimal hours: 510 divided by 60. That is the same 8 hours and 30 minutes written as 8.5, for example in a spreadsheet.
1440
Minutes in one full day. The night from 22:00 to 6:00 is 480 minutes, not 1,440 minutes.

Examples

Example 1

  • Start: 2026-08-30, 08:00
  • End: 2026-08-30, 16:30

8 hours and 30 minutes

How long is 8:00 to 16:30 on the same day? 8 hours and 30 minutes, which is 8.5 h.

Example 2

  • Start: 2026-08-29, 22:00
  • End: 2026-08-30, 06:00

8 hours

How long is 22:00 to 6:00 the next day? 8 hours, or 480 minutes.

Example 3

  • Start: 2026-01-01, 00:00
  • End: 2026-01-03, 12:00

2 days and 12 hours

How long is January 1 at 00:00 to January 3 at 12:00? 2 days and 12 hours, which is 60 h.

Example 4

  • From: 2026-10-02, 6:00 PM
  • To: 2026-10-05, 8:00 AM

2 days and 14 hours

From Friday at 6:00 PM to Monday at 8:00 AM is 62 hours. Three full days would be 72 hours.

Related calculators

Frequently asked questions

How long is 8:00 to 16:30 on the same day?

8 hours and 30 minutes, which is 8.5 hours and 510 minutes.

How long is 22:00 to 6:00 the next day?

8 hours. The end is on the next day, so the clock crosses midnight. That is 480 minutes.

How long is January 1 at 00:00 to January 3 at 12:00?

2 days and 12 hours, which is 60 hours and 3,600 minutes.

How long is Friday at 6:00 PM to Monday at 8:00 AM?

From Friday, October 2, 2026, at 6:00 PM to Monday, October 5, 2026, at 8:00 AM is 62 hours. That is 2 days and 14 hours, which is 3,720 minutes. Saturday and Sunday are full days. Three full days would be 72 hours.

What if the times are left empty?

An empty time field counts as 00:00. With two different dates, the result is full days from midnight to midnight. With the same date, the result is 0 minutes.

What if the end is earlier than the start?

The result is not a negative number. Reverse the From and To fields.

Is this a timesheet or overtime?

No. This page shows the clock span. The pay rate is on the overtime page.

Does daylight saving shorten the night from 2:00 to 3:00?

No. The minutes are clock minutes, without a time zone. 22:00 to 6:00 the next day is always 8 hours.

How is this different from the hours calculator?

The hours calculator does not ask for a date. Here the date is in the form, so a night or several days are included in the result.

How is this different from the date difference page?

Date difference counts calendar days, for example 366 in a leap year. Here the result is in hours and minutes.

Does a comma work in the time field?

No. Choose the time from the clock field, for example 8:00 AM. Choose the date from the calendar.

The result is the span between two dates with times. Clock times without a date are on the hours calculator. Working days are on a separate page.

Sources

The span is the difference between two moments, counted in clock minutes.

Page updated September 30, 2026.