Skip to content

Time Duration Calculator

Work out the hours, minutes and seconds between two times.

Calculated instantly in your browser.

Use 24-hour (17:15) or 12-hour (5:15 PM).

How do you calculate the time duration between two times?

A time duration calculator measures the elapsed time between a start and end time, showing it as hours and minutes plus total hours, minutes and seconds. If the end time is earlier than the start, it assumes the next day. For example, from 09:30 to 17:15 is 7 hours 45 minutes (7.75 hours, or 465 minutes) — handy for timesheets and shifts.

Understanding your result

Useful for timesheets, shift lengths and billing. If the end time is earlier than the start, the calculator assumes it’s on the following day.

Assumptions and limitations

The calculator works with clock times within a single day, or one overnight rollover, rather than multi-day spans or full calendar dates. It does not subtract unpaid breaks, apply overtime rules, or account for time zones. Results are elapsed time only, so any deductions or pay calculations must be handled separately.

Worked example

From 09:30 to 17:15 is 7 hours 45 minutes (7.75 hours, or 465 minutes).

How to use this tool

  1. Enter the start time and end time.
  2. Tick “next day” if the end time is after midnight.
  3. Press Calculate.

About the Time Duration Calculator

The Time Duration Calculator measures the elapsed time between two clock times and shows it as hours and minutes plus total hours, minutes and seconds.

Who should use this tool

Ideal for anyone converting clock times into a usable total: shift workers and managers logging hours, freelancers billing by time, students timing study sessions, and anyone verifying how long an activity actually took. If you know a start and end time and need the elapsed span cleanly, this is for you.

Benefits

  • Converts two clock times into hours and minutes instantly
  • Also gives decimal hours, handy for billing and timesheets
  • Assumes the next day when the end time is earlier
  • Works entirely in your browser, nothing to install

Practical use cases

  • Totalling the length of a work shift
  • Billing a client by decimal hours
  • Timing how long a task took
  • Checking hours worked across an overnight period

Explore all Date and Time tools

Frequently asked questions

Can it handle overnight shifts?

Yes. Tick the “next day” box, or simply enter an end time earlier than the start and it spans midnight automatically.

Why does it show decimal hours as well as hours and minutes?

Decimal hours make billing and payroll simpler because they multiply cleanly by an hourly rate. For example, 7 hours 45 minutes equals 7.75 hours. The calculator shows both forms so you can read the duration naturally and also drop it straight into a spreadsheet.

Does it subtract lunch or breaks from the total?

No. The tool reports the raw elapsed time between the start and end you enter. It has no knowledge of unpaid breaks, so if you need to deduct a lunch period, either calculate each segment separately or subtract the break time from the result yourself.

Share this tool

Free to use — copy the link, share it anywhere, or add the tool to your own website.

Embed this tool on your site (free)

Copy this code and paste it into any web page — it stays free and always up to date: