Time Duration Calculator
Find the time between two moments or add a duration to a time.
- Duration
- 0d 8h 30m
- Total hours
- 8.5
- Total minutes
- 510
All calculations run privately in your browser. Your dates and times are never sent anywhere.
About the Time Duration Calculator
This time duration calculator works two ways. It measures the elapsed time between two dates and times — returning days, hours, and minutes plus total hours and total minutes — and it adds or subtracts a duration to any starting time to find the resulting date and time. Overnight ranges that cross midnight are handled automatically, making it ideal for timesheets, shift lengths, and scheduling. It's fast, forgiving, and runs entirely in your browser.
Time Duration Calculator features
- 01
Duration between two times
Pick two dates and times and get the gap broken down into days, hours, and minutes, along with the totals in hours and minutes.
- 02
Add or subtract time
Start from any date and time, then add or subtract days, hours, and minutes to land on the exact resulting moment and weekday.
- 03
Overnight-aware
When an end time falls earlier than the start on the same day, the calculator treats it as an overnight span and counts the hours correctly.
Time Duration Calculator FAQ
- How do I calculate the number of hours between two times?
- Enter the start and end date and time and the calculator returns the difference as days, hours, and minutes, plus the total number of hours and minutes. It's ideal for working out shift lengths.
- How does it handle overnight shifts that cross midnight?
- If the end time is earlier than the start time on the same date, the calculator assumes the range runs overnight and adds the extra day so the duration comes out positive and correct.
- How do I add hours and minutes to a time?
- Switch to add/subtract mode, set a starting date and time, choose add or subtract, and enter days, hours, and minutes. The result shows the new date, time, and day of the week.
- Can I calculate duration across different days?
- Yes. Both the start and end include a full date, so the calculator correctly spans multiple days, weeks, or longer, not just times within a single day.
- Is the time duration calculator private and free?
- Yes. It's free with no sign-up and computes everything locally in your browser, so your dates and times are never sent anywhere.
Related tools
Utility →- Live
Age calculator
Calculate your exact age in years, months, days, weeks, hours and minutes — from any birthday to any reference date.
UtilityFreeRuns locallyOpen - Live
Date calculator
Count days between two dates, or add/subtract days, weeks, months and years from any date. Business days and calendar breakdowns included.
UtilityFreeRuns locallyOpen - Live
Tip calculator
Calculate tips and split the bill — adjust the tip percentage, round the total, and see per-person amounts in any currency.
UtilityFreeRuns locallyOpen
Explore other tools
All tools →- Live
Protect PDF
Password-protect a PDF in your browser. Add encryption so the file can't be opened without your password, then download the protected copy.
PDFFreeRuns locallyOpen - Live
Indian Passport Photo Maker (2×2)
Create a 2×2 inch (51×51 mm) Indian passport photo online — white background, free and private in your browser.
ImageFreeRuns locallyOpen - Live
MP4 to MKV
Convert MP4 videos to MKV (Matroska) in your browser — files never leave your device.
VideoFreeRuns locallyOpen - Live
Volume Booster
Increase the volume of an audio file, or normalize it.
AudioFreeRuns locallyOpen - Live
Markdown viewer
Preview Markdown as rendered HTML in your browser.
DocumentFreeRuns locallyOpen