Time Duration Calculator
Find the time between two clock times — enter a start and end time, subtract a break, and read the duration in hours and minutes, total minutes and decimal hours.
Enter a start time and an end time, optionally subtract a break, and read the duration as hours and minutes, total minutes and decimal hours straight away. Free. No sign-up. Runs in your browser, nothing is uploaded.
Leave blank for no break. Handy for an unpaid lunch.
Leave off to auto-detect overnight shifts when the end is before the start.
Enter a start and an end time, take off a break if there is one, and the gap appears three ways at once: hours and minutes (8h 30m), total minutes (510) and decimal hours (8.5 h). The decimal figure is the one payroll systems, invoices and spreadsheets usually want, and it's also the one people most often get wrong by hand.
Why 8h 20m is not 8.20 hours
An hour has 60 minutes, not 100, so the minutes have to be divided by 60 before they go after the decimal point. Writing 8h 20m as "8.20" undercounts by 0.13 hours — about 8 minutes — per entry, and that adds up over a month of timesheets. The calculator shows decimal hours rounded to two places:
| Minutes | Decimal | Minutes | Decimal |
|---|---|---|---|
| 5 | 0.08 | 35 | 0.58 |
| 10 | 0.17 | 40 | 0.67 |
| 15 | 0.25 | 45 | 0.75 |
| 20 | 0.33 | 50 | 0.83 |
| 25 | 0.42 | 55 | 0.92 |
| 30 | 0.5 | 60 | 1 |
Going the other way works the same: 7.6 hours is 7 hours plus 0.6 × 60 = 36 minutes, so 7h 36m. If you bill by the hour, multiply the decimal figure by your rate — 7.5 h at 40 per hour is 300, while "7.30 h" would wrongly give 292.
Night shifts and the midnight rule
Each time is turned into minutes after midnight, and the start is subtracted from the end. When the end is earlier than the start, the calculator adds 24 hours (1,440 minutes), because a shift that ends "before" it started must have run overnight.
Worked through for a night shift from 21:30 to 05:45 with a 45-minute unpaid break:
- 21:30 is 1,290 minutes after midnight; 05:45 is 345.
- The end is earlier, so 345 + 1,440 − 1,290 = 495 minutes gross (8h 15m).
- Minus the break: 495 − 45 = 450 minutes.
- Result: 7h 30m, or 7.5 decimal hours, marked "crosses midnight".
Copy turns that into one line — 21:30–05:45 (+1 day) less 45 min break = 7h 30m (7.5 h, 450 min) — ready for a timesheet or notes app. The tool handles gaps up to 24 hours; for several days, use the Date Difference Calculator.
Clock changes, 12 AM and other traps
The calculator works with clock times, not real elapsed time, so a few situations need a human check:
- Daylight saving changes. When clocks go back in autumn (last Sunday of October in the EU, first Sunday of November in the US), a 22:00–06:00 shift actually lasts 9 hours, but the clock difference says 8. In spring, when clocks go forward, the same shift lasts 7. Add or subtract the hour yourself on those nights.
- 12 AM and 12 PM. If your device shows the time fields in 12-hour format, 12:00 AM is midnight and 12:00 PM is noon. Mixing them up turns a 4-hour morning into a 16-hour day.
- Same start and end. 08:00 to 08:00 gives 0 hours unless you tick Ends next day, which makes it 24.
- Paid vs unpaid breaks. Only subtract breaks you aren't paid for. A paid 15-minute rest stays in the total.
From one shift to a whole week
This page answers one question at a time: how long was this shift, call or session? For anything bigger, the neighbouring tools pick up where it stops. The Timesheet Calculator adds up a full week of start and end times with breaks, and the Overtime Calculator turns hours beyond your contract into pay. If you need the days, weeks or months between two calendar dates, use the Date Difference Calculator; for lining up a call across time zones, the Timezone Meeting Planner.
Frequently asked questions
Related tools
All Calculators tools →- Timesheet CalculatorAdd up a week of work hours — enter start, end and break times for Monday to Sunday and get your daily hours, weekly total and gross pay.
- Overtime CalculatorWork out how many overtime hours you've done and what they pay — set your standard hours, hourly rate and overtime multiplier.
- Date Difference CalculatorCount the days, weeks and months between two dates.
