Time card calculator

Time card calculator

Enter clock in and clock out for each day, take off the unpaid lunch break, and get total hours in h:mm and decimal, with overtime split out and gross pay worked out. Handles weekly or biweekly time cards, overnight shifts, 12 or 24-hour times and optional punch rounding.

  • ✓ Lunch & breaks deducted
  • ✓ Overtime after 40 h/week or 8 h/day
  • ✓ Overnight shifts
  • ✓ Weekly or biweekly

Your numbers

Week 1
Mon –
Tue –
Wed –
Thu –
Fri –
Sat –
Sun –
Week 2
Mon –
Tue –
Wed –
Thu –
Fri –
Sat –
Sun –

Leave days off blank. Clock out before clock in = overnight shift (+1 day). Only enter unpaid meal breaks.


Result

Total hours

–

Log separate tasks instead? Use the timesheet invoice generator. Convert one duration with the time to decimal calculator.

How to use the time card calculator

  1. Pick the pay period and time format. Choose weekly or biweekly, and whether you type times as 24-hour (17:30) or 12-hour (5:30pm). A biweekly card shows two separate workweeks.
  2. Enter clock in and clock out. Fill in each day you worked. Leave days off blank. If clock out is earlier than clock in, the shift is read as finishing the next day (+1 day).
  3. Deduct the unpaid lunch. Type the unpaid break in minutes for each day, for example 30 for a half-hour lunch. Short paid rest breaks stay in the hours, so do not enter them.
  4. Choose rounding and overtime. Leave rounding off to use exact minutes, or round each punch to the nearest 5, 6 or 15 minutes if that is your policy. Pick the overtime rule that applies to you.
  5. Add the hourly rate. Enter the rate and the overtime multiplier (1.5× or 2×) to see regular pay, overtime pay and gross pay. Copy the totals or send them to an invoice.

How the time card calculator works

For each day the calculator takes clock out minus clock in, then subtracts the unpaid break:

hours worked = (clock out − clock in) − unpaid break

The result is kept in whole minutes and shown two ways: as hours and minutes (8:30) and as decimal hours (8.50), which is what payroll sheets and invoices use. Days are added into a weekly total, and overtime is split out week by week. Pay is worked out from the exact minutes and rounded to the cent only at the end.

If clock out is earlier than or equal to clock in, for example 22:00 to 06:00, the shift is treated as running past midnight and marked +1 day. The hours count on the day the shift started.

Worked examples

ShiftUnpaid breakCalculationHours
8:00 – 16:3030 min lunch8 h 30 min − 30 min8:00 = 8.00
9:00am – 5:45pm45 min8 h 45 min − 45 min8:00 = 8.00
7:10 – 15:5020 min8 h 40 min − 20 min8:20 = 8.33
22:00 – 06:00 (+1 day)none2 h before midnight + 6 h after8:00 = 8.00
10:00pm – 6:30am (+1 day)30 min8 h 30 min − 30 min8:00 = 8.00

A 45-hour week with overtime

Five 9-hour days (for example 8:00 to 17:30 with a 30-minute lunch) make 45 hours. With overtime after 40 hours a week, that is 40 regular hours + 5 overtime hours. At 20 an hour and 1.5×: 40 × 20 = 800, plus 5 × 30 = 150, so gross pay is 950.

A biweekly card: 50 hours, then 30 hours

Across the two weeks the total is 80 hours, which looks like no overtime. But weekly overtime is counted per workweek, so week 1 has 10 overtime hours and week 2 has none: 70 regular + 10 overtime. That is why the biweekly mode keeps the two weeks separate instead of averaging them.

Overtime rules: 40 hours a week or 8 hours a day

Under the US federal Fair Labor Standards Act, non-exempt employees are due overtime of at least 1.5 times their regular rate for hours over 40 in a workweek. A workweek is a fixed, repeating period of seven consecutive days, and each week stands on its own, so hours cannot be averaged across a two-week pay period. Federal law does not require overtime just because a single day runs past 8 hours.

Some states and employment contracts do add a daily rule. California, for example, uses daily overtime after 8 hours, with double time in some cases. Pick:

  • Over 40 h per week – the federal weekly rule, and the default.
  • Over 8 h per day – a daily rule only.
  • Both – daily overtime is counted first, then any regular hours over 40 in the week become overtime too. No hour is counted twice.
  • No overtime – for contractors and salaried staff who only need the hours.

