Hours Calculator
Four modes in one tool: calculate hours between two times (with optional break and cross-midnight support), convert hours and minutes to decimal format, add multiple hour entries to get a total, or find a result time by adding or subtracting hours from a start time.
Ready to calculate
Enter start and end times, then click Calculate.
How the Hours Calculator works
Mode 1 — Hours between times
Enter a start time and end time in 24-hour format (HH:MM). The calculator returns the elapsed duration as hours and minutes, decimal hours, total minutes, and total seconds. Enable Crosses midnight for shifts that span two calendar days — for example, 22:00 to 06:00 returns 8h rather than an error. Add a break in hours and minutes to see both gross (total elapsed) and net (elapsed minus break) results.
- Standard shift: 08:30 to 17:00 → 8h 30m (8.50 decimal hours, 510 min)
- With break: 08:30 to 17:00, 30-min break → gross 8h 30m, net 8h 00m
- Night shift: 22:00 to 06:00 with Crosses midnight → 8h 00m
- Meeting: 09:15 to 11:45 → 2h 30m (2.50 decimal hours)
Mode 2 — Hours to decimal
Enter any duration in hours and minutes to convert it to decimal hours. The formula is: decimal hours = (hours × 60 + minutes) ÷ 60. For example, 8 hours 45 minutes = (8 × 60 + 45) ÷ 60 = 525 ÷ 60 = 8.75 decimal hours. Decimal hours are the standard format for billing and time-tracking systems.
Mode 3 — Add multiple hours
Enter multiple hour-and-minute durations. The calculator sums all non-zero entries and shows the total hours, total minutes, decimal hours, average per entry, and the number of entries counted. Rows with 0h 0m are skipped and not counted in the average. Use this mode to total hours across separate sessions or projects.
Mode 4 — Hours from time
Enter a start time, choose Add or Subtract, and enter a duration in hours and minutes. The calculator returns the result time in both 12-hour and 24-hour format, plus a day indicator (same day, next day, previous day, or ±N days). This handles any magnitude — adding 36 hours to 12:00 returns 00:00, +2 days; subtracting 6 hours from 02:00 returns 20:00, previous day.
Gross vs. net hours
Gross hours is the total elapsed time from start to end with no deductions. Net hours is gross minus any break time entered. If no break is entered, gross and net are equal. Net hours represent actual working time after deducting unpaid breaks.
Assumptions and limitations
- Times are entered in 24-hour (HH:MM) format. 9:00 AM = 09:00, 1:30 PM = 13:30.
- Mode 1 handles a single start-to-end span. For multiple separate durations, use Mode 3.
- The break must be strictly less than the gross duration — a break equal to or longer than the total returns an error.
- Time zones are not converted — all times are treated as the same local time zone.
- For multi-day periods spanning calendar days or months, use the Time Duration Calculator.
- This calculator does not compute wages, rates, or monetary amounts.
Related calculators
Other tools in the Date & Time collection.
Hours calculator FAQ
Common questions about calculating hours, converting to decimal, adding durations, and finding result times.