Hours Between Two Times Calculator

Work out the hours and minutes between a start and end time, minus a break, shown as h:mm and decimal hours. Add dates to count days and hours across days.

Hours worked
8.00
8:00 (h:mm)
Total span
8:30
before break
Minutes
480
after break

How the hours between two times are calculated

The calculator converts each time to minutes since midnight, subtracts the start from the end, adds 24 hours if the result is negative (an overnight shift), then removes the unpaid break. The remainder is shown three ways: as hours and minutes, as decimal hours to two places, and as raw minutes. When you also give a start and end date, it works from the two full date-times instead, so a span like Friday 10 pm to Monday 6 am comes out as 2 days 8 hours rather than a single overnight guess.

Worked examples

StartEndBreakh:mmDecimal
9:00 am5:30 pm30 min8:008.00
8:15 am4:50 pm30 min8:058.08
7:00 am3:00 pm08:008.00
10:00 pm6:00 am08:008.00
6:45 am7:20 pm45 min11:5011.83
1:30 pm1:15 pm (next day)60 min22:4522.75

Doing it by hand

Write both times as hours and minutes on a 24-hour clock. Subtract the minutes first; if the end minutes are smaller, borrow 60 from the hours. Then subtract the hours. For 8:15 to 16:50: 50 minus 15 is 35 minutes, 16 minus 8 is 8 hours, so 8 hours 35 minutes. Take off a 30-minute break to get 8 hours 5 minutes. To convert to decimal, divide the leftover minutes by 60: 5 / 60 = 0.083, so 8.08 hours. If you need this for a full week, the time card calculator does the same sum for seven days and applies overtime.

Why the decimal matters

Invoices and payroll multiply hours by a rate. If you bill 8 hours 5 minutes as "8.05" you have quietly given away 3 minutes; over a year of daily errors like that the gap is measured in hours. The correct figure is 8.08 (or 8.083 if your system takes three places). The conversion chart lists every minute from 1 to 60.

Overnight and multi-day spans

Without dates, an end time earlier than the start time is assumed to be the next morning, which covers almost every night shift. With dates, there is no assumption: the calculator uses the exact interval, reports whole days separately, and still shows the total in hours so you can drop it straight into a timesheet. Daylight-saving transitions are ignored; the tool counts clock hours, which is what nearly every employer pays on.

Frequently asked questions

How do I count hours between two times?

Convert both times to 24-hour form, subtract the start from the end (borrowing 60 minutes when needed), then subtract any unpaid break. 8:15 am to 4:50 pm is 8 hours 35 minutes; with a 30-minute break it is 8 hours 5 minutes, or 8.08 decimal hours.

What if the end time is before the start time?

The calculator treats it as an overnight span and adds 24 hours. 11:00 pm to 7:00 am is 8 hours. If you also enter dates, the exact span between the two date-times is used instead.

Why are there two answers, h:mm and decimal?

h:mm (8:05) is how people read a clock. Decimal (8.08) is what payroll and invoicing software multiply by a rate. They describe the same duration; 5 minutes is 5/60 of an hour, which rounds to 0.08.

Can I calculate hours across several days?

Yes. Fill in both dates as well as the times and the calculator reports the full span in days, hours, and minutes, plus the total in hours. It subtracts the break once, so for repeated daily breaks use the time card calculator instead.

Does it accept 12-hour times like 5:30 pm?

The time pickers use your device's own format. If you would rather type, tick "Type times as text" and enter 5:30pm, 17:30, or even 1730.

Is the break paid or unpaid?

Only enter breaks that are unpaid, because those are the minutes that come off the total. Paid rest breaks stay on the clock and should be left at 0.

Last updated 2026-09-15. Everything on this page runs in your browser. Nothing you type or upload leaves your device.