Time Duration Calculator
Calculate the exact duration between two clock times, or add and subtract hours and minutes from a starting time. Results include hours and minutes, total minutes, and decimal hours for payroll.
How to Use This Time Duration Calculator
The calculator features two distinct operational modes designed for work shift tracking and schedule planning.
Time Between Mode: Calculates the exact elapsed time between a start time and end time. Ideal for computing shift lengths, meeting durations, or project billable hours. If the end time is numerically earlier than the start time, the calculator automatically detects an overnight shift and adds 24 hours to the calculation.
Add or Subtract Mode: Takes a starting time and applies a specified hour and minute offset. Use this to determine exact task completion times, project deadlines, or clock time adjustments when coordinating across time zones.
Minute-to-Decimal Payroll Conversion Reference Table
Standard payroll systems express time in decimal hours rather than minutes. To convert minutes to decimal form manually, divide the minute count by 60. The reference table below provides standard 5-minute increment conversions for rapid pay calculations.
| Minutes | Decimal Hours | Minutes | Decimal Hours |
|---|---|---|---|
| 05 min | 0.08 hrs | 35 min | 0.58 hrs |
| 10 min | 0.17 hrs | 40 min | 0.67 hrs |
| 15 min | 0.25 hrs | 45 min | 0.75 hrs |
| 20 min | 0.33 hrs | 50 min | 0.83 hrs |
| 25 min | 0.42 hrs | 55 min | 0.92 hrs |
| 30 min | 0.50 hrs | 60 min | 1.00 hrs |
Practical Time Calculation Scenarios
- Standard Shift with Lunch: Shift from 08:00 to 17:00 equals 9.0 hours gross. Subtracting a 30-minute unpaid break (0.50 decimal hours) leaves 8.50 net decimal hours. At $22.00 per hour, total gross pay is $187.00.
- Overnight Healthcare Shift: Start 21:45, End 06:15. Duration: 8 hours 30 minutes (510 total minutes = 8.50 decimal hours).
- Project Deadline Calculation: Starting at 11:30 AM with a 4-hour 45-minute task duration yields a completion time of 4:15 PM (16:15).
Frequently Asked Questions
How do I calculate hours worked between two times?
Enter the start time and end time in the Time Between tab and click Calculate. The result shows the duration in hours and minutes, the total number of minutes, and the decimal hours value. For payroll just multiply the decimal hours figure by your hourly rate.
Can this calculator handle overnight shifts?
Yes. When the end time is earlier than the start time the calculator automatically adds 24 hours to the end time before calculating. A shift starting at 22:00 and ending at 06:00 is correctly shown as 8 hours, not as a negative number.
What is the decimal hours format used for?
Decimal hours express time as a single number rather than splitting it into hours and minutes. One hour and 30 minutes equals 1.5 decimal hours. Employers use this format because you can multiply it directly by an hourly wage rate to find the gross pay for a shift without additional conversion steps.
Can I add or subtract time with this tool?
Switch to the Add or Subtract tab. Enter a starting time, then enter the hours and minutes to add or remove. Choose whether to add or subtract using the buttons and click Calculate. This is useful for working out what time a task ends or what clock time results from adding a time zone offset.
Why does AM and PM matter so much in time calculations?
The tool uses 24-hour time internally. 3:00 PM is 15:00 in 24-hour format, not 3:00. Entering the wrong AM or PM value shifts your result by exactly 12 hours and is one of the most common errors in manual time calculations.
Guides for the Time Duration Calculator
Longer reads on the maths and the practical side of this tool.