Time Card Calculator

Small Business & Payroll

Use it as a weekly timesheet or work hours calculator: pick how many days you worked, then enter each day’s clock-in and clock-out time and your unpaid lunch break. You get the hours for every day, the weekly total in hours:minutes and in decimal hours, and your pay if you add an hourly rate.

A clock-out earlier than the clock-in counts as an overnight shift.

Unpaid lunch or meal break in minutes. Enter 0 if your breaks are paid.

Leave at 0 to see hours only.

Use a period for decimals, like 12.5. Commas for thousands are fine. The result updates as you type.Decimals with a period, like 12.5

Your entries stay on your device. The math runs right in your browser.

Result: Total hours worked (h:mm)

40:00 hrs

You worked 40:00 hrs on this time card, which is 40.00 hours in decimal hours, after 150 min of unpaid breaks.

  • Total in decimal hours: 40.00 hours
  • Pay at your hourly rate: $0.00
  • Hours over 40 (h:mm): 0:00 hrs
  • Day 1: 8:00 hrs
  • Day 2: 8:00 hrs
  • Day 3: 8:00 hrs
  • Day 4: 8:00 hrs
  • Day 5: 8:00 hrs

Step by step

40:00 hrs = 40.00 hours

  1. Each day: clock-out minus clock-in minus the unpaid break. Day 1 comes to 8:00 hrs.
  2. All days added: 40:00 hrs, with 150 min of unpaid breaks already taken out.
  3. In decimal hours (minutes / 60): 40.00 hours. Time over 40 hours: 0:00 hrs.
  4. Pay at $0.00 an hour: 40 × 0 = $0.00.

Formula

hours per day = clock out - clock in - unpaid break
weekly hours = sum of the daily hours
decimal hours = minutes / 60
pay = decimal hours × hourly rate
clock in, clock out
the times you started and stopped work that day
unpaid break
the unpaid meal or rest time you took, in minutes
decimal hours
hours as a decimal number, 7:45 = 7.75
hourly rate
your pay per hour in dollars

How it works

For each day the calculator takes the clock-out time minus the clock-in time, then subtracts the unpaid break. A shift from 9:00 AM to 5:30 PM is 8 hours 30 minutes on the clock; with a 30 minute unpaid lunch you worked 8:00 hours. If the clock-out time is earlier than the clock-in time, the shift ran past midnight, so 10:00 PM to 6:30 AM counts as 8 hours 30 minutes on the clock. The days are then added up for the week.

You see the total two ways. Hours:minutes (40:15) is how a time clock or a paper time card shows it. Decimal hours (40.25) is what payroll uses, because only a decimal number can be multiplied by an hourly rate: 15 minutes is a quarter of an hour, so 0.25, not 0.15. Enter an hourly rate and the calculator multiplies the decimal total by it. That is straight-time pay before taxes; it does not add an overtime premium.

Under the federal Fair Labor Standards Act (FLSA), nonexempt employees earn at least time and a half for hours over 40 in a workweek, so the calculator also shows how much of your week went past 40 hours. To price those hours, use the overtime calculator. Some states, California among them, also count overtime by the day. To convert a single figure such as 7:45 into decimal hours, the decimal hours converter does just that. If your time clock prints military time, such as 1730 for 5:30 PM, the military time converter turns it into AM and PM first.

The formula

Times are counted in minutes after midnight, so 9:00 AM is minute 540 and 5:30 PM is minute 1,050. The difference, 510 minutes, minus a 30 minute break leaves 480 minutes, which is 8 hours. An overnight shift gets 1,440 minutes (24 hours) added to its clock-out time before the subtraction.

For decimal hours, divide minutes by 60: 2,665 minutes are 44.42 hours. Paid breaks count as work time, so enter 0 for them. Under federal rules, short rest breaks of about 5 to 20 minutes are paid work time, while a bona fide meal period of usually 30 minutes or more, when you are fully relieved from duty, does not have to be paid.

Example

A five-day week from 9:00 AM to 5:30 PM with 30 minute lunches: how many hours is that?

  1. One day: 9:00 AM to 5:30 PM is 8 hours 30 minutes on the clock. Minus the 30 minute lunch, that is 8:00 hrs.
  2. Five days: 5 × 8 hours = 40:00 hrs, or 40.00 hours in decimal hours. Nothing goes over 40 hours.
  3. At $20.00 an hour: 40 × $20 = $800.00 before taxes.

You worked 40:00 hrs (40.00 hours) on this time card. At $20.00 an hour that comes to $800.00 before taxes and overtime premiums.

Load this example into the calculator

Frequently asked questions

How do I calculate the hours on my time card?

For each day, subtract the clock-in time from the clock-out time and take off any unpaid break. Then add the days together. Example: 8:15 AM to 4:45 PM is 8 hours 30 minutes; minus a 30 minute lunch, 8 hours. Five such days make 40 hours.

How do I convert minutes to decimal hours for payroll?

Divide the minutes by 60. 15 minutes are 0.25 hours, 30 minutes 0.5, 45 minutes 0.75 and 20 minutes about 0.33. So 38 hours 45 minutes are 38.75 hours. Multiply that decimal number by your hourly rate to get your pay.

Should I count my lunch break?

Only if it is paid. Under federal rules a bona fide meal period, usually 30 minutes or more with you fully relieved from duty, is not work time. Short breaks of about 5 to 20 minutes are work time and must be paid, so do not subtract them. Some states have their own meal and rest break rules.

How does the calculator handle overnight shifts?

When the clock-out time is earlier than the clock-in time, it assumes the shift crossed midnight. 10:00 PM to 6:30 AM counts as 8 hours 30 minutes on the clock. A shift longer than 24 hours cannot be entered on one line; split it into two days.

Does it calculate overtime pay?

It shows how many hours went past 40 in the week, but the pay figure is straight time: total hours times your rate. Federal law requires at least 1.5 times the regular rate for hours over 40 for nonexempt employees. The overtime calculator works out that premium.

Can I use it for a biweekly timesheet?

Yes, but enter each workweek separately. Overtime under the FLSA is counted per workweek, a fixed period of 7 consecutive days, and two weeks cannot be averaged. Add the two weekly totals for your pay period afterward.

Is this calculator free, and is my time card data saved?

It is free with no sign-up. The math runs in your browser and your times are not sent anywhere or stored. To keep a record, copy the link or the result; your employer’s time records are the official ones.

Last updated: Responsible editor: Jared Alan
Checked against 12 test cases · How we test
Sources: