Time Card Calculator

Total your work hours for the week or a biweekly pay period: enter the time in, time out and unpaid lunch break for each day, and it adds up the hours and minutes worked, with the total in decimal hours. A day with two in and out punches, such as a split shift or a lunch you clock out for, gets a second pair of times, and an hourly rate gives the gross pay. It is free for employees and employers, with no sign-up.

Monday

8:00 (8.00)

Tuesday

8:00 (8.00)

Wednesday

8:00 (8.00)

Thursday

8:00 (8.00)

Friday

8:00 (8.00)

Saturday

—

Sunday

—

40 hours worked

Decimal hours:
40.00
Hours:minutes:
40:00
Days worked:
5

Need to convert a total to decimal hours or back? Use the hours to decimal calculator.

How DateMath totals a time card

DateMath works out each day on its own: time out minus time in, with a time out earlier than the time in counted on the next day, plus the second in and out pair when there is one, minus that day's unpaid break. It adds the exact minutes of every day, converts the total to decimal hours only at the end, and multiplies the exact hours by the rate, so no rounding builds up from day to day.

It follows the US hours-worked rules. Their rules and sources, and how DateMath tests its results, are on the About page.

Work hours for the week

The time card calculator adds up the hours you worked over a week or a two-week pay period. Enter each day's time in, time out and unpaid break, and it works out the hours and minutes worked per day, the total for the week, and the same total in decimal hours for payroll. Days you leave empty count as days off; a day with only one of the two times, or a break longer than the shift, is left out of the total and named under the result, so a typo never slips into your hours.

Decimal hours

The decimal total is in hundredths of an hour, the form most payroll systems want: 8 hours 15 minutes is 8.25, not 8.15. DateMath adds the exact minutes first and rounds only the total, so the decimal total and the hours and minutes always agree to the minute.

A time card worked out

A week with a different break each day, a half day on Thursday and a night shift on Friday that ends the next morning:

A sample time card, computed with the time card calculator
DayTime inTime outUnpaid breakHours:minutesDecimal hours
Monday8:00 AM4:30 PM30 minutes8:008.00
Tuesday8:15 AM5:05 PM45 minutes8:058.08
Wednesday7:50 AM4:20 PM30 minutes8:008.00
Thursday8:00 AM12:30 PMNone4:304.50
Friday10:00 PM6:20 AM (next day)30 minutes7:507.83
Total36:2536.42

The week comes to 36 hours, 25 minutes, or 36.42 decimal hours. Friday's shift is 7 hours, 50 minutes after its break even though its time out is the smaller number, because DateMath counts a time out earlier than the time in on the next day.

How to calculate hours worked by hand

  1. Work out each day. Subtract the time in from the time out on the 24-hour clock, adding 24 hours to the time out when the shift passes midnight. The hours calculator shows this step for one shift.
  2. Take off the unpaid break in minutes.
  3. Add up the days, hours and minutes separately, then turn every 60 minutes into an hour.
  4. Convert to decimal hours at the end: divide the minutes by 60.

For the sample week, 8:00, 8:05, 8:00, 4:30 and 7:50:

  • Hours: 8 + 8 + 8 + 4 + 7 = 35.
  • Minutes: 0 + 5 + 0 + 30 + 50 = 85, which is 1 hour, 25 minutes. Carry 1 hour.
  • Total: 35 + 1 hours and 25 minutes = 36 hours, 25 minutes.

In decimal hours that is 36.42, because 25 ÷ 60 = 0.4167.

Lunch and other unpaid breaks

Subtract only the breaks you are not paid for. Under the federal Fair Labor Standards Act rules, rest breaks of about 5 to 20 minutes count as hours worked, while a bona fide meal period, ordinarily 30 minutes or more and free of all duties, does not. Many states have their own break rules, and your employer's policy decides which breaks are paid, so enter what your time card shows as unpaid.

