Hours Calculator

Calculate hours between times, add or subtract hours, and convert hours to other time units.

An hours calculator totals work hours across multiple shifts, subtracts break time, and optionally computes earnings from an hourly rate.

Enter start and end times for each shift in 24-hour format (HH:MM). Add break time in minutes. Optionally enter your hourly rate to calculate earnings. Up to 3 shifts are supported for split-shift schedules.

Examples

Standard 9-to-5 with lunch break

Start: 09:00, End: 17:00, Break: 30 min. Total = 8h 0m - 0h 30m = 7h 30m (7.50 hours).

Overnight shift

Start: 22:00, End: 06:00, Break: 15 min. Total = 8h 0m - 0h 15m = 7h 45m (7.75 hours).

Frequently Asked Questions

How are overnight shifts handled?
If your end time is earlier than your start time, the calculator assumes the shift crosses midnight and adds 24 hours to the calculation.
Can I calculate pay with overtime?
This calculator computes straight-time earnings. For overtime tracking with weekly totals, use the Time Card Calculator instead.
Ad Space

Quick Tips

  • Use 24-hour format for accuracy (e.g. 14:00 instead of 2:00 PM).
  • Remember to include all break times to get an accurate work duration.
  • Overnight shifts are automatically detected when end time is before start time.

An hours calculator totals work hours across multiple shifts, subtracts break time, and optionally computes earnings from an hourly rate.

How to Use This Calculator

Enter start and end times for each shift in 24-hour format (HH:MM). Add break time in minutes. Optionally enter your hourly rate to calculate earnings. Up to 3 shifts are supported for split-shift schedules.

Understanding the Formula

Work Hours = (End Time - Start Time) - Break Duration. For overnight shifts, the calculator automatically adds 24 hours when the end time is earlier than the start time.

Examples

Standard 9-to-5 with lunch break

Start: 09:00, End: 17:00, Break: 30 min. Total = 8h 0m - 0h 30m = 7h 30m (7.50 hours).

Overnight shift

Start: 22:00, End: 06:00, Break: 15 min. Total = 8h 0m - 0h 15m = 7h 45m (7.75 hours).

Frequently Asked Questions

How are overnight shifts handled?

If your end time is earlier than your start time, the calculator assumes the shift crosses midnight and adds 24 hours to the calculation.

Can I calculate pay with overtime?

This calculator computes straight-time earnings. For overtime tracking with weekly totals, use the Time Card Calculator instead.

Assumptions & Limitations

  • Based on the Gregorian calendar; does not handle historical calendar systems.
  • Leap years are accounted for in all date calculations.
  • Break times are subtracted evenly from each shift and are assumed to be unpaid.