Time Duration Calculator
Calculate duration between two times on the same day.
Enter the details
Add the information requested below to get your result.
Your entries are used to produce the result in this browser.
Share or download
How to use this tool
What does the Time Duration Calculator do?
Calculate duration between two times on the same day. Enter the details above to see the result. The notes below explain the calculation method, any published formula, a worked example and important limitations.
When to use this tool
Calculate duration between two times on the same day. Have Start time (HH:MM) and End time (HH:MM) ready before you start. Check your date format and time zone, especially when a calculation crosses midnight or a calendar boundary.
How to use the Time Duration Calculator
- Enter the requested information: Start time (HH:MM), End time (HH:MM).
- Check each value, date, text entry, or unit before continuing.
- Tap the main button to see your result.
- Review the result and use Copy result when you need to reuse it.
- Choose Clear to remove the entries and start again.
Formula and calculation method
The selected dates and times are compared using the calendar rules built into the browser. You supply Start time (HH:MM), End time (HH:MM). Time zones and date boundaries can affect the answer; public holidays are not added unless the form says so.
This tool may use a processing rule, conversion factor, validation step or generation method rather than one standalone equation. The method above describes how its output is produced.
Time Duration Calculator worked example
Example inputs: Start time (HH:MM): 09:30; End time (HH:MM): 17:45. Example output: 8 hours and 15 minutes
Inputs required
- Start time (HH:MM)
- End time (HH:MM)
Accuracy and limitations
Date and time results may depend on your browser timezone. Public holidays are not automatically included unless the tool specifically says so. Results are generated by the method built into this tool. Rounding, input format, unit selection, and assumptions can affect the output. For important decisions, verify the result independently with an appropriate trusted source.
Part of Time Calculators.
Sources and further reading
These external references support the standards, concepts or browser methods related to this tool. The exact assumptions used by this calculator are described above.
- JavaScript Date reference — MDN Web DocsExplains date/time values, UTC timestamps and browser date handling.
- Representing dates and times — MDN Web DocsBackground on the Unix epoch and date/time representation in JavaScript.
Frequently asked questions
What do I need to enter?
Start with Start time (HH:MM), End time (HH:MM). Follow the field labels and keep units and formats consistent.
How is the result worked out?
The selected dates and times are compared using the calendar rules built into the browser. You supply Start time (HH:MM), End time (HH:MM). Time zones and date boundaries can affect the answer; public holidays are not added unless the form says so.
What should I double-check?
Check the chosen dates, time zone and whether the calculation includes or excludes the start date.