Date & Time

Time Duration Formula Explained

Learn the time-duration formula for calculating elapsed hours and minutes, overnight periods, break deductions, and decimal hours.

Updated July 16, 2026

The time-duration formula is ending time minus starting time. For reliable calculations, convert both times into minutes after midnight before subtracting. When the ending time is on the next day, add 1,440 minutes to it. Any excluded break is subtracted from the elapsed result.

Related toolTime Duration Calculator

Calculate elapsed hours and minutes, overnight duration, break deductions, decimal hours, and total minutes.

Open calculator
Formula breakdownConvert, subtract, adjust, and format

Representing clock times as minutes avoids problems with mixed hour and minute values.

Time-duration formula process The ending time in minutes is reduced by the starting time and any excluded break.Duration = End minutes − Start minutes − Break minutesConvert clock timesSubtract valuesFormat duration

The Standard Time Duration Formula

The ending time must be later than the starting time on the same continuous timeline.

Converting both values into minutes produces a single unit that can be subtracted directly.

The Time Duration Calculator applies the formula and formats the result.

Standard formulaDuration minutes = End minutes − Start minutes

Convert a Clock Time into Minutes

Multiply the hour by 60 and add the minutes.

For example, 9:25 AM becomes 9 multiplied by 60 plus 25.

The result is 565 minutes after midnight.

Formula Example: 9:25 AM to 4:10 PM

Nine twenty-five in the morning equals 565 minutes.

Four ten in the afternoon is 16:10 in 24-hour time and equals 970 minutes.

Subtracting 565 from 970 gives 405 minutes.

Start value9 × 60 + 25 = 565
End value16 × 60 + 10 = 970
Duration970 − 565 = 405

Convert the Result into Hours and Minutes

Divide the total minutes by 60 to find the complete hours.

For 405 minutes, six hours account for 360 minutes.

The remaining 45 minutes produce a duration of 6 hours 45 minutes.

Overnight Time Duration Formula

When the ending time occurs on the following day, add 1,440 minutes to its clock value.

This places the ending time after the starting time on a continuous timeline.

Subtract the starting value after applying the next-day adjustment.

Overnight formulaDuration = End minutes + 1,440 − Start minutes

Overnight Example: 11:15 PM to 5:45 AM

Eleven fifteen at night equals 1,395 minutes.

Five forty-five the next morning equals 345 plus 1,440, or 1,785 minutes.

The difference is 390 minutes, equal to 6 hours 30 minutes.

Formula with a Break Deduction

Find the complete elapsed time before subtracting a break.

Convert the break into minutes using hours multiplied by 60 plus additional minutes.

Subtract the break value from the elapsed total.

Net-duration formulaCounted duration = Elapsed duration − Break duration

Break-Deduction Example

A shift from 8:30 AM to 5:00 PM lasts 510 minutes.

A 45-minute unpaid break reduces the counted duration to 465 minutes.

Four hundred and sixty-five minutes equal 7 hours 45 minutes.

Decimal-Hours Formula

Divide total duration minutes by 60.

For example, 465 divided by 60 equals 7.75.

Therefore, 7 hours 45 minutes equals 7.75 decimal hours.

Decimal-hours formulaDecimal hours = Total duration minutes ÷ 60

Hours-and-Minutes Formula

Use whole-number division to find the hours.

Use the remainder after division by 60 to find the minutes.

For 135 minutes, the result is two complete hours with 15 minutes remaining.

Same Start and End Time

Identical start and end times may represent zero elapsed time or exactly 24 hours.

The intended interpretation depends on whether the ending time is on the same day or the following day.

A next-day setting is therefore important for this special case.

Common Formula Errors

Do not subtract hours and minutes as though clock notation were a decimal number.

Do not forget to convert PM times into 24-hour values when using minutes after midnight.

Do not add 24 hours to same-day calculations.

Do not allow a deducted break to exceed the elapsed duration.

Conclusion

Convert each clock time into minutes and subtract the starting value from the ending value.

Add 1,440 minutes for overnight periods and subtract excluded breaks afterwards.

Use the Time Duration Calculator to apply the formulas automatically.

FAQs

What is the time-duration formula?

Subtract the starting time from the ending time after converting both into the same unit.

Why convert times into minutes?

Minutes create one consistent unit and avoid borrowing errors.

What is the overnight formula?

Add 1,440 minutes to the ending time before subtracting the starting time.

How do I calculate decimal hours?

Divide the total duration in minutes by 60.

When should a break be subtracted?

Subtract it after calculating the complete elapsed duration.

Calculate the duration between two times

Enter a start time, end time, and optional break to calculate the complete elapsed duration.

Use Time Duration Calculator