Skip to content
CalcSpectrum

Hours Calculator

Calculate elapsed hours between a start time and an end time in total minutes, decimal hours, and hours and minutes.

Free to use · Instant results
Loading calculator…

How It's Calculated

Formula

\text{totalMinutes} = (\text{endHour} \times 60 + \text{endMinute}) - (\text{startHour} \times 60 + \text{startMinute})

This calculator counts elapsed hours between a start time and an end time, both entered on the 24-hour clock. In same-day mode, the end time must be at or after the start time; total minutes is the end time's minute-of-day value minus the start time's. In overnight mode, the end time is treated as occurring on the calendar day after the start time: if the end time's minute-of-day value is at or before the start time's, a full day (1,440 minutes) is added before subtracting, so hours correctly accumulate across midnight. The same start and end time in same-day mode yields 0 elapsed hours, never a full 24. Results are reported as total minutes, decimal hours (minutes / 60), and whole hours plus remaining minutes.

Worked Examples

Same-day elapsed hours: 09:00 to 17:00

  1. Start minute-of-day: 9 x 60 = 540.
  2. End minute-of-day: 17 x 60 = 1,020.
  3. Total minutes: 1,020 - 540 = 480.
  4. Result: 480 minutes = 8 decimal hours = 8 hours 0 minutes.

Overnight elapsed hours: 22:00 to 06:00 (overnight enabled)

  1. Start minute-of-day: 22 x 60 = 1,320.
  2. End minute-of-day: 6 x 60 = 360.
  3. End (360) is at or before start (1,320), so add a full day: 360 + 1,440 = 1,800.
  4. Total minutes: 1,800 - 1,320 = 480.
  5. Result: 480 minutes = 8 decimal hours = 8 hours 0 minutes.

Frequently Asked Questions

How is this different from the Time Duration Calculator?

Both use the same minute arithmetic between a start and end 24-hour time. Hours Calculator presents that arithmetic as elapsed hours worked or elapsed clock hours; the underlying calculation policy (same-day requires end at or after start, explicit overnight toggle, no silent overnight inference) is identical.

What happens if I enter an earlier end time without enabling overnight?

The calculator reports a validation error instead of silently assuming the end time is on the next day. Enable the overnight toggle if the end time really occurs on the next calendar day.

If I enter the same start and end time, is that 0 or 24 hours?

In same-day mode, an identical start and end time is 0 elapsed hours. It is never interpreted as a full 24-hour day.

Does this calculator account for dates or time zones?

No. This calculator performs pure clock-time (minute) arithmetic only, with no calendar date or time zone involved.

What time format does this calculator use?

24-hour HH:MM format, entered as separate hour (0-23) and minute (0-59) fields for both the start and end time.