Guide · Horas

Time card calculator: weekly hours with lunch, overtime and pay

Quick answer

This time card calculator adds up a week or two of clock-in and clock-out times, subtracts unpaid lunch, and gives the total in hours and minutes and in decimal hours. It splits regular hours from overtime, after 40 hours a week under the federal rule or daily in California, and multiplies by your hourly rate.

Updated 6 min readGambit Studio

Time card calculator

Week 1

Mon-
Tue-
Wed-
Thu-
Fri-
Sat-
Sun-

Leave a day empty if you didn't work. Shifts that end after midnight count on the day they started. Nothing you type is saved or sent anywhere.

How the calculator counts your week

  1. Each day: out minus in, minus the time between lunch out and lunch in. With no lunch punches, it deducts the fixed lunch you picked, or nothing.
  2. Night shifts: when the out time is earlier than the in time, the shift ended after midnight and 24 hours are added, so 10:00 PM to 6:30 AM is 8 h 30 min.
  3. Rounding (optional): each punch is rounded before the day is added up, to the nearest 5, 6 or 15 minutes, the three steps the federal rule on time clocks names (29 CFR 785.48).
  4. The week: the days are added in minutes and only then turned into decimal hours (minutes ÷ 60), so small roundings don't pile up.
  5. Overtime: federal overtime is due for hours over 40 in a workweek (DOL Fact Sheet #23); the California option adds the daily rules (California DIR). Each week is checked on its own, even on a biweekly card.

The example week, worked out

This is the week the calculator loads when you tap Load example, at $20 an hour. One long Wednesday is enough to make the federal and the California result differ.

DayInLunchOutHoursDecimal
Mon8:00 AM12:00 to 12:305:00 PM8:308.50
Tue7:55 AM12:00 to 12:305:10 PM8:458.75
Wed7:00 AM12:00 to 12:308:30 PM13:0013.00
Thu8:00 AM12:00 to 12:455:00 PM8:158.25
Fri8:00 AM12:00 to 12:304:30 PM8:008.00
Week46:3046.50
Federal ruleCalifornia rule
Regular hours40.0040.00
Overtime (1.5x)6.50 (everything over 40)5.50 (0.5 Mon + 0.75 Tue + 4 Wed + 0.25 Thu)
Double time (2x)01.00 (Wednesday's 13th hour)
Gross pay at $20/h$800 + $195 = $995.00$800 + $165 + $40 = $1,005.00

In California, the hours already paid as daily overtime are not counted a second time toward the 40-hour weekly threshold (DLSE opinion letter 2000.01.19); that is why the calculator adds only the first 8 hours of each day when it checks the week.

What to subtract and what to keep

BreakFederal rule (FLSA)On the time card
Rest break of 5 to about 20 minutesCounts as hours workedDon't subtract it
Meal break of 30 minutes or more, fully off dutyGenerally not hours workedSubtract it (lunch out and lunch in)
Lunch at your desk, still answering callsCounts as hours workedDon't subtract it

Short breaks of about 5 to 20 minutes "must be counted as hours worked", while bona fide meal periods, usually 30 minutes or more, are not, as long as you are completely relieved from duty (DOL Fact Sheet #22). State law can add rules on top; more in are lunch breaks paid.

Decimal hours for payroll

Payroll multiplies decimal hours, not hours and minutes: 7 h 45 min is 7.75 hours, not 7.45. Divide the minutes by 60.

Minutes510152030404550
Decimal0.080.170.250.330.500.670.750.83

Every minute from 1 to 60 is in the minutes to decimal chart.

Rounding: when the 7-minute rule applies

Rounding is optional for employers. When they do it, the federal regulation accepts rounding to the nearest 5 minutes, tenth or quarter of an hour, as long as over time it doesn't fail to pay employees for time actually worked (29 CFR 785.48). With quarter hours, 1 to 7 minutes round down and 8 to 14 round up. Pick the same option as your employer to match your paycheck; see the 7-minute rule.

Biweekly time cards

Switch the pay period to 2 weeks and the calculator shows week 1, week 2 and the period. The weeks are never averaged: 50 hours plus 30 hours is 80 hours, yet week one still has 10 overtime hours, because federal overtime is counted per workweek (DOL Fact Sheet #23). Step by step in biweekly time card.

The time card app we're building

Hours Calculator: Time Card is an app Gambit Studio is building for iPhone; it is not on the App Store yet. It will log clock-in, clock-out and the break for each day, total the week and the month on its own, keep an hour bank against your contracted schedule, show overtime with the estimated pay from your hourly rate and export a PDF time card, with no account and offline. Leave your email and we will tell you when it launches.

Sources

  1. U.S. Department of Labor, Wage and Hour Division: Fact Sheet #22, Hours Worked Under the FLSA
  2. U.S. Department of Labor, Wage and Hour Division: Fact Sheet #23, Overtime Pay Requirements of the FLSA
  3. 29 CFR § 785.48, Use of time clocks (Cornell Law School, Legal Information Institute)
  4. California Department of Industrial Relations, Labor Commissioner's Office: Overtime FAQ
  5. California DLSE opinion letter 2000.01.19 (daily overtime hours are not counted again toward weekly overtime)

Frequently asked questions

What people ask most about this, answered with the source.

How do I calculate my time card with lunch?
For each day, subtract the in time from the out time, then subtract the unpaid lunch (lunch in minus lunch out). 8:00 AM to 5:00 PM with lunch from 12:00 to 12:30 is 8 hours 30 minutes, or 8.50 hours. Add the days for the week.
How do you convert time card minutes to decimals?
Divide the minutes by 60: 15 minutes is 0.25, 30 is 0.50, 45 is 0.75. So 7 hours 45 minutes is 7.75 hours. Convert at the end of the day or week, not punch by punch.
Is a time clock calculator the same as a time card calculator?
Yes. Both take clock-in and clock-out punches and add up the hours worked. This one also handles lunch punches, rounding, overtime and pay.
How do I calculate hours worked for 2 weeks?
Total each week on its own, then add the two weeks. Check overtime week by week: under federal law, hours over 40 in each workweek are overtime, and two weeks are never averaged.
Does the time card calculator round to the quarter hour?
Only if you choose it. The rounding option rounds each punch to the nearest 5, 6 or 15 minutes; with 15, 1 to 7 minutes round down and 8 to 14 round up.
How is overtime calculated on a time card in California?
Hours over 8 in a day (up to 12) and over 40 in the week are paid at 1.5 times, and hours over 12 in a day at double time, with special rules for the 7th consecutive workday. Daily overtime hours are not counted again for the weekly 40.

Keep reading

More guides about the same app, step by step and sourced.

HorasComing soon to the App Store
Notify me at launch