Home/Calculators/Hours calculator
Hours calculator: time card with breaks, overtime and pay
You are adding up a week of shift times by hand, with breaks and a late finish that crosses midnight, and you need one clean set of hours you can hand off or bill from. Hours calculator. Nothing was tested for this page; the numbers come from the formula shown below and the inputs you enter.
You enter a start time, an end time and unpaid break minutes for each day from Monday to Sunday. You get total hours and minutes, decimal hours, days worked, overtime and optional gross pay.
The automatic calculation needs JavaScript. With scripting off, the fields above do nothing and the result area stays empty. The formula is written out below, so you can do the same arithmetic on paper.
Hours calculator: what to enter
- Write down the clock time you started each shift, using the time on your own time card or phone.
- Write down the clock time you finished, including any shift that ran past midnight.
- Add up the unpaid break minutes you took each day and keep them separate from worked time.
- Note your hourly rate and the weekly hour threshold where overtime begins, if you track overtime.
Hours calculator formula, written out
- shift time = end - start (plus 24 hours if the end is earlier than the start)
- worked time = shift time - unpaid break
- decimal hours = worked minutes / 60
- total = sum of the days you filled in
- overtime hours = total hours above the weekly threshold; gross pay = regular hours x rate + overtime hours x rate x multiplier
Hours calculator worked example
With the inputs already in the form (monday start 08:00, monday end 17:30, monday unpaid break 30, tuesday start 08:00, tuesday end 17:30, tuesday unpaid break 30, wednesday start 08:00, wednesday end 17:30, wednesday unpaid break 30, thursday start 08:00, thursday end 17:30, thursday unpaid break 30, friday start 08:00, friday end 17:30, friday unpaid break 30, hourly rate 20, overtime starts after 40, overtime multiplier 1.5).
With those inputs the result is: total time worked: 45 h 00 min; total hours, decimal: 45.00; days worked: 5; average hours per day worked: 9.00; regular hours: 40.00; overtime hours: 5.00; gross pay, before taxes: $950.00; monday hours, decimal: 9.00; tuesday hours, decimal: 9.00; wednesday hours, decimal: 9.00; thursday hours, decimal: 9.00; friday hours, decimal: 9.00.
- Monday: 9 h 30 min minus 30 min break = 9 h 00 min (9.00 h)
- Tuesday: 9 h 30 min minus 30 min break = 9 h 00 min (9.00 h)
- Wednesday: 9 h 30 min minus 30 min break = 9 h 00 min (9.00 h)
- Thursday: 9 h 30 min minus 30 min break = 9 h 00 min (9.00 h)
- Friday: 9 h 30 min minus 30 min break = 9 h 00 min (9.00 h)
- Total = 45 h 00 min = 45.00 decimal hours over 5 days
- Regular hours = lesser of 45.00 and 40 = 40.00; overtime hours = 5.00
- Gross pay = 40.00 x $20.00 + 5.00 x $20.00 x 1.5 = $950.00
For double-time rules, use the overtime and double-time pay calculator.
What the hours calculator assumes
- An end time earlier than the start time is read as a shift that runs past midnight.
- A day with both start and end left blank is counted as a day off.
- Shifts are not rounded, and no daily overtime or state rules are applied.
- Taxes and other deductions are not taken out of the gross pay figure.
Hours calculator questions people ask
How does the calculator handle a shift that ends after midnight?
If the end time is earlier than the start time, the shift is counted as running past midnight. The hours are added to that day's total, so a late finish is not lost.
What counts as a day worked?
A day counts as worked when it has a start time and an end time. Days with both fields blank are treated as days off and are left out of the days worked count.
How is overtime worked out?
You set a weekly hour threshold, and hours above it are counted as overtime at the multiplier you enter. If you leave the threshold blank, no overtime is applied.
Does the pay figure include deductions?
No. The optional gross pay is your hourly rate multiplied by the hours, and it does not deduct taxes or any other withholdings.
This calculator belongs to the business and pricing calculators. To price the whole job, not just this part, use the job costing calculator and the pricing guide below.
How this site makes money. Affiliate links on this site are marked before you click them, and a commission will never change a price, a test result or a ranking. Details in the affiliate disclosure.