The same 5-day week of 9:00 AM to 5:30 PM shifts with different lunch breaks:

Hours worked in a 5-day week, by lunch break
Unpaid lunchPer dayPer weekDecimal hours per week
No break8 hours, 30 minutes42 hours, 30 minutes42.50
30 minutes8 hours40 hours40.00
45 minutes7 hours, 45 minutes38 hours, 45 minutes38.75
60 minutes7 hours, 30 minutes37 hours, 30 minutes37.50

With more than one unpaid break in a day, add them up and enter the sum in that day's Break field. If you punch out for lunch instead, use a second in and out pair, as below. For a biweekly period, switch to Two weeks and each of the 14 days keeps its own break.

More than one time in and out per day

Some days have more than one punch: a split shift, a lunch you clock out for, or two jobs in one day. Tick "Two in and out times per day" and every day gets a second pair. DateMath works out each pair on its own, adds them, and takes off the Break field only once, so the time between the pairs is never counted.

Days with two in and out punches, computed with the time card calculator
First pairSecond pairUnpaid breakHours worked
8:00 AM to 12:00 PM12:45 PM to 5:00 PMNone8 hours, 15 minutes (8.25)
6:00 AM to 10:30 AM4:00 PM to 8:00 PMNone8 hours, 30 minutes (8.50)
7:00 AM to 11:30 AM12:00 PM to 4:15 PM15 minutes8 hours, 30 minutes (8.50)
5:00 PM to 9:00 PM10:00 PM to 2:30 AM (next day)None8 hours, 30 minutes (8.50)

A day needs both times of each pair it uses; a pair left empty is skipped, so the same card can mix one-punch and two-punch days. For more than two pairs in a day, add the day's spans in the hours and minutes calculator.

Adding decimals instead: round only at the end

Minutes carry over at 60, not at 100, which is where most timesheet mistakes happen. If you add decimal hours instead, round only the total: 6:40, 8:15, 7:55 and 9:10 rounded to two places each add up to 32.01, while their exact total is 32.00. For amounts of time rather than clock times, the calculator's Add up hours tab adds up to eight of them; to add seconds or take amounts away, use the hours and minutes calculator.

Hours for a biweekly pay period

How many hours do you work a week? Multiply the hours of a day by the days you work, or let the calculator add your real days. For a biweekly pay period, use the Two weeks tab: 14 days, each with its own times and lunch, and a result with each week and the period's total. These are common schedules, with breaks already taken off:

Decimal hours per week, two weeks and 52 weeks
SchedulePer weekPer two weeksPer 52 weeks
5 days of 8 hours40.0080.002,080
5 days, 9:00 to 5:00 with a 30-minute lunch37.5075.001,950
4 days of 10 hours40.0080.002,080
3 days of 12 hours36.0072.001,872
6 days of 8 hours48.0096.002,496
5 days of 4 hours20.0040.001,040

A 40.00-hour week therefore adds up to 80.00 hours in a two-week period and 2,080 hours over 52 weeks, before any paid time off is counted.

From hours worked to gross pay

Gross pay is the decimal hours times the hourly rate. Enter a rate and the calculator multiplies the exact hours, then rounds the pay to the cent. For the sample week of 36 hours, 25 minutes at $17.50 an hour that is $637.29. Rounding the hours to 36.42 first gives $637.35, so a payroll system that rounds hours before it multiplies can differ by a few cents.

The result is gross pay only: no taxes, deductions, tips or overtime premium are applied. Overtime and pay rules depend on federal and state law and on your contract, so check those for anything beyond hours × rate.

Time clock rounding: why a pay stub can differ

The time card counts exact minutes. Some employers round each clock punch instead, to the nearest 5 minutes, tenth of an hour (6 minutes) or quarter hour. The federal rules accept this only if it averages out so that employees are paid for all the time they actually work (29 CFR 785.48). This is how a few punches round to the nearest step:

