Skip to content

Time Duration Calculator

Calculate elapsed hours and minutes between two times, including overnight.

Start time is required.

End time is required.

When the end is earlier
Time format

Choose how times are written in the result.

Press Calculate, or Enter in any field.

Overnight shift

10:30 PM to 6:15 AM lasts 7 hours 45 minutes.

Choose a start and end time.

What this calculator does

Enter start and end times to calculate duration in hours, minutes, and decimal hours.

Inputs and what they mean

Start time
time value.
End time
time value.
When the end is earlier
choice value.
Time format
12 or 24 hour value.

How to use it

  1. Choose start and end times.
  2. Choose whether an earlier end is negative or crosses midnight.
  3. Read hours, minutes, and decimal hours.

Formula

Duration = end time − start time. Midnight crossing adds 24 hours when the end time is earlier.

Worked example

Overnight shift

10:30 PM to 6:15 AM lasts 7 hours 45 minutes.

Reading the result

The headline figure is the main answer. Any breakdown underneath shows the parts that make it up, so you can check the working and see what changes when you adjust an input.

Limitations and assumptions

Results depend entirely on the figures you enter and are rounded for display. They are for general information and education, not professional advice.

Common questions

Related tools

Calculate exact age in years, months, days, and total elapsed days.

Everyday

Find the calendar and total-day difference between two dates.

Everyday

Count working days between two dates.

Everyday

Total hours across multiple work shifts.

Everyday

See live time remaining or elapsed.

Everyday

Convert local times between time zones.

Everyday

People also use