← Back

How-to guide

How to Calculate Duration Online Free

How long did something last? How much time passed between two events? How long until a deadline? This guide shows how to calculate the duration between two dates and times — in hours, minutes and seconds, with totals in days — using a free counter that updates live as you change either date. Use the free duration counter below to work out any time gap in seconds.

Calculate a duration free →

How to Calculate Duration — step by step

  1. Enter the start date and time, or press “Set start to now”.
  2. Enter the end date and time, or press “Set end to now” — “Swap start / end” flips the two.
  3. Read the result: it updates live as you change either date and time.
  4. Read the duration in hours, minutes and seconds, and the totals in days, hours, minutes and seconds.

Tips

Frequently asked questions

What if the end is before the start?

The result is shown as zero, and you can swap the dates to see the positive duration.

Can I measure a duration longer than a day?

Yes. The tool counts the full gap between the two dates, however many days it covers.

What if the end time is earlier than the start time?

The result is shown as zero for that combination. Swap the two values to see the positive duration.