What is the Time Duration Calculator?
Calculate the duration between two clock times, including overnight shifts. Calculating the time between two clock times handles overnight shifts and unpaid breaks, which are easy to miscount by hand.

How to use the Time Duration Calculator
- Enter your start time, your end time, your unpaid break.
- Results update automatically as you type; you can also press Calculate.
- Read the output: duration, decimal hours, total minutes.
- Use the 📊 chart to see the result visually, then copy or share it.
Formula and method
Worked example
With start time = 09:15, end time = 17:45, unpaid break = 30 minutes, the Time Duration Calculator returns duration: 8:00 (h:mm); decimal hours: 8.00; total minutes: 480.
Where the Time Duration Calculator helps in real life
You worked from 10 p.m. to 6:30 a.m. with a 30-minute unpaid break. The calculator handles the shift crossing midnight and gives eight paid hours.
You are tracking time on a freelance project across several sessions in a day. Calculating each duration and adding them up gives an accurate total for your invoice.
Common mistakes to avoid
- Forgetting to add 24 hours when a shift crosses midnight.
- Including unpaid breaks in paid time.
- Mixing up a.m. and p.m. on overnight shifts.
- Rounding minutes differently from one shift to the next.
💡 Practical tip: When the end time is earlier than the start time, the shift crossed midnight — add 24 hours.

Tips for better results
- Use 24-hour time to avoid a.m./p.m. confusion.
- Record breaks separately from shift start and end times.
- Convert the result to decimal hours for payroll.
Frequently asked questions
What does the Time Duration Calculator do?
Calculate the duration between two clock times, including overnight shifts.
How is it calculated?
The Time Duration Calculator uses this method: Duration = End − Start (+24 h if overnight) − break.
Can you show an example?
With start time = 09:15, end time = 17:45, unpaid break = 30 minutes, the Time Duration Calculator returns duration: 8:00 (h:mm); decimal hours: 8.00; total minutes: 480.
Is the Time Duration Calculator accurate?
Yes. It uses standard formulas and exact constants, and the results are verified by our automated test suite. Values are displayed to up to 12 significant digits.
Is this tool free and private?
Yes — the Time Duration Calculator is completely free with no sign-up, and it runs entirely in your browser, so the values you enter are never uploaded to our servers.
Related tools
📬 Get new tools first — free
Join Taurang to hear about new calculators, converters and features. No spam; unsubscribe anytime.