Loading the interface. JavaScript is required; controls stay disabled until ready.
Clear totals, useful details and the method behind them.
Fill in your details and select Calculate duration. Your result will appear here.
How to calculate the time between two times
Subtract the start time from the finish time. If an interval crosses midnight, add the following day or enter both dates. From 09:00 to 17:30 on the same day is 8 hours 30 minutes, which is 8.5 decimal hours.
Use the time duration calculator
- Enter the start and finish using the 24-hour clock. For example, 3:30 PM is 15:30; midnight is 00:00.
- For a dated interval, fill in both start and end dates. Leave both blank for a simple clock-time comparison.
- Without dates, enable the next-day option when the finish time is earlier than the start.
- Select Calculate duration and review the hours, minutes and seconds before copying the result.
Formula and overnight example
Convert times to seconds since midnight; add calendar-day differences when dates are supplied, or one day for an earlier undated end when overnight is enabled.
23:30 to 00:15 with overnight enabled is 45 minutes or 2,700 seconds.
For the overnight example, there are 30 minutes from 23:30 to midnight and another 15 minutes to 00:15. Adding them gives 45 minutes. Equal times without dates mean zero duration; to represent a full day, enter consecutive dates.
Do equal start and end times mean 24 hours?
Without dates, equal times represent zero elapsed time here. If you mean 09:00 today to 09:00 tomorrow, enter both dates so the extra day is explicit. For an interval longer than one day, dates also prevent the ambiguity of assuming that every earlier finish time means the following day.
Hours and minutes versus decimal hours
Convert the remaining minutes to a fraction of an hour by dividing by 60. An interval of 8 hours 30 minutes is 8 + 30 ÷ 60 = 8.5 hours. It is not 8.30 decimal hours. An interval of 1 hour 45 minutes equals 1.75 hours.
Work shifts, breaks and timezone limits
For a shift from 09:00 to 17:30 with a 30-minute unpaid break, the clock interval is 8 hours 30 minutes and the time after subtracting that break is 8 hours. This tool does not automatically subtract breaks or determine payable hours.
Use both dates or neither. Equal undated times mean zero. Wall-clock arithmetic does not model actual elapsed time across daylight-saving transitions or different timezones. This matters for users in the US, UK and Australia: use times on the same local clock, and check dated, timezone-aware timestamps for travel or daylight-saving changes. The displayed interval is not a payroll or employment-law determination.
For a comparison of whole calendar dates, use the date difference calculator. For an interval expressed as a date-based age, use the age calculator.
Questions and answers
Does this account for daylight saving?
No. It compares civil times without a timezone; provide timezone-aware timestamps elsewhere for actual elapsed duration.
Choose your next task
- Date difference calculator: Measure a calendar-date interval when clock times are not needed.
- Unix timestamp converter: Inspect absolute timestamp values separately from local clock arithmetic.
- Freelance take-home calculator: Use a checked work-duration estimate when reviewing project hourly earnings.