Enter two clock times and get the duration between them — in hours and minutes, decimal hours, and total minutes. Overnight spans are handled automatically, and you can subtract a break. Results update live, with the working shown.
A time duration is the length of the gap between two clock times — how long passed from a start to an end. It has nothing to do with the current time; it is a fixed span you read off the clock, the way you would measure a shift, a class, a flight, or how long the roast needs to stay in the oven.
Four steps take you from two clock readings to a clean duration — and they are exactly what the tool shows under “Step by step.”
Multiply the hour by 60 and add the minutes. Use 24-hour values so PM times don’t trip you up — 5:30 PM is 17:30, which is 17 × 60 + 30.
Take the start’s minutes away from the end’s. A positive result is your raw span in minutes.
A negative number means the end is on the next day (it crossed midnight). Add 1440 minutes — a full day — to bring it positive.
Divide by 60 for whole hours; the remainder is the minutes. Divide the whole span by 60 again for decimal hours.
The same subtraction handles a normal day, a shift that crosses midnight, and a day with a lunch break — only the wrap and the break change.
A morning start to an evening finish on the same calendar day — the end is later than the start, so you simply subtract.
The one place plain subtraction breaks down is when the end time reads earlier than the start. The clock has wrapped past midnight, and the fix is a single extra day.
Decimal hours are the format payroll, invoicing, and timesheet software expect — because you can multiply them straight by an hourly rate. The trick is converting the minutes part, not sticking it after the decimal point.
| Minutes | Fraction | Decimal |
|---|---|---|
| 15 min | quarter hour | 0.25 |
| 20 min | third of an hour | 0.33 |
| 30 min | half hour | 0.50 |
| 45 min | three-quarter hour | 0.75 |
The lengths of the shifts people look up most — in hours and minutes and in decimal hours — including a few that cross midnight. Read off “how long is a 9 to 5?” or “how many hours is 11pm to 7am?” at a glance.
| Shift | From → to | Hrs : min | Decimal |
|---|---|---|---|
| 9 to 5 | 9:00 AM → 5:00 PM | 8h | 8.00 |
| 9 to 5:30 | 9:00 AM → 5:30 PM | 8h 30m | 8.50 |
| 8 to 4 | 8:00 AM → 4:00 PM | 8h | 8.00 |
| 8 to 5 | 8:00 AM → 5:00 PM | 9h | 9.00 |
| Half day (4h) | 9:00 AM → 1:00 PM | 4h | 4.00 |
| Night, 11pm–7am | 11:00 PM → 7:00 AM | 8h | 8.00 |
| Swing, 3pm–11pm | 3:00 PM → 11:00 PM | 8h | 8.00 |
| Double, 6am–6pm | 6:00 AM → 6:00 PM | 12h | 12.00 |
Any time you need the gap between two clock readings, not the time of day itself.
Four slips account for almost every wrong duration — all easy to avoid once you see them.
This calculator is the simple two-times-between tool. For richer needs, the rest of the time set has you covered.

CD interest follows A = P(1 + r/n)^(nt). Why banks quote APY and not the rate, how compounding frequency moves the total, and what breaking early costs.

To lose weight, eat fewer calories than you burn each day. Find your maintenance calories with TDEE = BMR × activity, then subtract a deficit to set a daily target. This guide works the full chain end to end.

To set macros for weight loss, start from a calorie target below your TDEE, pick a split, then convert each percentage to grams: grams = calories × percent ÷ kcal per gram. Protein stays high on a cut.