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.
Use 24-hour time, e.g. 07:30.
Runs in your browser. Nothing you enter is sent to a server.
How to calculate hours worked
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.
Subtract the break
Enter unpaid break minutes. The calculator subtracts them from the time between start and end.
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.
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.
Related pages
Weekly timesheet
Seven days on one sheet with start, end, break and hours, signed by employee and manager.
Minutes to decimal
Convert h:mm to decimal hours and back, with a printable 1 to 60 minute chart.
Overtime calculator
Split hours into regular time and overtime per week or per day, with pay at 1.5x or 2x.
Break and rest checker
Check a shift against Dutch and German minimum break and 11-hour daily rest rules.
Mobile timer
A timer that keeps running after a restart, plus an offline queue. Lock screen and widgets coming soon.
Payroll exports
Approved hours out in the format payroll expects. SD Worx-format and configurable CSV/XLSX today.
See pricing
Free for up to 5 users. Core from €1 per user per month, everything included.
Try TimeTracking free
Free for up to 5 users. Core from €1 per user per month, everything included.