Clock punches rounded to the nearest 5, 6 and 15 minutes
PunchNearest 5 minutesNearest tenth (6 minutes)Nearest quarter hour
8:02 AM8:00 AM8:00 AM8:00 AM
8:04 AM8:05 AM8:06 AM8:00 AM
8:07 AM8:05 AM8:06 AM8:00 AM
8:08 AM8:10 AM8:06 AM8:15 AM
8:13 AM8:15 AM8:12 AM8:15 AM
8:22 AM8:20 AM8:24 AM8:15 AM
8:26 AM8:25 AM8:24 AM8:30 AM

To check a rounded time card, enter the rounded times; to see what you actually worked, enter the real punches.

Frequently asked questions

How do I calculate hours worked on a time card?
For each day, subtract the time in from the time out and take off the unpaid break, then add the days together. Enter the times and breaks for each day and the calculator totals the week in hours and minutes and in decimal hours.
How many hours did I work this week?
Enter each day's time in, time out and unpaid break; the total is your week. Five days of 9:00 AM to 5:30 PM with a 30-minute lunch is 40 hours.
How do I take a lunch break off a day's hours?
Enter the lunch break in minutes in that day's Break field; it is subtracted from the time between in and out. 8:00 AM to 5:00 PM with a 60-minute lunch is 8 hours worked, and with a 30-minute lunch 8 hours 30 minutes.
Which breaks should I subtract?
Only unpaid ones. Under the federal Fair Labor Standards Act rules, rest breaks of about 5 to 20 minutes count as work time, while bona fide meal periods, ordinarily 30 minutes or more and free of all duties, do not (29 CFR 785.18 and 785.19). State law or your employer's policy can add rules of their own.
How do I add up hours and minutes?
Add the hours and the minutes separately, then turn every 60 minutes into an hour: 7:45 + 8:20 + 6:50 is 21 hours and 115 minutes, which is 22 hours 55 minutes. The time card's Add up hours tab totals up to eight amounts in hours and minutes; to add seconds as well, or to subtract or divide time, use the hours and minutes calculator.
How do I calculate hours for a two-week pay period?
Switch the calculator to Two weeks, the biweekly time card: it gets a second set of seven days, each with its own lunch break, and the result shows each week's hours and the total for the period. Two weeks of 40 hours is 80 hours.
Can I enter more than one time in and out per day?
Yes. Tick "Two in and out times per day" and each day gets a second pair, for a split shift or a lunch you clock out for: 8:00 AM to 12:00 PM and 12:45 PM to 5:00 PM is 8 hours 15 minutes worked. The time between the pairs isn't counted, so leave the Break field at 0 unless you took another unpaid break.
How do I calculate my scheduled hours for the week?
Enter each scheduled shift as if you had worked it, with its start, end and planned unpaid break; the total is the week's scheduled hours. Four shifts of 7:00 AM to 5:30 PM with a 30-minute lunch schedule 40 hours.
How do I calculate my pay from my hours?
Multiply the decimal hours by your hourly rate: 37.5 hours at $18 an hour is $675. Enter the rate and the calculator shows the gross pay, before taxes, deductions and any overtime premium.
Why use decimal hours instead of hours and minutes?
Because a rate multiplies decimals, not minutes: 7 hours 45 minutes is 7.75 hours, so at $20 an hour it pays $155. Reading 7:45 as 7.45 hours would pay $149, the pay for 18 minutes less.
Can I enter a shift that ends after midnight?
Yes. Enter the time out as it is; when it is earlier than the time in, the calculator counts it on the next day, so 10:00 PM to 6:00 AM is 8 hours.
Does it round clock times?
No, the time card counts exact minutes. Some employers round punches to the nearest 5, 6 or 15 minutes, which the federal rules allow when it evens out over time (29 CFR 785.48), so a pay stub can differ from the calculator by a few minutes. To see one rounded shift, the hours calculator can round both punches.