Online Hours Calculator

Hours Calculator

Enter start and end times and breaks to get your total hours in hours:minutes and decimal.

Total (hours:​minutes)0:00
Total (decimal hours)0.00

    How to calculate hours worked

    Working out hours by hand is easiest in minutes. Follow these steps for each shift:

    1. Convert the start time and the end time to minutes since midnight (hours × 60, plus minutes).
    2. Subtract the start from the end. If the result is negative, the shift ends the next day, so add 1,440 minutes (24 hours).
    3. Subtract the unpaid break, in minutes.
    4. Convert back: divide by 60 for whole hours, and the remainder is the minutes. Divide the total minutes by 60 for decimal hours.

    Normal day: 08:20 to 16:50 with a 40-minute break. 08:20 is 500 minutes and 16:50 is 1,010 minutes. 1,010 − 500 = 510 minutes. 510 − 40 = 470 minutes. 470 ÷ 60 is 7 hours with 50 minutes left over, so the result is 7:50, or 7.83 in decimal hours.

    Overnight shift: 21:45 to 06:15 with a 45-minute break. 21:45 is 1,305 minutes and 06:15 is 375 minutes. 375 − 1,305 = −930, which is negative, so add 1,440 to get 510 minutes. 510 − 45 = 465 minutes, which is 7:45, or 7.75 in decimal hours.

    Unpaid breaks: An unpaid break is time away from work that is not counted, so it comes off the total. A paid break stays in the total, so leave its break field at 0. Check your own employer's or local rules to see which breaks are paid.

    Minutes to decimal hours

    Payroll and invoicing usually multiply hours by a rate, which needs decimal hours, so minutes are converted by dividing them by 60.

    Minutes converted to decimal hours
    MinutesDecimal hours
    10.02
    50.08
    60.10
    100.17
    120.20
    150.25
    180.30
    200.33
    250.42
    300.50
    350.58
    400.67
    450.75
    500.83
    550.92
    601.00

    Frequently asked questions

    How does the calculator handle overnight shifts?

    If the end time is earlier than the start time, the calculator assumes the shift ends the next day. For example, 22:00 to 06:00 counts as 8 hours. If the start and end times are the same, the row counts as 0.

    How are breaks deducted?

    Enter the break in minutes and it is subtracted from the time between start and end. If the break is longer than the shift, the row counts as 0 instead of a negative number.

    What are decimal hours, and how does 7:30 become 7.5?

    Decimal hours express the minutes as a fraction of an hour. Divide the minutes by 60: 30 minutes is 0.5 hours, so 7:30 becomes 7.5, shown as 7.50.

    Can I enter times in 12-hour or 24-hour format?

    The time fields follow your device or browser setting, so you may see AM/PM or a 24-hour clock. The calculation is the same either way.

    How do I total hours for a week?

    Add one row for each day, give it an optional label such as Mon, and fill in the start, end and break. The total updates as you type and covers all rows.

    Does it calculate overtime?

    No. It totals hours and, if you enter an hourly rate, multiplies the decimal total by that rate. It does not apply overtime rules, which vary by country.