Online Tool Store Online Tool Store

Hours Calculator

Calculate elapsed and paid hours between two times, including overnight shifts and break deductions, for free entirely in your browser.

This works right here on your device — nothing gets sent out.

Example shown: 9:00 AM to 5:30 PM with a 30-minute unpaid break.

Paid time

8 hours

Decimal hours

8.00

Elapsed time

8 hours 30 minutes

Paid minutes

480 minutes

Shift list and total

Add shifts to total several days or periods, such as a week of work.

    How to calculate hours between times

    1. Enter the start and end time.
    2. If the end time is earlier than the start time, the period is counted as running past midnight automatically. Tick the next-day box to add 24 hours when the times are equal or you want to be explicit.
    3. Enter any unpaid break to see elapsed time and paid time as hours and minutes, decimal hours and total minutes.
    4. Click Add to shift list to keep a period, repeat for other days, and read the total paid time and decimal hours. Copy the total or remove any shift.

    The calculation

    Each clock time is converted to minutes after midnight: total minutes = hours × 60 + minutes. Elapsed minutes equal end minus start; when that is negative, or when the next-day box is ticked, 1,440 minutes are added. Paid minutes equal elapsed minutes minus the unpaid break, and decimal hours equal paid minutes divided by 60. The shift list simply adds up the paid minutes of each shift.

    Example: 9:00 AM to 5:30 PM is 510 minutes. Subtracting a 30-minute break leaves 480 minutes, or 8.00 paid hours.

    FAQ

    How do I calculate an overnight shift?

    Enter the start and end times. If the end time is earlier than the start time (for example 10:00 PM to 6:00 AM), the calculator adds 24 hours automatically and tells you it did. You can also tick "End time is on the next day" yourself.

    How do I calculate total hours worked in a week?

    Calculate each day, then click Add to shift list. The list keeps every shift and shows the combined paid time in hours and minutes and in decimal hours. You can remove a shift or clear the list at any time.

    How are break minutes handled?

    Break minutes are subtracted from the elapsed time. For example, an 8-hour 30-minute shift with a 30-minute unpaid break produces 8 paid hours.

    What are decimal hours?

    Decimal hours express minutes as a fraction of an hour. The calculator divides paid minutes by 60, so 7 hours 30 minutes becomes 7.50 hours.

    How do I convert hours and minutes to decimal hours?

    Divide the minutes by 60 and add the hours. For example, 7 hours 45 minutes is 7 + 45 ÷ 60 = 7.75 decimal hours. The calculator does this for every result and for the shift-list total.

    Can I use this result directly for payroll?

    It can help total a single time period, but payroll rules vary. Confirm rounding, paid-break, overtime, and local employment requirements with your employer or payroll system.

    Are my times saved or uploaded?

    No. Every calculation runs locally in your browser. The times and break duration you enter are not uploaded or stored by Online Tool Store.

    How we compare

    FeatureOnline Tool StoreCalculatorSoupHiveDeskClockIt
    Unpaid break deduction YesYesYesYes
    Overnight shifts detected automatically YesNot mentioned on the pageYesExplained; add 24 hours to the end time
    Decimal hours and total minutes YesYesYesYes
    Add several shifts and see a running total on the same page YesNot mentioned on the pageSeparate time card calculatorSeparate time card calculator
    Copy the total YesNot mentioned on the pageNot mentioned on the pageNot mentioned on the page

    CalculatorSoup offers input rounding to 5, 6 or 15 minutes, which this tool doesn't. Choose Online Tool Store Hours Calculator for a private calculation with overnight handling, break deduction, decimal hours and a running total of several shifts — no account needed and nothing leaves your browser.

    Explore related tools

    Embed this tool

    Paste this on your own site — it stays free, and every file still stays in your visitor's browser, not yours or ours.