Softlife.

Time Duration Calculator

Measure a work shift, a class, or an overnight trip from its start and end times. Read the result in clock hours and minutes or as decimal hours.

Calculator

Your result

Clock duration
8 hr 30 min
Total minutes
510 min
Decimal hours
8.5 hr

How to use

  1. Choose the start and end times to the nearest minute.
  2. For an afternoon-to-morning shift, the automatic setting counts through midnight. Select “Always the next day” to specify a full day or longer.
  3. Read the duration or use the decimal-hour value for a timesheet.

Formula

Minutes after midnight = hour × 60 + minute. Subtract the start from the end, adding 1,440 minutes to the end when it falls on the next day. Divide the duration in minutes by 60 for decimal hours.

Example

From 9:15 a.m. to 5:15 p.m. is eight hours. Another 30 minutes brings you to 5:45 p.m., for eight and a half hours in all.

Clock duration
8 hr 30 min
Total minutes
510 min
Decimal hours
8.5 hr

FAQ

How do I count an overnight shift?

Enter the evening start and morning end. The automatic setting treats an earlier end time as occurring the following day.

What if the start and end times are the same?

The automatic setting returns zero minutes. Choose “Always the next day” for the full 24 hours between matching clock times.

How do I read decimal hours?

The decimal part is a fraction of an hour. For example, 2.75 hours means two hours and 45 minutes.

Does the duration account for a clock change?

This is a wall-clock calculation. When crossing time zones or a daylight saving transition, first convert both times to the same fixed time offset.

Related tools

Sources

Last updated