Why You Are Here
You are working out a shift. You have a start and end time and want the hours worked, perhaps to fill a timesheet or check your pay.
Your shift crosses midnight. You started in the evening and finished after midnight, and simple subtraction gives a negative or wrong answer.
You need to subtract a break. You want the paid hours after taking off an unpaid lunch or breaks from the total span.
What This Tool Does
The Hours Calculator finds the elapsed time between two clock times and shows it in hours and minutes and as decimal hours. It handles shifts that run past midnight and lets you deduct break time, so you get the actual hours between a start and an end.
Crossing Midnight
The one case that breaks naive time subtraction is an overnight shift, and it is worth understanding why.
When the end is earlier than the start
A shift from 10:00 PM to 6:00 AM looks like it goes backwards, and subtracting gives a negative sixteen hours. The fix is to recognise the end is on the next day and add twenty-four hours, giving the correct eight hours.
The calculator assumes the next day
When you enter an end time earlier than the start, this tool treats it as the following day, so an overnight span comes out right. If you ever need a same-day span longer than that, enter the times with their dates.
Hours and Minutes Versus Decimal Hours
This is the honest core of the page, and the confusion that costs people money on timesheets. Eight hours thirty minutes is not eight point three zero.
Minutes are out of sixty, not a hundred
Eight hours and thirty minutes is 8.5 decimal hours, because thirty minutes is half an hour. Writing it as 8.30 and treating that as decimal hours undercounts your time. The decimal part is minutes divided by sixty.
Payroll usually wants decimal hours
Timesheets and payroll systems often expect decimal hours, because pay is hours times a rate. So 8:30 is entered as 8.5, and 8:15 as 8.25. The calculator shows both forms so you copy the right one.
Common conversions
Fifteen minutes is 0.25, twenty minutes is about 0.33, forty-five minutes is 0.75. When in doubt, divide the minutes by sixty, and never read the minute figure straight after a decimal point.
Deducting Breaks
Subtract unpaid time from the span
If your shift is 9:00 to 17:30, that is 8.5 hours, but a 30-minute unpaid lunch makes the paid time 8.0 hours. Enter the break so the result reflects paid hours, not just the clock span.
Know which breaks are paid
Whether a break is deducted depends on your workplace and local rules; some short breaks are paid and some are not. Deduct only the unpaid ones, and check your own policy for which is which.
Common Mistakes to Avoid
Eight hours thirty minutes is 8.5 decimal hours, not 8.30, because minutes are out of sixty. Entering 8.30 into a payroll system undercounts the time. Use the decimal-hours figure the calculator shows, or divide the minutes by sixty yourself.
A shift that ends earlier than it starts runs past midnight, and plain subtraction gives a negative or wrong result. The end time is on the next day, so twenty-four hours must be added. Let the calculator handle the overnight span rather than subtracting by hand.
The clock span from start to end includes any lunch or breaks, so paid hours can be less than the total. Deduct the unpaid break time to get the hours you are actually paid for, and check which breaks your workplace treats as unpaid.
Quick Reference
|
Item |
Detail |
|---|---|
|
Finds |
Duration between two clock times |
|
Across midnight |
End earlier than start adds 24h |
|
Output |
Hours and minutes, and decimal hours |
|
8h 30m |
8.5 decimal hours |
|
15 minutes |
0.25 hours |
|
45 minutes |
0.75 hours |
|
Breaks |
Deduct unpaid time |
|
Decimal rule |
Minutes divided by 60 |
|
For durations |
Use the Time Calculator |
|
Runs |
100% in the browser, nothing stored |
