Time Duration Calculator
Calculate hours and minutes between two times, including overnight shifts and breaks. Get decimal hours for timesheets too.
1. Set up your options
For an overnight shift, leave extra days at zero and enable next-day handling. For exactly 24 hours with equal times, add one day. Decimal hours are not HH.MM.
2. Review & export
Ready. Try the example to see how it works.
Using Time Duration Calculator
Calculate hours and minutes between two times, including overnight shifts and breaks. Get decimal hours for timesheets too.
- Start with the working example to explore the workflow, or add your own inputs.
- Choose the options, build a preview and review the result table and notes.
- Copy or download the output. When inputs change, build a fresh preview before exporting.
Example
For an overnight shift, leave extra days at zero and enable next-day handling. For exactly 24 hours with equal times, add one day. Decimal hours are not HH.MM.
Questions & answers
Is 7 hours 30 minutes equal to 7.30 decimal hours?
No. Thirty minutes is half an hour, so the decimal value is 7.5.
How do overnight times work?
If the end is earlier than the start and overnight handling is enabled, one day is added.
How do I enter a full day?
Use equal start and end times and set extra complete days to one. Equal times with zero days mean zero duration.
Can I subtract breaks?
Yes. Enter total excluded minutes. Breaks cannot exceed the elapsed duration.
Does this account for daylight-saving changes?
No. It is clock arithmetic with 24-hour days. Use timezone-aware date tools when actual elapsed time crosses a clock change.
Can I save the result?
Yes. Download the text result or JSON report, or copy the result. Editing inputs invalidates the previous result until you calculate again.
Is my input uploaded for processing?
Processing runs in a local browser worker with no input upload and no account. Website advertising and analytics are described in the privacy information.
Help improve this tool
Report a problem or suggest an improvement
Describe the issue without pasting private tool input. Feedback goes to our admin inbox.
