Time Duration Calculator

Calculate an exact duration between two times — hours, minutes and seconds, plus total minutes, total seconds and decimal hours.

Advanced options

Calculations happen in your browser. The times you enter are never uploaded and are not sent to analytics.

What You Get

  • Duration in hours, minutes and seconds
  • Total minutes and total seconds for exact planning
  • Decimal hours for timesheets and payroll
  • Automatic overnight handling when the end time is earlier than the start

Seconds Precision

Seconds are included by default on this page. Enter times as HH:MM:SS and the calculator keeps whole-second precision from start to finish — no rounding happens until the final display.

Overnight Durations

If the end time is earlier than the start time, the duration is assumed to cross midnight and 24 hours are added. You can force same-day handling in the advanced options to get a clear error instead.

Frequently Asked Questions

Can I calculate a duration longer than 24 hours?

A single clock-time range is limited to one day. For multi-day durations, add several durations with the add time calculator.

How do I get decimal hours as well?

Decimal hours are shown in the results next to the hours and minutes.

Does it deduct breaks?

Yes — enter break minutes in the advanced options and they are subtracted from the duration.