Hours Calculator
Calculate elapsed hours between a start time and an end time in total minutes, decimal hours, and hours and minutes.
Calculator Inputs
The start hour, 24-hour format (0-23).
The start minute (0-59).
The end hour, 24-hour format (0-23).
The end minute (0-59).
Enable this if the end time occurs on the calendar day after the start time.
- Total Minutes
- 480
- Decimal Hours
- 8.00
- Hours and Minutes
- 8h 0m
About these results
CalcSpectrum calculators produce automated estimates using established formulas and the specific values you enter. Because real-world outcomes depend on input accuracy, mathematical assumptions, and rounding conventions, please verify critical figures with an appropriately qualified financial, tax, medical, legal, or other professional, as relevant.
How It's Calculated
Formula
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
- Start minute-of-day: 9 x 60 = 540.
- End minute-of-day: 17 x 60 = 1,020.
- Total minutes: 1,020 - 540 = 480.
- Result: 480 minutes = 8 decimal hours = 8 hours 0 minutes.
Overnight elapsed hours: 22:00 to 06:00 (overnight enabled)
- Start minute-of-day: 22 x 60 = 1,320.
- End minute-of-day: 6 x 60 = 360.
- End (360) is at or before start (1,320), so add a full day: 360 + 1,440 = 1,800.
- Total minutes: 1,800 - 1,320 = 480.
- 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.