Skip to content

Time Difference Calculator

Find the exact gap between two times, including overnight and multi-day gaps.

Start time is required.

End time is required.

Add both dates to measure a gap longer than one day.

Leave both dates empty for a same-day difference.

Used only when no dates are entered.

Time format

Choose how times are written in the result.

Press Calculate, or Enter in any field.

An overnight gap

22:30 to 06:15 the next morning is 7 hours 45 minutes.

Enter a start time and an end time.

What this calculator does

Enter a start and end time, optionally with dates, to get the difference in hours and minutes, decimal hours, total minutes and total seconds, in 12-hour or 24-hour format.

Inputs and what they mean

Start time
time value.
End time
time value.
Start date (optional)
Add both dates to measure a gap longer than one day..
End date (optional)
Leave both dates empty for a same-day difference..
Treat an earlier end time as the next day
Used only when no dates are entered..
Time format
12 or 24 hour value.

How to use it

  1. Enter the start time and the end time.
  2. Add both dates if the gap spans more than one day.
  3. Choose 12-hour or 24-hour display, then press Calculate.

Formula

Difference = end − start. With both dates entered the day gap is added; without dates an earlier end can be treated as the next day.

Worked example

An overnight gap

22:30 to 06:15 the next morning is 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

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

Everyday

Count working days between two dates.

Everyday

Total hours across multiple work shifts.

Everyday

See live time remaining or elapsed.

Everyday