1. Home
  2. Everyday Life
  3. Hours Calculator

Hours Calculator

From 9:00 to 17:30 with a 30-minute break is 8 hours (8.00 in decimal). Enter your own times, or fill the weekly timesheet to total a whole week and your pay.

Payroll uses decimal hours: 7 h 45 min is 7.75, not 7.45. The calculator shows both so your timesheet matches your payslip.

How many hours did I work?

ยฃ
Answer โ€”

How we got this

    Your next step

    Your answer carries over, so you donโ€™t have to type it again.

    How to calculate hours worked

    1. Convert start and end times to 24-hour clock.
    2. Subtract start from end. If the end is earlier, the shift crossed midnight: add 24 hours.
    3. Take off unpaid breaks.
    4. Divide the minutes by 60 for decimal hours.

    Worked example

    8:45 to 17:15 with a 45-minute lunch: 17:15 โˆ’ 8:45 = 8 h 30 min; minus 45 min = 7 h 45 min = 7.75 hours.

    Minutes to decimal hours

    MinutesDecimalMinutesDecimal
    50.08350.58
    100.17400.67
    150.25450.75
    200.33500.83
    250.42550.92
    300.50601.00

    Overtime rules vary

    In the US, the federal rule for most hourly workers is overtime at 1.5ร— pay after 40 hours in a week. Other countries set different limits, and some count overtime per day. Check your contract or local labour law; the calculator lets you set the threshold and the rate.

    Keeping accurate timesheets

    • Record times when you clock in and out, not at the end of the week.
    • Note unpaid breaks separately from paid rest breaks.
    • Keep a copy of your timesheet with your payslip.

    Frequently asked questions

    How many hours is 9 to 5?

    8 hours, or 7.5 hours if you take an unpaid 30-minute lunch.

    How do I convert minutes to decimal hours for payroll?

    Divide the minutes by 60. 20 minutes is 0.33 hours, 45 minutes is 0.75 hours.

    How do I calculate hours for a night shift?

    If the end time is earlier than the start, add 24 hours to the end time before subtracting.

    How is overtime calculated?

    Hours above the threshold (often 40 a week) are paid at a higher rate, such as 1.5 times the normal rate.

    Last updated ยท Written and checked by the AzCalculator team ยท Calculations run in your browser with full precision and are rounded only for display. How we build calculators