Whether you are an hourly employee checking a payslip, a freelancer billing by the hour or a small business owner running payroll for a few staff, the weekly timesheet is where money is won or lost. A shift that runs past midnight, a break that was or was not paid, a quarter-hour written as ".15" instead of ".25": small slips add up quickly over a month.
This guide shows how to calculate daily and weekly hours from clock-in and clock-out times, how to convert to decimal hours for payroll, how weekly and daily overtime rules differ, and how to turn it all into gross pay. It explains the arithmetic only; overtime entitlement and break rules are set by employment law and your contract, which vary by country and region, so check the rules that apply to you.
Step 1: hours for each day
For each shift:
Hours worked = clock-out − clock-in − unpaid break
Work in minutes to avoid mistakes, then convert back.
Example: in at 08:45, out at 18:30, 45-minute unpaid break.
- 18:30 − 08:45 = 9 hours 45 minutes = 585 minutes
- 585 − 45 = 540 minutes = 9:00 hours
Overnight shifts
If the clock-out time is earlier than the clock-in time, the shift crossed midnight. Add 24 hours to the clock-out time before subtracting.
Example: 22:00 to 06:00 with a 30-minute break.
- 06:00 becomes 30:00; 30:00 − 22:00 = 8 hours
- 8 hours − 30 minutes = 7:30 hours
Step 2: convert to decimal hours
Payroll systems and pay calculations use decimal hours. Divide minutes by 60:
| Hours and minutes | Decimal hours |
|---|---|
| 7:15 | 7.25 |
| 7:30 | 7.50 |
| 7:45 | 7.75 |
| 8:15 | 8.25 |
| 8:20 | 8.33 |
The most common timesheet error is writing 7 hours 45 minutes as "7.45". That is 7 hours and 27 minutes in decimal, and underpays by 18 minutes every time.
Step 3: add up the week
Consider this week:
| Day | In | Out | Break | Hours |
|---|---|---|---|---|
| Mon | 08:30 | 17:00 | 30 min | 8:00 (8.00) |
| Tue | 08:30 | 17:15 | 30 min | 8:15 (8.25) |
| Wed | 08:45 | 18:30 | 45 min | 9:00 (9.00) |
| Thu | 08:30 | 17:00 | 30 min | 8:00 (8.00) |
| Fri | 08:00 | 16:30 | 30 min | 8:00 (8.00) |
| Sat | 09:00 | 13:00 | none | 4:00 (4.00) |
| Total | 45:15 (45.25) |
Step 4: apply an overtime rule
There are two common ways to define overtime.
Weekly overtime
Hours above a weekly threshold, often 40, are overtime.
- Overtime: 45.25 − 40 = 5.25 hours
- Regular: 40 hours
Daily overtime
Hours above a daily limit, often 8, are overtime, added up across the week.
- Tuesday: 8.25 − 8 = 0.25
- Wednesday: 9.00 − 8 = 1.00
- Overtime: 1.25 hours; regular: 44 hours
The same week produces very different overtime depending on the rule. Some jurisdictions use weekly rules, some daily, some both; some contracts are more generous than the legal minimum. The calculator lets you pick one rule at a time.
Step 5: calculate gross pay
Regular pay = regular hours × hourly rate
Overtime pay = overtime hours × hourly rate × multiplier
Gross pay = regular pay + overtime pay
At 22 per hour with a 1.5× overtime multiplier:
| Rule | Regular pay | Overtime pay | Gross pay |
|---|---|---|---|
| Weekly (over 40) | 40 × 22 = 880.00 | 5.25 × 33 = 173.25 | 1,053.25 |
| Daily (over 8) | 44 × 22 = 968.00 | 1.25 × 33 = 41.25 | 1,009.25 |
This is gross pay before tax, social security, pension or other deductions.
Use our time card calculator
The Time Card Calculator handles every step above in your browser.
- Open the Time Card Calculator. Tick each day you worked and enter the Clock in and Clock out times. Shifts past midnight are recognised and labelled.
- Type the unpaid Break (min) for each day. If your breaks are paid, leave it at 0.
- Choose an Overtime rule (Weekly, Daily or None) and set Overtime after (hours per week) or Overtime after (hours per day).
- Enter the Currency symbol, Hourly rate and Overtime × multiplier.
- Read Total hours worked, Regular hours, Overtime hours, Regular pay, overtime pay and Gross pay. Every total is shown in both h:mm and decimal hours. Click Copy timesheet to paste a summary elsewhere.
Other ways to track hours
Spreadsheets
Spreadsheets handle time as fractions of a day. =(C2-B2)*24-D2/60 gives decimal hours from in (B2), out (C2) and break minutes (D2). For overnight shifts, use =MOD(C2-B2,1)*24-D2/60. Spreadsheets are the better option for keeping a running record across many weeks.
Time-tracking and payroll software
Clock-in apps and payroll systems record times automatically and apply configured overtime rules. They are the right choice for teams. A calculator remains useful for checking a payslip or a single week.
Paper timesheets
Still common in many workplaces. Convert to minutes before adding to avoid the decimal trap.
Common mistakes
Treating minutes as decimals
7:45 is 7.75 hours, not 7.45. Always divide minutes by 60.
Forgetting overnight shifts
Subtracting 22:00 from 06:00 without adding 24 hours gives a negative number.
Subtracting paid breaks
Only unpaid breaks should be deducted. If rest breaks are paid under your contract, do not subtract them.
Applying overtime to the wrong total
Weekly overtime is based on the week's total; daily overtime on each day separately. Mixing them, or counting hours twice under both rules, overstates pay.
Rounding each day heavily
Some employers round to the nearest quarter-hour. Whatever the policy, apply it consistently and check it complies with local rules.
To total arbitrary time spans, use the Time Duration Calculator. The Salary Calculator converts between hourly and annual pay, and the Date Calculator helps with pay-period dates.
Frequently asked questions
How do I convert minutes to decimal hours?
Divide the minutes by 60. For example, 7 hours 45 minutes is 7 + 45 ÷ 60 = 7.75 hours.
How is overtime calculated?
With a weekly rule, hours above the weekly threshold are overtime. With a daily rule, hours above the daily limit are added up across the week. Overtime hours are paid at the hourly rate times the multiplier.
How do I calculate hours for a shift that ends after midnight?
Add 24 hours to the clock-out time, then subtract the clock-in time and any unpaid break. The calculator does this automatically when clock-out is earlier than clock-in.
Are breaks paid or unpaid in the calculator?
Break minutes you enter are treated as unpaid and subtracted. If your breaks are paid, leave the field at 0.
Does the calculator show take-home pay?
No. It shows gross pay before taxes and deductions, which vary by country and personal situation.