Time Duration Calculator
Calculate elapsed time between two date-times after breaks
Time Duration Calculator — what it does
Calculate the elapsed time between two date-times, minus an unpaid break, and read the result as full days, remaining hours and minutes, plus a decimal hours figure. The decimal value is the one payroll and invoicing systems want, because 7 hours 30 minutes is 7.5 hours and not 7.30.
When this tool helps
- Calculating billable hours for a session that ran across a lunch break.
- Measuring how long an incident, deployment or process actually took.
- Working out elapsed time across midnight or across several days.
How to use it
- Enter the start date and time.
- Enter the end date and time.
- Enter any unpaid break in minutes.
- Calculate to see days, hours, minutes and decimal hours.
Accuracy, limits, and good practice
- Decimal hours is what invoices and payroll use — treating 7:30 as 7.30 hours understates the time by twelve minutes every occurrence.
- Because both ends carry a date, spans crossing midnight or several days are handled without any manual adjustment.
- Deduct the break here rather than in your head; unpaid breaks are the most common source of disputed timesheet totals.
Frequently asked questions
How do I convert minutes to decimal hours?
Divide by 60. Fifteen minutes is 0.25 hours, twenty is 0.33, and forty-five is 0.75.
Does it handle daylight saving changes?
Calculation is on the local times you enter. Across a clock change, verify the result against the actual hours worked.
What if the end time is before the start?
That indicates a data entry error rather than a negative duration; check the dates as well as the times.
Related tools on this site
- Unix Timestamp Converter — Convert dates to Unix seconds or milliseconds and convert timestamps back
- Business Days Calculator — Count weekdays between two dates without holiday data
- File Transfer Time Calculator — Estimate upload or download time from file size, connection speed, and overhead
Everything above runs inside this page. Time Duration Calculator needs no account, no upload, and no server round trip — close the tab and nothing is left behind.
時間長度計算器能做什麼
計算兩個日期時間之間扣除無薪休息後的時長,結果以「完整天數+剩餘時分」呈現,另附十進位小時數。薪資與請款系統要的正是那個十進位數字,因為 7 小時 30 分是 7.5 小時,不是 7.30。
什麼時候用得上
- 計算跨越午休時段的可計費工時。
- 量測事故、部署或流程實際花了多久。
- 計算跨午夜或跨數日的經過時間。
使用步驟
- 輸入開始日期與時間。
- 輸入結束日期與時間。
- 輸入無薪休息分鐘數。
- 計算後查看天、時、分與十進位小時。
精確度、限制與實務建議
- 請款與薪資用的是十進位小時——把 7:30 當成 7.30 小時,每次都會少算十二分鐘。
- 兩端都帶日期,因此跨午夜或跨數日的區間不需任何手動調整。
- 休息時間請在這裡扣,不要用心算;無薪休息正是工時表總數最常起爭議的地方。
常見問題
分鐘怎麼換成十進位小時?
除以 60。十五分鐘是 0.25 小時、二十分鐘是 0.33、四十五分鐘是 0.75。
會處理日光節約時間嗎?
計算依你輸入的當地時間進行。跨越時制切換時,請與實際工作時數再核對一次。
結束時間早於開始時間怎麼辦?
那代表輸入有誤而不是負時長,請連日期一起檢查。
本站相關工具
- Unix 時間戳轉換器 — 日期轉 Unix 秒或毫秒,並將時間戳轉回日期時間
- 工作日計算器 — 計算兩日期間的平日數,不包含節假日資料
- 檔案傳輸時間計算器 — 依檔案大小、網路速度與協定損耗估算上傳或下載時間
以上步驟全部在這個頁面內完成,時間長度計算器 不需要註冊、不上傳檔案、也不經過伺服器,關閉分頁後不會留下任何資料。