Calculator NetworkFree Online Calculators

Time Duration Calculator

Calculate the duration between two times, including overnight intervals and breaks.

Optional. Enter zero if there is no break.

Quick break presets

Select this option for overnight intervals or durations extending into the following day.

Quick Examples

Choose an example to fill the calculator, then select Calculate.

Time calculations are performed locally in your browser.

How to Calculate Hours Between Two Times

Use this time duration calculator to find the hours and minutes between two times. The time difference calculator can subtract breaks and measure overnight intervals, making it useful for work hours, study sessions, and appointments.

  1. Enter the start time.
  2. Enter the end time.
  3. Enter any break duration in minutes.
  4. Select the next-day option if the end time falls on the following day.
  5. Select Calculate Duration to view the results.

Time Duration Formula

Convert each time into minutes after midnight before calculating the difference.

Time in minutes = Hours × 60 + Minutes

Gross duration = End time − Start time

Net duration = Gross duration − Break minutes

Decimal hours = Net minutes ÷ 60

When the ending time is on the next day, add 1,440 minutes to the ending time before subtracting the starting time.

Example: Calculating Work Hours with Breaks

Suppose you start work at 9:00 AM and finish at 5:30 PM, with a 30-minute break.

Start time
9:00 AM
End time
5:30 PM
Gross duration
8 hours, 30 minutes
Break duration
30 minutes
Net duration
8 hours

How to Calculate Overnight Time Duration

An overnight interval begins on one calendar day and ends on the next. For example, the duration from 10:00 PM to 6:00 AM the following day is eight hours.

Select the next-day option to distinguish an overnight interval from an invalid same-day time range.

Identical start and end times represent zero hours on the same day or 24 hours when the next-day option is selected.

Hours and Minutes to Decimal Hours

Decimal hours express minutes as a fraction of an hour. They are commonly used in timesheets and work-hour records.

Minutes to decimal hours conversion
MinutesDecimal Hours
50.08
100.17
150.25
200.33
300.50
450.75
601.00

For example, seven hours and 45 minutes equals 7.75 decimal hours, not 7.45 hours. Decimal results are displayed to two decimal places. Use total minutes when exact minute-level precision is required.

Calculation Accuracy and Limitations

This calculator measures clock-time differences with minute-level precision. It assumes a 24-hour day and supports intervals ending on the same day or the following day.

It does not adjust for time zones, daylight-saving transitions, or date-specific clock changes. Actual elapsed time may differ in those situations.

Breaks are deducted from the gross duration. Payroll rules, overtime, and employer-specific rounding policies are not included.

Frequently Asked Questions

How many hours are between two times?

Enter the starting and ending times. Select the next-day option when necessary. The calculator displays the net duration in hours and minutes after deducting any entered breaks.

Can I subtract lunch or rest breaks?

Yes. Enter the total break duration in minutes to deduct it from the gross time duration.

How do I calculate overnight work hours?

Enter the starting and ending times and select the next-day option. Add any unpaid breaks if needed.

What is the difference between decimal hours and clock hours?

Clock hours use 60 minutes per hour. Decimal hours express those minutes as a fraction of one hour. For example, 30 minutes equals 0.5 hours.

Does this calculator support durations longer than 24 hours?

Yes, when the ending time falls on the following day. The maximum supported gross duration is 47 hours and 59 minutes.

Does the calculator account for daylight-saving time?

No. It compares clock times without using calendar dates or time zones. It assumes every day contains 24 hours.

Related Calculation

For intervals measured in calendar days, months, or years rather than clock hours, use the date difference calculator.