Skip to content

Time difference calculator

Calculate how much time passes between two times of day, even if the end time crosses midnight.

Processed on your device. Nothing is sent to any server.

Difference

8h 30m

Calculates the difference in minutes between both times; if the end time is earlier than the start time, it assumes the interval crosses midnight.

Use cases

  • Calculating hours worked in a shift.
  • Calculating the duration of a meeting or event.
  • Checking how long an overnight shift lasts.

How it works

  1. 1

    Enter the start time

    Select the start time.

  2. 2

    Enter the end time

    Select the end time and get the difference.

Technical details

  • Example: from 22:30 to 06:15 is 7 h 45 min, because the shift is assumed to cross midnight.
  • It works in hours and minutes (no seconds) and the result never exceeds 24 hours. For spans of several days, use the days between dates calculator.
  • If the end time equals the start time, the result is 0, not 24 hours.
  • Breaks aren't deducted: subtract them from the total yourself when calculating hours worked.

Frequently asked questions

What if the end time is before the start time?

The interval is assumed to cross midnight and the difference is calculated by adding 24 hours.

← Dates & time