Time Duration Calculator

Calculate duration between times.

FreeNo accountOn your device

Runs in your browser. How to verify

Loading tool…

About this tool

Choose a start and an end date to see the duration as days, hours, minutes and seconds, plus the total number of seconds. The order of the dates does not matter; the result is always positive.

How to use

1
Step 1
Choose the start date.
2
Step 2
Choose the end date.
3
Step 3
Press Calculate to see the duration breakdown.

How it works

The total is the elapsed time in seconds, which is then split into whole days, hours, minutes and seconds. Because the inputs are dates, the time of day is midnight, so the breakdown is normally whole days. Convert yourself for other units: days × 24 for hours, × 1,440 for minutes.

total seconds = |end − start|      days = floor(seconds ÷ 86,400), then hours, minutes and seconds from the remainder

Worked example

1 to 15 June 2026

Input
Start 2026-06-01; end 2026-06-15
Output
14 days, 0 hours, 0 minutes, 0 seconds (1,209,600 seconds)
Walkthrough
14 days × 86,400 seconds in a day = 1,209,600 seconds. In hours that is 14 × 24 = 336.

Limitations

  • Date inputs only; for two clock times on the same day use Hours Between Times.
  • A daylight-saving change inside the range can make the total an hour short or long.

Questions

How many seconds are there between 1 and 15 June 2026?
1,209,600 seconds, which is exactly 14 days.
How many hours are in 14 days?
14 × 24 = 336 hours.
Does the order of the dates matter?
No. The tool returns the absolute gap, so swapping the dates gives the same duration.
How do I get the duration between two clock times?
Use the Hours Between Times Calculator for times within the same day.

Features

  • Days, hours, minutes, seconds
  • Total seconds
  • Runs in your browser

Related resources

Guides and videos from around the web—opens on YouTube or the publisher’s site.

  • Compound interest introduction

    Khan Academy

    Core finance math behind interest and loan calculators.

    Watch on YouTube
  • Percentage of a whole number

    Khan Academy

    Percent-of problems for everyday calculator pages.

    Watch on YouTube