CalculateItNow home

Hours Calculator

Timesheet calculator: hours worked between start and end times minus breaks, per day, week and pay period, with gross pay. Handles overnight shifts.

Hours Calculator: with the default inputs, hours per day is 8.

minutes
days
Try an example
Hours per day
8
Per day in hours and minutes
8h 00m
Hours per week
40
Hours per pay period
80 hours per 2 weeks
Gross pay per week
$0.00
Gross pay per pay period
$0.00
Shift
09:00 → 17:30
Assumptions
  • An end time earlier than the start time means the shift crosses midnight.
  • Pay is straight time at the hourly rate; overtime premiums are not added.
  • A month is 52 ÷ 12 weeks and a semi-monthly period 52 ÷ 24 weeks.
Hours and pay by period
PeriodHoursGross pay (enter a rate)
Day8$0.00
Week40$0.00
2 weeks80$0.00
Month (52 ÷ 12 weeks)173.33$0.00
Year (52 weeks)2,080$0.00
Math verified by automated testsUpdated 2026-09-082 sources cited

How this is worked out

The formula

shift minutes = (end − start) in minutes, + 1440 if the end is earlier than the start (overnight)
hours per day = (shift minutes − break minutes) ÷ 60
hours per week = hours per day × days per week
gross pay = hours × hourly rate

Open How it’s calculated above to see this worked through with your own numbers.

What you enter

Start hour
24-hour clock: 9 = 9 AM, 17 = 5 PM.from 0 to 23 · whole numbers only · defaults to 9
Start minute
A number.from 0 to 59 · whole numbers only · defaults to 0
End hour
A number.from 0 to 23 · whole numbers only · defaults to 17
End minute
A number.from 0 to 59 · whole numbers only · defaults to 30
Unpaid break
Total unpaid break time per day.from 0 to 1439 · whole numbers only · defaults to 30
Days per week
A number.from 0 to 7 · defaults to 5
Hourly rate(under More options)
Leave at 0 to skip pay.in dollars · 0 or more · defaults to 0
Pay period(under More options)
Choose one of 4 options.Weekly · Every 2 weeks · Twice a month · Monthly

What you get back

Hours per daymain answer
Per day in hours and minutes
Hours per week
Hours per pay period
Gross pay per week
Gross pay per pay period
Shift

What this assumes

  • An end time earlier than the start time means the shift crosses midnight.
  • Pay is straight time at the hourly rate; overtime premiums are not added.
  • A month is 52 ÷ 12 weeks and a semi-monthly period 52 ÷ 24 weeks.

About this calculator

Enter when a shift starts and ends on the 24-hour clock, subtract unpaid breaks, and the calculator gives hours per day, per week and per pay period — plus gross pay if you add an hourly rate. Shifts that end after midnight are handled automatically: if the end time is earlier than the start time, the calculator assumes the shift crossed into the next day.

How to use it

Use 24-hour times: 9:00 AM is hour 9, 5:30 PM is hour 17 minute 30, 11:00 PM is 23. Enter the total unpaid break in minutes (a 30-minute lunch plus two 10-minute paid breaks is 30, since paid breaks count as work). Set days per week — half days are allowed. Open More options for your hourly rate and pay-period frequency.

Reading the results

  • Hours per day is shown as decimal hours (7.50) because payroll systems use decimals; hours and minutes (7h 30m) is shown alongside.
  • Hours per week multiplies by the days you work. Over 40, the calculator flags overtime: under the US Fair Labor Standards Act, non-exempt employees must be paid at least 1.5× their regular rate for hours past 40 in a workweek. Overtime premiums are not included in the pay figures.
  • Per pay period converts to your pay frequency. Semi-monthly periods average 52 ÷ 24 = 2.1667 weeks and monthly periods 4.3333 weeks, so those figures are averages rather than what any single paycheck will show.

Rounding rules

Many employers round punches to the nearest 5, 6 or 15 minutes. US regulations allow rounding as long as it's neutral over time — rounding always in the employer's favour is not permitted. This calculator uses your exact minutes; if your employer rounds to quarter hours, enter the rounded times.

Converting minutes for a timesheet

Decimal hours = minutes ÷ 60. Fifteen minutes is 0.25, thirty is 0.50, forty-five is 0.75, and ten minutes is 0.17 (0.1667). For multiple shifts with different lengths, run each one and add the decimal hours in the time calculator.

Frequently asked questions

How do I calculate hours worked between two times?

Convert both times to minutes since midnight, subtract the start from the end, add 24 hours (1,440 minutes) if the shift ends the next day, subtract unpaid breaks, then divide by 60 for decimal hours.

How do I convert minutes to a decimal for my timesheet?

Divide the minutes by 60. 7 hours 20 minutes is 7 + 20 ÷ 60 = 7.33 hours. Writing 7.20 would underpay you by 8 minutes.

Do breaks count as hours worked?

In the US, short rest breaks of 5–20 minutes are counted as paid work time under federal rules, while bona fide meal periods of 30 minutes or more where you're fully relieved are unpaid. Enter only the unpaid time in the break field.

How are overnight shifts calculated?

If the end time is earlier than the start time, the calculator assumes the shift runs past midnight and adds 24 hours. 22:00 to 06:00 is 8 hours.

How many working hours are in a year?

A 40-hour week over 52 weeks is 2,080 hours, the figure US payroll and salary conversions use. Subtract your holidays and leave for the hours you actually work.

Put this calculator on your own site

A working hours, free for any site, with no ads and no sign-up. It resizes to fit wherever you paste it and updates itself as this page improves.

Paste this anywhere. It works on any site, carries no ads, never expires, and always shows the current version.

Hours Calculator by CalculateItNow

The page's own title. The clearest description of what the link leads to.

The credit line sits outside the widget on purpose, so it is a real link on your page rather than one buried in a frame. Please keep it — it is what pays for CalculateItNow staying free and ad-free. The script only resizes the widget to fit its contents; drop it and the widget still works.

Browse every calculator widget·How to add it to WordPress, Squarespace or Wix

The questions people ask next to a hours.

All everyday calculators·Browse everything