Skip to content
Free tool

Hours calculator and time card calculator

Enter a start time, end time and break for each day. The calculator handles overnight shifts and shows daily and weekly totals in hours and minutes and in decimal hours, ready for payroll.

Period length:

Use 24-hour time, e.g. 07:30.

  1. Mon
    Total–
  2. Tue
    Total–
  3. Wed
    Total–
  4. Thu
    Total–
  5. Fri
    Total–
Total hours (Hours and minutes)
0:00
Decimal hours
0.00

Runs in your browser. Nothing you enter is sent to a server.

How to calculate hours worked

  1. Enter start and end

    Type the clock-in and clock-out time for each day in 24-hour format, such as 07:30 and 16:00.

  2. Subtract the break

    Enter unpaid break minutes. The calculator subtracts them from the time between start and end.

  3. Handle overnight shifts

    If the end time is earlier than the start time, the shift is treated as crossing midnight, so 22:00 to 06:00 is 8 hours before breaks.

  4. Read the totals

    Each row shows hours worked. The weekly total appears in hours and minutes and in decimal hours, and as gross pay if you add an hourly rate.

How the calculation works

Hours worked for a day are the minutes between start and end, minus the unpaid break. For example, 07:30 to 16:00 is 8 hours 30 minutes; minus a 30-minute break, that is 8 hours worked.

When the end time is earlier than or equal to the start time, the shift crosses midnight. A night shift from 22:00 to 06:00 with a 30-minute break is 7 hours 30 minutes worked. The calculator does this automatically and marks the row as overnight.

All arithmetic is done in whole minutes, so there are no rounding errors from adding up fractions of an hour.

Bi-weekly hours calculator (14 days)

Many employers pay every two weeks, so a time card often covers 14 days instead of 7. Choose "2 weeks (bi-weekly)" above the time card and the calculator shows 14 rows, Monday of week 1 to Sunday of week 2. You get a subtotal for each week and a total for the whole pay period, in hours and minutes and in decimal hours.

Weekly subtotals matter because overtime is usually counted per week, not per pay period. If week 1 has 44 hours and week 2 has 36, the bi-weekly total is 80 hours, but 4 of those hours can still be overtime in week 1. Check the subtotals against your overtime threshold, or use the overtime calculator for each week.

Hours and minutes vs decimal hours

Time cards are usually written in hours and minutes (8:15), but payroll and invoicing need decimal hours (8.25). Mixing them up is one of the most common payroll errors: 8:30 is 8.5 hours, not 8.3.

To convert, divide the minutes by 60 and add them to the hours. 45 minutes is 0.75 hours, 20 minutes is 0.33 hours. For a full table, use the minutes to decimal converter.

When a calculator is not enough

A calculator is great for checking a single time card. For a team, retyping times every week costs hours and invites mistakes. TimeTracking records start, end and breaks on the phone, totals them automatically and exports approved hours to payroll, free for up to 5 users.

Frequently asked questions

How do I calculate hours worked between two times?

Subtract the start time from the end time, then subtract unpaid breaks. 08:00 to 17:00 with a 60-minute break is 9 hours minus 1 hour, so 8 hours worked.

How do I calculate an overnight shift?

If the end time is earlier than the start time, add 24 hours to the end time before subtracting. 22:00 to 06:00 becomes 22:00 to 30:00, which is 8 hours before breaks.

How do I convert hours and minutes to decimal hours?

Divide the minutes by 60 and add the result to the hours. 7 hours 45 minutes is 7 + 45/60 = 7.75 decimal hours.

Are breaks paid?

That depends on your contract and local law. This calculator subtracts the break minutes you enter, so leave the break at 0 if your breaks are paid.

Is this time card calculator free?

Yes. It is free to use, needs no sign-up and runs entirely in your browser. Nothing you enter is sent to a server.

Try TimeTracking free

Free for up to 5 users. Core from €1 per user per month, everything included.