Your shift started at 09:15 and ended at 17:45. Payroll wants the length as decimal hours, your log wants hours and minutes, and your head wants to subtract 915 from 1745 and call the difference 830 of something. That shortcut fails, because time does not run in hundreds. An hour holds 60 minutes, not 100, so plain subtraction borrows the wrong amount and quietly produces answers like 8 hours and 70 minutes, which is not a real time at all.
This guide shows how to work out the duration between two times on the same day, by hand and with the free Time Duration Calculator on Ovatly. The calculator measures the exact span between two date-times and expresses it every useful way: days, hours, minutes and seconds as a breakdown, plus totals in each unit.
Contents
- Quick answer
- Why clock subtraction is not ordinary subtraction
- The breakdown and the totals: two readings of one span
- How to calculate the duration, step by step
- Worked example: 09:15 to 17:45
- Limitations
- Common mistakes
- FAQs
- Conclusion
Quick answer
Enter the start time and the end time, on the same date, and read the span. From 09:15 to 17:45 the duration is 8 hours 30 minutes, which is also 510 minutes, 30,600 seconds, or 8.50 hours in total. On Ovatly, open the Time Duration Calculator, enter the start date and time, enter the end date and time, and read the breakdown and the totals in the result panel. By hand, subtract the start from the end in stages, and when the end minutes are smaller than the start minutes, borrow one hour as 60 minutes before you subtract.
Why clock subtraction is not ordinary subtraction
Ordinary subtraction treats every column as tens. Clock subtraction treats the minutes column as sixties. That single difference explains nearly every wrong duration worked out on paper.
A friendly pair hides the problem. From 09:15 to 17:45, the minutes subtract cleanly (45 minus 15 is 30) and the hours subtract cleanly (17 minus 9 is 8), giving 8 hours 30 minutes with no borrowing at all. A less friendly pair exposes it. From 09:50 to 17:20, the minutes cannot subtract directly, because 20 is smaller than 50. The fix is to borrow: take one hour away from the end time, turning 17:20 into 16:80, then subtract. 80 minus 50 is 30 minutes, and 16 minus 9 is 7 hours, so the duration is 7 hours 30 minutes. Anyone who borrows 100 instead of 60 gets 7 hours 70 minutes, a number that looks plausible on a timesheet and is simply wrong.
The seconds column, when you need it, works the same way: borrow 60 seconds as one minute.
The breakdown and the totals: two readings of one span
The calculator reports one span in two forms, because different jobs need different forms. The breakdown splits the span into days, hours, minutes and seconds. The totals give the whole span in a single unit: all of it in hours, all of it in minutes, all of it in seconds.
The tool's own example shows the pair working together. From 1 January 2026, 09:00 to 3 January 2026, 11:30, the duration is 2 days, 2 hours and 30 minutes: 181,800 seconds in total, or 50.50 hours. The totals row is what you want for billing, logging and comparisons, because a single number can be priced, summed and ranked. The breakdown is what you want for reading aloud, because nobody says "fifty point five hours" when they mean two days, two hours and a half.
For a same-day span the day count is simply zero, and the two forms sit side by side: 8 hours 30 minutes as a breakdown, 8.50 hours as a total.
How to calculate the duration, step by step
- Open the Time Duration Calculator.
- Enter the start date and time. For a same-day span, this is the earlier clock time on your date.
- Enter the end date and time, on the same date.
- Read the breakdown and the totals in the result panel. Take the breakdown for a log or a spoken answer, and the total in hours, minutes or seconds for anything you need to add up, bill or compare.
That is the whole process. There is no borrowing to get wrong, because the calculator works with the two timestamps directly rather than with columns.
Worked example: 09:15 to 17:45
Take a working day that starts at 09:15 and ends at 17:45, with no break deducted.
By hand: the minutes subtract cleanly, 45 minus 15 is 30. The hours subtract cleanly, 17 minus 9 is 8. The duration is 8 hours 30 minutes.
As totals: 8 hours is 480 minutes, plus the extra 30 gives 510 minutes. 510 minutes at 60 seconds each is 30,600 seconds. As decimal hours, 30 minutes is half an hour, so the total is 8.50 hours. That decimal figure is the one a payroll or billing system usually wants, and note what it is not: 8.50 hours is 8 hours 30 minutes, not 8 hours 50 minutes. The .50 is a fraction of an hour, and half of 60 minutes is 30.
The calculator returns all of these from the same two entries, so the breakdown and the totals can never disagree with each other the way two separate hand calculations can.
Limitations
The end must be after the start. If your end time is earlier than your start time on the same date, the span you want almost certainly runs past midnight into the next day, which is a different calculation covered in the related guide below. To measure a span in the other direction with this tool, swap the two fields.
Seconds are exact whole seconds between the two timestamps; sub-second timing is not offered, so this is not a stopwatch for reaction times or photo finishes. Times are interpreted in your browser's timezone, and a span crossing a daylight-saving change shows the shifted length, matching your wall clock rather than a fixed 24 hour grid. Finally, the calculator measures the raw span only. It does not deduct breaks, apply rounding rules or split a span at midnight for you; if a shift includes an unpaid break, subtract it from the total yourself.
Common mistakes
- Subtracting the times as ordinary numbers. 1745 minus 915 gives 830, which is not 8 hours 30 minutes by method, only by luck of these particular digits. With other digits the same shortcut fails outright.
- Borrowing 100 minutes. An hour borrowed into the minutes column is worth 60. Borrowing 100 produces impossible results like 70 minutes.
- Reading decimal hours as hours and minutes. 8.50 hours is 8 hours 30 minutes. Reading it as 8 hours 50 minutes overstates the span by 20 minutes.
- Assuming two calendar days means 48 hours. When the times differ, the span differs: 09:00 one day to 11:30 the next is 26.5 hours, not 24, and daylight saving can add or remove a further hour.
- Rounding each part separately. Round the final total once, if you must round at all. Rounding the hours and minutes independently can move the answer twice.
FAQs
How is this different from the Date Difference Calculator? That tool counts whole calendar days and business days between dates. This one includes times of day and reports hours, minutes and seconds, for spans where the clock matters.
Can I measure a span of months? Yes, the span can be any length; the breakdown will show large day counts and the totals give the exact hours and minutes.
Which timezone does the calculator use? Times are interpreted in your browser's timezone. A span crossing a daylight-saving change shows the shifted length, matching your wall clock.
Can it time fractions of a second? No. Seconds are exact whole seconds between the two timestamps; sub-second timing is not offered.
What if the end time is earlier than the start time? The end must be after the start. Swap the two fields to measure the span in the other direction.
Conclusion
A same-day duration is one subtraction, done in base 60 instead of base 10. Borrow 60 when the minutes run short, and read the result in whichever form the job needs: the breakdown for saying it, the totals for adding it up. The Time Duration Calculator does the borrowing for you and shows both forms at once, in your browser, with nothing uploaded.
Related guide: How to Work Out Elapsed Time Across Midnight.
More calculators guides: Calculators Guides.