Hours Calculator: Hours Worked Between Two Times

Enter your start and end time and any unpaid break to see the hours you worked, in hours and minutes and in decimal hours for payroll, plus your weekly total and pay.

  • 100% free
  • No sign-up
  • Runs in your browser
  • Add this calculator to your website

    Free for blogs, schools and businesses. Paste the code into your page's HTML; it resizes automatically and has no ads.

    Preview

    Please keep the credit link below the widget. See all free calculator widgets.

  • Updated October 2026 · How we check our tools

Was this tool helpful?

How to use the Hours Calculator

  1. 1Enter the time you started and finished work.
  2. 2Enter your unpaid break in minutes (for example 30 for lunch).
  3. 3Read the hours worked in hours and minutes and in decimal hours; add your days per week and hourly rate for weekly totals and pay.

How to calculate hours worked

Hours worked = end time − start time − unpaid breaks. A shift from 8:00 AM to 4:30 PM is 8 hours 30 minutes long; take off a 30-minute unpaid lunch and you worked 8 hours.

For payroll, convert the minutes to a decimal by dividing by 60: 7 hours 45 minutes is 7.75 hours. Multiply decimal hours by your hourly rate to get your pay.

Which breaks are paid?

Under the US Fair Labor Standards Act, short rest breaks of about 5 to 20 minutes count as work time and must be paid. Bona fide meal periods, usually 30 minutes or more when you're fully relieved of duties, don't count and can be unpaid. Federal law doesn't require employers to give breaks at all, but many states do, so check your state's rules.

Hours for common shifts

How long common shifts are, and how many hours you work after a 30-minute unpaid lunch:

ShiftTotal timeDecimalAfter 30 min lunchDecimal
9:00 AM – 5:00 PM8 h87 h 30 min7.5
8:00 AM – 5:00 PM9 h98 h 30 min8.5
8:00 AM – 4:00 PM8 h87 h 30 min7.5
7:00 AM – 3:00 PM8 h87 h 30 min7.5
9:00 AM – 6:00 PM9 h98 h 30 min8.5
8:30 AM – 5:00 PM8 h 30 min8.58 h8
9:00 AM – 5:30 PM8 h 30 min8.58 h8
7:00 AM – 7:00 PM12 h1211 h 30 min11.5
6:00 AM – 2:00 PM8 h87 h 30 min7.5
2:00 PM – 10:00 PM8 h87 h 30 min7.5
3:00 PM – 11:00 PM8 h87 h 30 min7.5
10:00 PM – 6:00 AM (overnight)8 h87 h 30 min7.5
11:00 PM – 7:00 AM (overnight)8 h87 h 30 min7.5
7:00 PM – 7:00 AM (overnight)12 h1211 h 30 min11.5

Weekly hours on a five-day week

Total hours worked Monday to Friday, after a 30-minute unpaid lunch each day:

Daily hoursHours per weekOver 40 hours?
9:00 AM – 5:00 PM37.5 hNo
8:00 AM – 5:00 PM42.5 hNo
8:30 AM – 5:30 PM42.5 hNo
7:00 AM – 5:00 PM47.5 hYes
7:00 AM – 7:00 PM57.5 hYes

Quarter hours in decimals

Many time clocks round to quarter hours. In decimal hours:

MinutesDecimal hoursh:mm
15 min0.250:15
30 min0.50:30
45 min0.750:45
60 min11:00

Hours per month and year on common schedules

Useful for comparing an hourly rate with a salary: a year has 52 weeks, and an average month about 4.33 weeks.

Hours per weekHours per month (average)Hours per yearExample
2086.71,040Part-time, 4 hours × 5 days
301301,5606 hours × 5 days
35151.71,8207 hours × 5 days
37.5162.51,9509 to 5:30 with 30 min lunch
40173.32,080Standard full time
451952,3409 hours × 5 days
50216.72,60010 hours × 5 days

Sources & review

Figures last checked in October 2026 against the official sources below. Hours worked = end time − start time − unpaid break; decimal hours = minutes ÷ 60.

Results are estimates for general information, not financial, tax or legal advice. How we check our tools

Frequently asked questions

How do I calculate hours worked with a lunch break?

Subtract the start time from the end time, then subtract the unpaid lunch. 9:00 AM to 5:30 PM with a 30-minute lunch is 8 hours 30 minutes − 30 minutes = 8 hours.

How do I calculate hours for a night shift?

If the end time is earlier than the start time, add 24 hours to the end time. 10:00 PM to 6:00 AM is 8 hours. The calculator detects overnight shifts automatically.

Is 40 hours a week full time?

40 hours is the standard full-time week in the US and the point after which most hourly employees must be paid overtime under federal law, although employers can define full time differently for benefits.

How many hours is 8 to 5 with a 30-minute lunch?

8 hours 30 minutes (8.5 hours). 8:00 AM to 5:00 PM is 9 hours, minus a 30-minute lunch.

How many hours is 7 to 3?

8 hours from 7:00 AM to 3:00 PM, or 7.5 hours after a 30-minute unpaid break.