You can change the 40 and 8-hour thresholds if your contract or local rules use different numbers. Double time for very long days (such as over 12 hours) is not modelled separately, so check your state rules if that applies. Exempt employees and independent contractors are generally not covered by FLSA overtime at all.

Lunch breaks, rest breaks and rounding

Lunch. Under the federal rules a bona fide meal period, ordinarily 30 minutes or more, during which you are completely relieved from duty is not work time, which is why the calculator deducts it. If you eat at your desk while still working, that time is usually counted as work.

Short rest breaks. US Department of Labor regulations (29 CFR 785.18) treat rest periods of about 5 to 20 minutes as hours worked. Leave coffee breaks in the hours and only enter the unpaid meal break. State rules on when breaks must be given vary.

Rounding. Some employers round each punch to the nearest 5 minutes, tenth of an hour (6 minutes) or quarter hour. The federal regulation (29 CFR 785.48) accepts this only where, over time, it averages out so employees are paid for all the time they actually work. With 15-minute rounding, 8:07 rounds down to 8:00 and 8:08 rounds up to 8:15. Leave rounding off if you want exact minutes.

This page explains the general federal position for information only. It is not legal or payroll advice; your state law, contract or collective agreement may give different rights.

Billing the hours on an invoice

Freelancers and contractors can use the totals to bill a client. Use the decimal hours as the invoice quantity and your rate as the unit price, with overtime or out-of-hours time on a separate line at its own rate. The Put on an invoice button sends the regular and overtime lines to the free invoice generator, ready to edit and download as a PDF.

If you log several dated tasks per day instead of one shift, the timesheet invoice generator lets you enter each entry with its own description and turns them into invoice lines. To convert a single duration such as 7 hours 45 minutes, use the time to decimal calculator, and to set the rate itself, try the hourly rate calculator.

Glossary

Workweek
A fixed, repeating block of seven consecutive days (168 hours) used to count weekly overtime.
Overtime multiplier
How much more overtime hours pay than regular hours, such as 1.5× (time and a half) or 2× (double time).
Punch rounding
Moving each clock in and clock out to the nearest 5, 6 or 15 minutes under an employer policy.
Decimal hours
Hours written as a decimal number, such as 8.25 for 8 hours 15 minutes.

Frequently asked questions

How do I calculate hours worked with a lunch break?
Subtract clock in from clock out, then take off the unpaid lunch. 8:00 to 16:30 is 8 hours 30 minutes; minus a 30-minute lunch that is 8 hours, or 8.00 in decimal.
How does the calculator handle overnight shifts?
If clock out is earlier than clock in, it assumes the shift ended the next day. 22:00 to 06:00 is 8 hours, marked +1 day, and counted on the day the shift started.
How is overtime calculated on a time card?
With the weekly rule, hours over 40 in a workweek are overtime. A 45-hour week is 40 regular hours plus 5 overtime hours, paid at your rate times the multiplier, usually 1.5.
Can overtime be averaged over a biweekly pay period?
Not under the federal FLSA. Each workweek is counted on its own, so 50 hours in week one and 30 in week two gives 10 overtime hours even though the total is 80.
Are short breaks paid?
Under US federal rules, rest breaks of about 5 to 20 minutes count as hours worked (29 CFR 785.18). Bona fide meal periods, usually 30 minutes or more with no duties, do not. State laws may add rules, so check yours.
Can I type times in 12-hour format?
Yes. Choose 12-hour and type times such as 9:00am or 5:30pm (9a and 5:30p also work). In 24-hour mode type 09:00 or 17:30; am/pm is still understood.
What does rounding to 15 minutes do?
Each clock in and clock out moves to the nearest quarter hour, so 8:07 becomes 8:00 and 8:08 becomes 8:15. Choose None to keep exact minutes.
How do I convert my total hours to decimal?
Divide the minutes by 60 and add the hours. The calculator shows both: 38:45 is 38.75 hours.
Is my time card saved?
Only in your own browser, so a refresh keeps your entries. Nothing is uploaded, and Reset clears it.

Related topics

  • time card calculator
  • time card calculator with lunch
  • timecard calculator
  • hours worked calculator
  • overtime calculator
  • biweekly time card
  • clock in clock out calculator
  • work hours calculator