Hours Calculator

Enter your start and end times to see hours worked, in hours and minutes and decimal hours, with breaks taken out.

Clock format
Type 9, 930, 9:30 or 21:30
Shift 1

Hourly rate (optional)
$

Total hours worked

0 hrs 0 min = 0.00 hours

    More time calculators

    How to use it

    1. Type a start time and an end time. You can type 9, 930, 9:30 or 9:30p. Tap the AM/PM button to switch, or use the 24-hour setting if you prefer times like 21:30.
    2. Enter any unpaid break in minutes, for example 30 for a half-hour lunch.
    3. Adding up more than one shift? Tap Add another shift. Each shift gets its own line and total, and Same as shift … copies the previous shift’s times when they repeat.
    4. Optional: open Hourly rate and enter your rate to see gross pay before taxes.
    5. Use Copy results to paste the totals into a message or timesheet, Share link to send the filled-in calculator to someone, or Print for a paper record.

    Worked example: a split day and an overnight shift

    Sam works a split shift at a restaurant: 10:30 AM to 2:15 PM, then back for 5:00 PM to 10:45 PM with a 15-minute unpaid break in the evening.

    1. First shift: 10:30 AM to 2:15 PM is 3 hours 45 minutes.
    2. Second shift: 5:00 PM to 10:45 PM is 5 hours 45 minutes. Minus the 15-minute break gives 5 hours 30 minutes.
    3. Total: 3 h 45 min + 5 h 30 min = 9 hrs 15 min.
    4. In decimal: 15 minutes ÷ 60 = 0.25, so the total is 9.25 hours.
    5. At $16.50 an hour, gross pay is 9.25 × $16.50 = $152.63.

    Now a night shift. Priya, a nurse, starts at 7:00 PM and finishes at 7:30 AM the next morning with a 30-minute meal break. Because the end time is earlier than the start time, the calculator counts across midnight: 5 hours until midnight plus 7 hours 30 minutes after it is 12 hours 30 minutes, minus 30 minutes of break = 12 hrs 0 min (12.00 hours).

    How it’s calculated

    For each shift the calculator works out:

    hours worked = (end time − start time) − break

    • Times are turned into minutes after midnight. 9:30 AM is 570 minutes; 5:15 PM is 1,035 minutes.
    • If the end time is earlier than the start time, the shift is treated as overnight and 24 hours (1,440 minutes) is added to the end time, so 10:00 PM to 6:30 AM gives 8 hours 30 minutes rather than a negative number.
    • Shift totals are added together, then shown two ways: hours and minutes, and decimal hours (minutes ÷ 60, rounded to two places). Payroll systems usually want the decimal figure.
    • Gross pay is total minutes ÷ 60 × hourly rate, rounded to the nearest cent. Your employer may round time punches first (for example to the nearest quarter hour), so a payslip can differ by a few cents.

    A shift can’t be longer than 24 hours here. For multi-day spans, use the time duration calculator with dates switched on.

    Frequently asked questions

    How do I calculate hours worked?
    Subtract the start time from the end time, then subtract any unpaid breaks. For 8:15 AM to 4:45 PM with a 30-minute lunch: 8 hours 30 minutes minus 30 minutes = 8 hours. Convert to decimal by dividing the minutes by 60.
    What if my shift goes past midnight?
    Just enter the times as they happened, such as 10:00 PM to 6:30 AM. When the end time is earlier than the start time, the calculator assumes the shift crossed midnight and counts the hours correctly (8.5 hours in this case).
    Is my lunch break paid?
    Under U.S. federal rules, short breaks of about 5 to 20 minutes are generally counted as paid work time, while a genuine meal break of 30 minutes or more, where you are fully relieved of duty, usually doesn’t have to be paid. Some states have their own meal and rest break laws, so check your state or your employer’s policy.
    How do I write 7 hours 45 minutes in decimal?
    Divide the minutes by 60 and add the result to the hours: 45 ÷ 60 = 0.75, so 7 hours 45 minutes is 7.75 hours. The minutes to decimal converter has a full chart.
    Can I add up a whole week?
    You can add up to 10 shifts here. For a full weekly or biweekly timesheet with overtime and a printable card, use the time card calculator.