Home › Other Calculators › Hours Calculator

HOURS & TIME

Hours Calculator

Calculate total work hours, shift duration, and unpaid breaks. You can also add or subtract time or calculate the hours between two clock times.

✓ Free to useCalculate on clickWorks on mobile

WORK & TIMESHEETS

Calculate work hours after a break

Calculate a shift duration and subtract unpaid break time. For overnight shifts, select the overnight option.

How time calculation works: Time is calculated in seconds, then converted back into days, hours, minutes and seconds. This avoids common base-60 arithmetic mistakes.

How to use the hours calculator

  1. Choose Add / subtract time, Time duration or Work hours.
  2. Enter the time values. For shifts that cross midnight, select the overnight checkbox.
  3. Click the relevant Calculate button to display the result.

Time calculation formulas

Convert a duration to seconds with this formula:

Total seconds = (days × 86,400) + (hours × 3,600) + (minutes × 60) + seconds

For time addition, add the two durations in seconds. For subtraction, subtract the second duration from the first. A clock-time result wraps around the 24-hour day; a duration result keeps the full number of days.

Time conversion table

UnitEquivalent
1 minute60 seconds
1 hour60 minutes = 3,600 seconds
1 day24 hours = 1,440 minutes
1 week7 days = 168 hours

Frequently asked questions

Can I add more than 24 hours?

Yes. Enter the amount in the days and hours fields. If a starting clock time is provided, the result also indicates how many days the clock time has moved forward or backward.

How do I calculate time across midnight?

In Time Duration or Work Hours mode, select the option that says the end time is on the next day. For example, 10:00 PM to 6:00 AM is 8 hours.

How are decimal hours calculated?

Divide the total number of seconds by 3,600. For example, 1 hour 30 minutes equals 1.5 decimal hours.

Can I subtract an unpaid break from work hours?

Yes. In Work Hours mode, enter the break in minutes. The calculator subtracts it from the gross shift duration and warns you if the break exceeds the shift length.

Are my time entries sent to the server?

The calculator calculations run in your browser. This tool's calculation code does not submit your entered times to the server.

This hours calculator is intended for general time arithmetic, shift planning, and timesheet estimates. Payroll rules, rounding policies and paid-break regulations can vary by employer and jurisdiction.