Time Punch Calculator

How many hours did you work from your punch times?

Calculate exactly how many hours you worked from your punch times. Enter your clock-in time, clock-out time, and any break duration — see total hours worked and gross pay if you enter your hourly rate. Assumes you worked continuously except for specified breaks.

Updated June 2026 · How this works

Worth knowing
How It Works
The formula, explained simply

Most payroll errors happen because someone miscounted punch times. You clock in at 8:47 AM, clock out at 5:23 PM, take a 45-minute lunch — how many hours is that exactly? Without a calculator, people round to the nearest quarter hour or make arithmetic mistakes that cost them money.

This calculator converts your punch times to a 24-hour format internally, subtracts your break time, and gives you the precise hours and minutes worked. It handles overnight shifts automatically by adding 24 hours when your end time appears to be earlier than your start time. The key assumption is that you worked continuously between your punch times except for the breaks you specify.

For payroll purposes, most employers round to the nearest 15 minutes (0.25 hours), 6 minutes (0.1 hours), or pay exact minutes. Some round down if you clock in late but round up if you clock out early. Check your employee handbook for your company's specific rounding policy — it can affect your weekly pay by several dollars.

When To Use This
Right tool, right situation

Use this calculator to verify your timesheet before submitting it, especially for hourly positions where accurate time tracking affects your pay. It's particularly valuable for shift workers, part-time employees, and anyone working irregular hours who needs to track multiple short shifts per week.

The calculator is essential for contractors and freelancers who bill by the hour but don't use formal time tracking software. Print or screenshot your results to include with invoices as documentation of hours worked.

Employers can use this tool to audit timesheet accuracy, resolve disputes about hours worked, or train payroll staff on proper time calculations. It's also useful for scheduling managers who need to calculate labor costs when planning shifts.

Common Mistakes
Why results sometimes look wrong

The biggest mistake is forgetting about overnight shifts. If you enter 11:00 PM to 7:00 AM and get a negative result, you probably used a calculator that doesn't handle date changes. Always verify that overnight calculations show positive hours.

Another common error is mixing paid and unpaid breaks. Many workers enter all their break time, including paid 15-minute breaks that shouldn't be deducted from work hours. Only unpaid time (usually lunch) should reduce your total hours worked.

Rounding errors compound when you calculate multiple days. If your employer rounds each day separately versus calculating exact hours for the week then rounding, you can see differences of 30-60 minutes in your weekly total. Keep your own records and compare them to your timesheet before payroll processes.

The Math
Worked examples and deeper derivation

Time calculations require converting everything to the same unit before doing arithmetic. The calculator converts your AM/PM times to minutes since midnight — 9:00 AM becomes 540 minutes, 5:30 PM becomes 1050 minutes. Then it subtracts: 1050 - 540 = 510 minutes worked, minus your break time.

For overnight shifts, when the end time is numerically smaller than the start time, the calculator adds 1440 minutes (24 hours) to the end time. A shift from 11:00 PM (1380 minutes) to 7:00 AM (420 minutes) becomes 1380 to 1860 minutes, which equals 480 minutes or 8 hours worked.

The final conversion back to hours uses division: 510 minutes ÷ 60 = 8.5 hours, which displays as "8 hours 30 minutes." For pay calculations, the decimal form (8.5 hours × $20/hour = $170) is more accurate than trying to multiply hours and minutes separately.

Restaurant server shift
Clock-in: 5:00 PM, Clock-out: 11:30 PM, Break: 15 minutes, Rate: $12.50/hour
Works out to 6 hours 15 minutes or $78.13 gross pay before tips.
Office worker with lunch
Clock-in: 8:30 AM, Clock-out: 5:00 PM, Break: 60 minutes, Rate: $25.00/hour
Results in exactly 7.5 hours worked and $187.50 gross pay.
Night shift security guard
Clock-in: 10:00 PM, Clock-out: 6:00 AM, Break: 30 minutes, Rate: $18.00/hour
Shows 7.5 hours worked across midnight with $135.00 gross pay.
Expert Unlock
The thing most explanations skip

The Fair Labor Standards Act requires employers to pay for all time "suffered or permitted" to work, even if you forget to clock in or out. If you arrive early and start working before your scheduled time, that counts as work time regardless of what your time punch shows. Many wage theft cases involve employers who only pay for scheduled hours rather than actual punch times.

How do I handle time punches that cross midnight?

How do I calculate hours worked when my shift goes past midnight?
Enter your start time normally (like 11:00 PM) and your end time the next day (like 7:00 AM). The time punch calculator automatically adds 24 hours when the end time appears earlier than the start time, correctly calculating overnight shifts.
Should I include paid breaks in my total break time?
No, only enter unpaid break time. Paid 15-minute breaks should not be subtracted from your work hours since you're compensated for that time. Only subtract lunch breaks and other unpaid time.
Why does my calculated pay not match my paycheck exactly?
This calculator shows gross pay before taxes, overtime premiums, or other deductions. Your paycheck includes overtime rates (usually 1.5x after 40 hours), taxes, benefits deductions, and possibly different rates for different days or shifts.

Need something this doesn't cover?

Suggest a tool — we'll build it →