Date & Time
Time Duration Calculator
Calculate shift duration, breaks, overtime, rounding, and estimated pay.
Result
Enter your numbers and press Calculate to see the result.
Calculating…
How the time duration is calculated
The calculator measures the time between a start and end time, subtracts your unpaid break, and reports the result in hours and minutes as well as decimal hours — the format payroll systems expect. It can round payable time, repeat the shift total, and if the end time is earlier than the start, it assumes the shift crosses midnight and adds 24 hours.
Formulas
Duration = end − start (+ 24 h if overnight) − break
Payable time = rounded duration, if a rounding interval is selected
Decimal hours = total minutes ÷ 60
Pay = regular hours × rate + overtime hours × rate × multiplier
Worked example
A shift from 09:00 to 17:30 with a 30-minute break and no rounding: 8.5 hours minus 0.5 = 8 hours (8.0 decimal hours). At $25/hour with overtime after 8 hours, all 8 hours are regular time: $200. Stretch the shift to 19:00 and the extra 1.5 hours are paid at 1.5× — 8 × 25 + 1.5 × 37.50 = $256.25.
Minutes to decimal hours
Payroll and invoicing run on decimal hours; clocks do not. The whole minute range, so nothing has to be worked out by hand mid-timesheet.
| Min | Dec | Min | Dec | Min | Dec | Min | Dec |
|---|---|---|---|---|---|---|---|
| 00 | 0.00 | 15 | 0.25 | 30 | 0.50 | 45 | 0.75 |
| 01 | 0.02 | 16 | 0.27 | 31 | 0.52 | 46 | 0.77 |
| 02 | 0.03 | 17 | 0.28 | 32 | 0.53 | 47 | 0.78 |
| 03 | 0.05 | 18 | 0.30 | 33 | 0.55 | 48 | 0.80 |
| 04 | 0.07 | 19 | 0.32 | 34 | 0.57 | 49 | 0.82 |
| 05 | 0.08 | 20 | 0.33 | 35 | 0.58 | 50 | 0.83 |
| 06 | 0.10 | 21 | 0.35 | 36 | 0.60 | 51 | 0.85 |
| 07 | 0.12 | 22 | 0.37 | 37 | 0.62 | 52 | 0.87 |
| 08 | 0.13 | 23 | 0.38 | 38 | 0.63 | 53 | 0.88 |
| 09 | 0.15 | 24 | 0.40 | 39 | 0.65 | 54 | 0.90 |
| 10 | 0.17 | 25 | 0.42 | 40 | 0.67 | 55 | 0.92 |
| 11 | 0.18 | 26 | 0.43 | 41 | 0.68 | 56 | 0.93 |
| 12 | 0.20 | 27 | 0.45 | 42 | 0.70 | 57 | 0.95 |
| 13 | 0.22 | 28 | 0.47 | 43 | 0.72 | 58 | 0.97 |
| 14 | 0.23 | 29 | 0.48 | 44 | 0.73 | 59 | 0.98 |
The three that get mistyped most often are 20 minutes (0.33, not 0.20), 40 minutes (0.67, not 0.40) and 50 minutes (0.83, not 0.50) — the ones where the minute figure looks like it could pass as a decimal.
Billing increments
Professional time is usually billed in fixed blocks rather than to the minute, and the block size changes the total materially. A six-minute increment is one tenth of an hour, which is why legal and consultancy timesheets are kept in tenths.
| Increment | Fraction of an hour | A 7-minute call bills as | Used by |
|---|---|---|---|
| 1 minute | 0.017 | 0.12 h | time-tracking software |
| 6 minutes | 0.1 | 0.2 h | law, consultancy |
| 15 minutes | 0.25 | 0.25 h | trades, support contracts |
| 30 minutes | 0.5 | 0.5 h | coaching, therapy, tutoring |
Rounded up, that seven-minute call costs the client 0.2 hours on a six-minute grid and 0.5 hours on a half-hour grid — two and a half times as much for identical work. Twenty short calls a week is where the difference stops being trivia.
Daily and weekly overtime thresholds
Overtime can trigger on the day, on the week, or both, and the rules are jurisdictional. Under the US federal standard it is weekly: time over 40 hours in a workweek is paid at 1.5×, with no daily threshold at all. Several states add a daily one — California pays 1.5× beyond 8 hours in a day and 2× beyond 12. The UK has no statutory overtime premium; it is whatever the contract says, subject to the weekly average working-time limit.
The practical consequence is that four ten-hour days can be entirely ordinary time in one place and eight hours of overtime in another, for the same 40-hour week. Set the calculator's threshold to the rule that actually applies to you rather than the default.
Overnight shifts and crossing midnight
When the end time is earlier than the start — a shift from 22:00 to 06:00, for example — the calculator assumes the clock passed midnight and adds 24 hours, giving 8 hours rather than a negative result. This covers night shifts and late hospitality or healthcare hours without you having to split the entry across two days.
Why rounding is applied
Many payroll systems round clock time to a fixed interval — often the nearest 5, 6, or 15 minutes — so the payable total lines up with a standard pay grid. Rounding to the nearest quarter-hour is common and, done to the nearest interval, is broadly neutral over time because minutes rounded down balance those rounded up. Set the rounding to match your employer's rule so the decimal hours you report agree with the paycheck.
To annualize your rate across a full schedule, see the salary hourly/yearly calculator.
Time Duration Calculator — frequently asked questions
How do I calculate hours worked?
Enter your start and end times and any unpaid break. The calculator subtracts the break from the span and shows the result in hours and minutes as well as decimal hours for timesheets.
Does it handle overnight shifts?
Yes. If the end time is earlier than the start time, the calculator assumes the shift crosses midnight and adds 24 hours — a 22:00 to 06:00 shift counts as 8 hours.
What are decimal hours?
Minutes divided by 60 and expressed as a fraction of an hour: 7 hours 30 minutes equals 7.5 decimal hours. Payroll systems usually expect this format.
How is the estimated pay calculated?
Hours up to the overtime threshold are paid at your hourly rate; hours beyond it are paid at the rate times the overtime multiplier (1.5 by default). Both parts are added together.