Time Duration Calculator — Free Online | EverydayCalcSkip to main content
everydaycalc.

Find calculators and file viewers

Press Esc to close · / or Ctrl+K to open

Home›Dates & Time›Time Duration Calculator
Dates & Time

Time Duration Calculator

Calculate elapsed hours and minutes between two 24-hour clock times, including overnight intervals.

✦ INSTANT CALCULATION

Time Duration Calculator

YOUR RESULT
—

ⓘ Calculated locally in your browser. Results depend on the values and units you enter.

How this calculator works

Use 24-hour times such as 09:15 and 17:45. The difference appears in minutes and decimal hours. With overnight mode on, an ending time earlier than the start means the next day. This is a clock-time calculation and does not account for unpaid breaks, real dates, time zones or daylight-saving transitions.

Formula and reasoning

minutes = end − start (wrap over midnight)

  1. 1. Start with the measurements
    Start time (24h HH:MM)09:15End time (24h HH:MM)17:45If end is earlier than startContinue into next day
  2. 2. Substitute into the formula

    Start time (24h HH:MM) = 09:15 ? End time (24h HH:MM) = 17:45 ? If end is earlier than start = yes

  3. 3. Check the computed answer

    Result for the sample inputs510

Worked example

From 09:15 to 17:45 is 8 hours 30 minutes (8.5 decimal hours). From 22:00 to 06:00 overnight is 8 hours.

Frequently asked questions

Can I calculate overnight working hours?

Yes. Choose Continue into next day when the finish time is earlier than the start.

Are breaks automatically deducted?

No. Subtract break time yourself; the calculation uses the entire elapsed clock interval.

Results are informational and assume the stated inputs and formulas. Double-check critical financial or engineering decisions with a qualified professional.

Add this calculator to your website

Share a working calculator on your blog or website. Choose a fixed size or let the height fit the content.

Fixed height

Works on websites that accept iframe HTML.

Responsive height

Automatically adjusts the height. Your website must allow scripts.

Open calculator preview ↗

Powered by EverydayCalc