Time Duration Calculator
The Time Duration Calculator works out how much time passed between a start and end time — perfect for timesheets and work hours. It handles overnight shifts, subtracts unpaid breaks, and gives you the result in hours and minutes and in decimal hours for payroll.
Total time
8 hr 0 min
A 30-minute unpaid break has been subtracted.
Enter clock-in and clock-out times to get worked hours for a timesheet. Decimal hours (for example 8.50) is the format most payroll systems use. Everything is calculated in your browser.
How This Tool Works
Enter the start and end time and, optionally, an unpaid break in minutes. The worked duration appears instantly in hours and minutes and as decimal hours — the format most payroll systems use.
Formula & Method
Duration = end time − start time. If the end time is earlier than the start (an overnight shift), 24 hours are added. Any unpaid break minutes are then subtracted, and the result is shown as hours and minutes and as decimal hours (minutes ÷ 60).
Example Calculation
A shift from 9:00 to 17:30 with a 30-minute unpaid break is 8 hours 30 minutes of work, or 8.50 decimal hours.
Frequently Asked Questions
Does it handle overnight shifts?+
Yes. If the end time is earlier than the start time, the calculator assumes the shift crossed midnight and adds 24 hours automatically.
What are decimal hours?+
Decimal hours express minutes as a fraction of an hour — for example 8 hours 30 minutes is 8.50 decimal hours. Most payroll and billing systems use this format.
Can I subtract a lunch break?+
Yes. Enter the unpaid break in minutes and it is subtracted from the total worked time.
Found this useful? Share it
Help someone else out — or link to it from your own site.
Link to this tool
Writing about time duration calculator? Paste this on your site to link here.
<a href="https://everyfix.net/tools/time-duration-calculator/">Time Duration Calculator</a> by <a href="https://everyfix.net">EveryFix</a>Related Tools
Hourly to Salary Calculator
Convert an hourly wage into daily, weekly, monthly, and annual pay.
Use tool →Age Calculator
Calculate your exact age in years, months, and days.
Use tool →Date Difference Calculator
Calculate the number of days, weeks, or years between two dates.
Use tool →Percentage Calculator
Calculate percentages, percentage of a number, or percentage change.
Use tool →