Time Card Calculator

Total your work hours for the week: enter the time in, time out and unpaid break for each day, and the time card calculator adds up the hours and minutes worked, with the total in decimal hours. Switch to two weeks for a biweekly pay period, and add an hourly rate to see the gross pay.

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 to use the time card calculator

  1. 1

    Enter each day

    For every day you worked, enter the time in, the time out and the unpaid break in minutes. Leave days off empty.

  2. 2

    Pick the period

    Keep one week, switch to two weeks for a biweekly pay period, or choose Add up hours to total amounts of time.

  3. 3

    Read the total

    See the hours worked per day and in total, in hours and minutes and in decimal hours; add a rate for the gross pay.

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, 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.

  • US hours-worked rules. DateMath counts exact minutes and subtracts only the breaks you enter. The federal Fair Labor Standards Act rules count rest breaks of about 5 to 20 minutes as work time but not bona fide meal periods (ordinarily 30 minutes or more), and allow rounding clock times to the nearest 5 minutes, tenth or quarter of an hour only if employees are still paid for all the time they work. Source: 29 CFR 785.18, 29 CFR 785.19, 29 CFR 785.48.

DateMath's date math is tested against more than 100 cases worked out by hand. Every worked example and table on the site is computed with the same code the calculators run, so a page and its calculator can't disagree.

Time card calculator: 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. It is a free work hours calculator: no account, nothing to install, and the times you enter stay in your browser.

What you enter

  • Time in and time out for each day you worked, to the minute. A time out earlier than the time in is on the next day, for shifts that end after midnight.
  • Break: the unpaid minutes that day, such as a lunch break. Leave it empty or 0 when there was none.
  • Hourly rate (optional), for the gross pay.

Days you leave empty count as days off. A day with only one of the two times, or with 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.

What you get

Each row shows that day's hours as hours:minutes with decimal hours in brackets. The result gives the week's hours and minutes worked, the decimal hours, the days worked and, with a rate, the gross pay. In the two-week view you also see each week's total. To add up amounts of time, such as 7:45 + 8:20, instead of clock times, use the Add up hours tab.

A time card worked out: hours and minutes worked in a week

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.

Work hours calculator with lunch 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.

How to add up hours and minutes

Adding times is the step where most timesheet mistakes happen, because minutes carry over at 60, not at 100. Add the hours and the minutes in separate columns, then carry. Example: 6:40, 8:15, 7:55 and 9:10.

  • Hours: 6 + 8 + 7 + 9 = 30.
  • Minutes: 40 + 15 + 55 + 10 = 120, which is 2 hours. Carry 2 hours.
  • Total: 30 + 2 hours and 0 minutes = 32 hours.

You can also convert each amount to decimal hours, add the decimals and convert back. Round only at the end: the four amounts rounded to two places add up to 32.01, while their exact total is 32.00. The hours to decimal calculator converts each amount, and the time card calculator adds exact minutes for you.

Add up hours and minutes with the calculator

For amounts of time rather than clock times, switch the calculator to Add up hours: type the hours and minutes of each amount, up to eight, and it adds them, carries the minutes into hours and gives the total as hours and minutes, hours:minutes and decimal hours, with the gross pay when you enter a rate. It works as an add hours calculator for anything you track in hours and minutes, not only shifts.

Hours per week and per two-week 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, switch to two weeks: the result shows 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

DateMath 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.

Who uses a time card calculator

  • Hourly employees checking a pay stub against their own hours.
  • Managers and small business owners totaling a team's weekly timesheets.
  • Freelancers and contractors turning a week of sessions into billable decimal hours.
  • Caregivers, babysitters and shift workers whose days include nights or split breaks.

For a single shift, the hours calculator is quicker; to convert a total between hours:minutes and decimals, the hours to decimal calculator; and to count the working days in a pay period, the business days calculator.

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 do I calculate work hours with a lunch break?
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 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 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. In the time card calculator, choose Add up hours, type each amount's hours and minutes, and it gives the total in hours and minutes and in decimal hours.
How do I calculate hours for a two-week pay period?
Switch the calculator to Two weeks: it gets a second set of seven days, and the result shows each week's hours and the total for the period. Two weeks of 40 hours is 80 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 the time card calculator round clock times?
No, it 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.

More date and time tools