Hours Calculator

Clock times don't subtract like ordinary numbers — 60 minutes to a carry, not 100. Find the difference between a start and end time, add or subtract a duration, convert minutes into the decimal hours payroll systems expect, or total up hours worked across a shift or an entire timesheet.

Start calculating

For personal planning and general reference — verify important results when needed.

Your Input

Format: HH:MM or HH:MM:SS

Select a calculation type and enter times or values to see results with step-by-step solutions and visualization.

Why clock time doesn't subtract like ordinary numbers

9:15 minus 8:50 isn't 0:65 — it's 0:25, because minutes carry over in blocks of 60, not 100. Subtracting time by hand means borrowing exactly the way you'd borrow across a tens column, except the column size is 60: when the minutes on top are smaller than the minutes on the bottom, borrow 60 minutes from the hours column first.

Worked example: to go from 8:50 AM to 9:15 AM, borrow an hour from 9:15 to make it 8:75, then subtract: 8:75 − 8:50 = 0 hours, 25 minutes. That borrowing step is exactly where hand calculations most often go wrong, and exactly what this calculator handles automatically.

Converting minutes to decimal hours for payroll

Timesheets and billing systems almost always want decimal hours (7.25) rather than clock format (7:15), since decimals add and multiply cleanly for pay calculations. The conversion is simply minutes divided by 60, but a few values are worth memorizing since they come up constantly:

Common minute to decimal hour conversions
Minutes Decimal hours Minutes Decimal hours
150.25450.75
300.50100.17
60.10200.33

Notice 15, 30, and 45 minutes convert to the tidy 0.25, 0.5, and 0.75 — which is exactly why so many workplaces round timesheets to the nearest quarter hour rather than dealing with awkward decimals like 0.17 or 0.33.

Handling shifts that cross midnight

A shift from 10:00 PM to 6:00 AM looks like negative time if you subtract the clock numbers directly (6:00 − 22:00 = −16:00), because the end time is technically earlier on the clock face. The fix is to add 24 hours to the end time before subtracting, since it actually falls on the next calendar day: 30:00 − 22:00 = 8:00, an 8-hour shift.

That's exactly what the "end time is next day" option on this calculator does — it tells the tool to add a full day to the end time before working out the difference, so overnight and split shifts come out right instead of producing an impossible negative duration.

Hours worked, minus breaks

Actual hours worked is the clock-to-clock difference minus any unpaid break time — a 9:00 to 5:00 shift with a 30-minute unpaid lunch is 8 hours on the clock but 7.5 hours worked. This calculator's Hours Worked mode does that subtraction directly, and if you're tracking a full week of shifts rather than a single day, the Total Hours mode adds multiple time periods together for a timesheet total. For a fuller weekly timecard with regular and overtime split out, the Time Card Calculator and Time Duration Calculator cover that ground in more depth.

Frequently Asked Questions

How do you add hours and minutes?

Add minutes first, carry every 60 minutes as one hour, then sum hours. Subtracting time uses borrowing: 1 hour = 60 minutes when the minute column goes negative.

How are decimal hours used in payroll?

Employers often convert minutes to decimal fractions of an hour — 15 min = 0.25 hr, 30 min = 0.5 hr — for timesheet and billing systems.

What is the difference between elapsed time and clock time?

Elapsed time is duration (3 hours 20 minutes). Clock time is a point on the clock (2:45 PM). Duration math adds intervals; clock math may cross midnight.

How do overnight shifts affect hour totals?

When end time is earlier than start time on the clock, add 24 hours to the end time before subtracting — the shift crossed midnight.

How do I use this hours calculator?

Enter start and end times or hours and minutes to add/subtract, then click Calculate. Total hours appear in HH:MM and decimal formats.

How do employers round clock-in and clock-out times?

Many US payroll systems round to the nearest quarter hour under a common wage-hour convention: a punch within 7 minutes of the nearest quarter rounds to that quarter, otherwise it rounds to the next one. Rounding rules can vary by employer and jurisdiction, so check your own timesheet policy for the exact rule that applies.

More utility calculators