Date & TimeUpdated 2026-05-19

Time Duration Calculator

Calculate elapsed time between two 24-hour times.

Start hourStart minuteEnd hourEnd minute

Inputs

Time Duration Calculator

Results update as you type.

Input status

5/5

min

Live result

Duration minutes

480

Duration hours

8.00

Scenario compare

Save scenario A, change a few inputs, then save scenario B.

Scenario A

Not saved yet

Scenario B

Not saved yet

Quick check

Change one or two inputs to compare a second scenario before using the number.

Need more detail?

Formula, examples, and FAQ stay tucked away until you need them.

FXFormula ExplanationThe core logic behind the numbers on this page.+

To calculate the duration, we subtract the start time from the end time and then subtract any break minutes. If the end time is earlier than the start time, we assume an overnight span, treating the end time as the next day. This ensures accurate calculations for shifts that span across midnight.

USEHow to UseA short path from input to result.+
  1. Enter start hour and minute in 24-hour time.
  2. Enter end hour and minute.
  3. Subtract optional break minutes.
EXExamplesReference scenarios to sanity-check your inputs.+

Example: 9:00 to 17:30 with a 30-minute break is 8.0 hours.

FAQFAQCommon edge cases and quick clarifications.+
How does the calculator handle overnight shifts?

If the end time is earlier than the start time, the calculator assumes an overnight span and treats the end time as the next day.

Can I enter a zero break time?

Yes, enter 0 if you don't want to subtract any break time.

What time format should I use?

Use 24-hour time, such as 13 for 1 PM.

What is the formula used to calculate the duration?

Duration minutes = end time - start time - break minutes.

How do I enter break time?

Enter the number of minutes you want to subtract as break time.

MAPRelated CalculatorsNeighboring tools in the same decision flow.+