Time Duration Calculator

Calculate the duration between two times

Time Range

Duration

8h 0m
Total Minutes480
Total Seconds28800
Decimal Hours8.00

Time Duration Calculator

Calculate the duration between two times

Features

  • Compute the duration between two times of day (hh:mm:ss)
  • Automatically wraps past midnight: 22:00 → 02:00 reads 4 hours, not negative
  • Output in hours+minutes+seconds, total minutes, total seconds, and decimal hours
  • Useful for timesheet entries, shift planning, billing in hours
  • Runs entirely in your browser

How to use

  1. Enter your input data in the provided field.
  2. Configure any options as needed.
  3. View the results instantly and copy or download the output.

Tips & Best Practices

  • Cross-midnight durations are handled — start 22:00 and end 02:00 returns 4 hours.
  • Decimal hours (e.g., 4.5 h instead of 4h 30m) is the format most timesheet/billing tools want.
  • The total-seconds output is useful when feeding into a script or formula.
  • This tool works with times-of-day only. For durations spanning more than one calendar day, use days-until-calculator.
  • Everything is computed locally.

FAQ

Is this tool free to use?

Yes, completely free with no registration, no limits, and no hidden costs.

Is my data private?

All processing happens in your browser. No data is ever sent to any server or third party.

Does it work offline?

Once loaded, the tool works entirely offline. All processing is done client-side with JavaScript.

Which browsers are supported?

Works in Chrome, Firefox, Safari, Edge, and all modern browsers on desktop and mobile.

Can I use the results commercially?

Yes, all output is yours to use freely in any personal or commercial project without restrictions.