Time Duration Calculator

Work out the hours between two times, with a break if you need one.

Time Duration Calculator inputs
00:00–23:59. Use a colon between hours and minutes.
00:00–23:59. The date is set below.
Whole minutes; leave empty for no break.

Use up to 8 decimal places; absolute value at most 1 trillion. English thousands separators are accepted (1,234.56). Use a dot for decimals. Percentage fields accept a trailing %.

Your result

A little clarity,
right here.

Enter your numbers and choose Calculate.
We’ll show the answer and the steps.

Your numbers stay in your browser.

Understand the numbers

How to use this calculator

Enter start and end times and explicitly choose whether the end is on the next day. A break is subtracted from the total. Switch between 12-hour time with AM/PM and 24-hour time before entering your times.

The formula

Total minutes = end − start + (next day ? 1,440 : 0). Net minutes = total − break. Decimal hours = net minutes ÷ 60.

A worked example

22:30 to 06:15 on the next day spans 465 minutes, or 7 hours 45 minutes. Subtract a 30-minute break for 435 net minutes: 7 hours 15 minutes, or 7.25 decimal hours.

What to keep in mind

  • 24:00 is not a valid time. In 12-hour format, 12:00 AM is midnight and 12:00 PM is noon.
  • Equal start and end times mean zero on the same day, or 24 hours when “Ends next day” is selected.
  • Breaks must be whole minutes and cannot exceed the total duration. Dates, daylight saving, time zones, and multiple periods are not included.

Formula v1.0.0 · Updated November 6, 2026 · Results: up to 6 decimal places, rounded half up. Very small nonzero values use scientific notation.