Time Duration Calculator

This free time duration calculator allows you to calculate the exact difference between two dates or times in years, months, days, hours, minutes, and seconds. Explore different time duration concepts here as well.

Time Duration Calculator

Hour (0-23)
Minute
Second
Hour (0-23)
Minute
Second
Please enter valid times.
Total Duration
0
Hours
0
Minutes
0
Seconds
Total Seconds
0

Time Duration Calculator

Most people are bad at calculating time in their head. Not because they’re not smart, but because our time system is genuinely awkward. You’ve got (60 seconds) in a minute, (60 minutes) in an hour, (24 hours) in a day, and months that refuse to agree on how many days they have. It adds up to a lot of room for error.

Using a time duration calculator online removes that guesswork completely. Put in a start time and an end time, hit calculate, and you get the exact duration in days, hours, minutes, and seconds. That’s it. 

How to use the time duration calculator

It’s a pretty simple tool. Here’s how it works:

  1. Pick your start date and time. This is the moment your period begins.
  2. Pick your end date and time. This is when it ends or when your deadline falls.
  3. Click Calculate. Your result shows up right away.
  4. Read the breakdown. You’ll see the full split by days, hours, minutes, and seconds, plus the total in hours and minutes.

The time duration calculator between two times works the same way for same-day spans as it does for multi-week or multi-month gaps. You don’t need to switch modes or adjust any settings.

Only care about the date gap and not specific times? Just leave the time fields blank. The calculator will work as a plain date duration calculator.

The results always show complete units. If your time span is 120.5 days, you’ll see 120 days and 12 hours, not 120.5 days. Hours appear as decimals when needed, (3 hours 59 minutes) shows as (3.98 hours).

When do people actually use this?

Quite a lot of situations call for knowing the exact time between two points. Here are the most common ones:

Work deadlines and project timelines

You’ve got a deliverable due on Friday at 5 PM. Right now it’s Tuesday morning. A time duration calculator hours breakdown is especially useful here, knowing you have (77 hours) left is more actionable than knowing you have “about three days.”

Example:  A sprint ends Thursday at 6 PM. Today is Monday at 9 AM. You have exactly (81 hours), not 3.5 days. That difference shapes how you split the work across the week.

Travel planning

Flights that cross midnight, layovers, road trips with time zone changes. Knowing the actual travel time from departure to arrival helps with planning connections and booking hotels.

Example:  Departure is 10:40 PM Tuesday. Arrival is 6:15 AM Wednesday. That’s (7 hours 35 minutes) in the air. Knowing this helps you decide whether to sleep on the plane or hold off.

Counting down to events

Saying it’s in about three weeks is one thing. Knowing it’s (23 days and 14 hours) away is another. People use time calculators for birthdays, weddings, visa deadlines, and holiday countdowns more than you’d expect.

Example:  Your visa application needs submission (30 days) before travel. Trip starts March 15. The calculator tells you the deadline is February 13, which falls on a Wednesday, not a weekend.

Medical and health situations

How long ago was the last dose of medication? How many hours of sleep did someone get? These are situations where rough estimates don’t cut it.

Example:  A patient took their last antibiotic at 7:30 AM. The next dose is due (8 hours) later. The calculator confirms 3:30 PM, not “sometime in the afternoon.”

Legal and contract deadlines

Notice periods, warranty windows, statutory deadlines. The variable number of days per month is a common source of errors when doing this by hand.

Example:  A (90-day) warranty starts November 3. Does it end January 31 or February 1? The calculator says February 1. Getting this wrong by one day can void a claim.

Tracking work hours

A time duration calculator minutes output is handy when a client is billed by the minute, or when you need to total up several short sessions across a day.

Example:  Three sessions today: (9:10–11:45), (1:00–2:30 PM), and (4:15–5:50 PM). That’s 155 + 90 + 95 = (340 minutes) = (5 hours 40 minutes) billable.

Historical research

How many years have passed since a particular event? Researchers and students use time calculations to get a feel for scale and distance across history.

Example:  The Berlin Wall fell November 9, 1989. As of 2026, that’s (36 years and a few months) ago, more than a generation. Putting a number on it makes history feel less abstract.

Sports and athletic performance

Coaches track how long ago an athlete set a personal best. Race organizers calculate times between heats. Precise time tracking is basic infrastructure for any performance-oriented context.

Example:  A swimmer’s personal best was set August 4, 2023. Today is March 21, 2026. That’s (960 days), or about (2 years 7 months), since the record was set.

Daily commutes and routines

How long does your morning commute actually take, door to door? Small time sinks feel manageable until you add them up.

Example:  (40 minutes) each way, (5 days) a week = (80 minutes) daily = (400 minutes) weekly = roughly (346 hours) a year, or about (14.4 full days) spent just commuting.

A few things to keep in mind

A total time duration calculator only gives you the right answer if your inputs are right. Here are the things that most often catch people out:

  • Time zones matter. If your start and end times are in different parts of the world, convert both to the same time zone before entering them. Otherwise your result will be off by hours.
  • Daylight saving time can shift things. A time span that crosses a DST change is either (1 hour) shorter or longer than it looks. The calculator handles this automatically.
  • Calendar days and working days are different. If a contract says you have (10 business days), that is not the same as (10 calendar days). This tool counts calendar days.
  • 12:00 PM is noon, not midnight. Confusing these two adds or removes (12 hours) from your calculation in one keystroke. Always double check before you hit calculate.
  • Seconds matter in precision work. For SLAs, legal timestamps, or billing by the minute, rounding to the nearest minute introduces real errors at scale. Include seconds wherever possible. 

Key time duration formulas

These are the core formulas behind any time duration calculation. Whether you’re doing the math by hand or just want to understand what the calculator is doing, these are worth knowing.

Converting between time units

Everything comes down to seconds. Once you have a raw number in seconds, you can express it in any unit. (T) is total seconds, (d) is days, (h) is hours, (m) is minutes, and (s) is seconds.

\[\text{T} = (d \times 86,400) + (h \times 3,600) + (m \times 60) + s\]

To break seconds back into a readable format:

\[\text{d} = \text{floor} \; \text{(T / 86,400)}\]
\[\text{h} = \mathrm{floor}( \frac{ T \text{mod} 86,400 }{3,600})\]
\[\text{m} = \mathrm{floor}( \frac{ T \text{mod} 3,600 }{60})\]
\[ \text{s = T mod 60} \]

Worked example: You have (90,000) total seconds. Here are the steps:

\[ \, \text{Step} \, 1:  \frac{90,000}{86,400} = 1 \, \text{day} \,   \; \text{(remainder 3,600)}\]
\[ \, \text{Step} \, 2:  \frac{3,600}{3,600} = 1 \, \text{hour} \,   \; \text{(remainder 0)}\]
\[ \, \text{Step} \, 3:  \frac{0}{60} = 0 \, \text{minutes} \, \]
\[ \, \text{Result} \, :  1 \, \text{day} \, , 1 \, \text{hour} \, , 0 \, \text{minutes} \, , 0 \, \text{seconds} \, \]

Adding time durations

Add each unit separately, (seconds) to (seconds), (minutes) to (minutes), (hours) to (hours), then carry over when any unit hits its limit. The carry rules are: (60 seconds = 1 minute), (60 minutes = 1 hour), (24 hours = 1 day).

\[\text{Total} = (H1 + H2)h  +  (M1 + M2)m  +  (S1 + S2)s\]
\[     → \, \text{if s} \, > = 60: \, \text{carry} \, 1 \, \text{to minutes} \, \]
\[     → \, \text{if m} \, > = 60: \, \text{carry} \, 1 \, \text{to hours} \, \]
\[     → \, \text{if h} \, > = 24: \, \text{carry} \, 1 \, \text{to days} \, \]

Worked example: (1h 53min) + (2h 8min 22sec) + (46sec)

\[ \, \text{Step} \, 1:  \, \text{Hours} \, :   1 + 2 = 3h\]
\[ \, \text{Step} \, 2:  \, \text{Minutes} \, : 53 + 8 = 61min  → 1h , 1min  \; \text{(carry 1h)}\]
\[ \, \text{Step} \, 3:  \, \text{Seconds} \, : 22 + 46 = 68sec  → 1min , 8sec  \; \text{(carry 1min)}\]
\[ \, \text{Step} \, 4:  \, \text{Combine} \, : (3 + 1)h + (1 + 1)min + 8sec\]
\[ \, \text{Result} \, :  4h , 2min , 8sec\]

Subtracting time durations

Subtract each unit separately. If the end value of a unit is smaller than the start value, borrow from the next larger unit, (borrow 60) from minutes into seconds, or (borrow 60) from hours into minutes.

\[\text{Duration} = \, \text{End time} \,   −  \, \text{Start time} \, \]
\[        \, \text{if} \, end_m < start_m: end_h - = 1, end_m + = 60\]
\[            \, \text{if} \, end_s < start_s: end_m - = 1, end_s + = 60\]

Worked example: (07:39) to (16:28)

\[ \, \text{Step} \, 1:  \, \text{Minutes} \, : 28 - 39  → \, \text{borrow} \, : (60 + 28) - 39 = 49min\]
\[ \, \text{Step} \, 2:  \, \text{Hours} \, :   (16 - 1) - 7 = 8h  \; \text{(the -1 is the borrow)}\]
\[ \, \text{Result} \, :  8h , 49min\]

For whole-day subtraction, convert to seconds first. For example, (1 full day) minus (11 minutes 55 seconds):

\[ \, \text{Step} \, 1:  1 \, \text{day} \, = 86,400 \, \text{sec} \, \]
\[ \, \text{Step} \, 2:  11min , 55sec = (11 \times 60) + 55 = 715 \, \text{sec} \, \]
\[ \, \text{Step} \, 3:  86,400 - 715 = 85,685 \, \text{sec} \, \]
\[ \, \text{Step} \, 4:  \frac{85,685}{3,600} = 23h  \; \text{(remainder 2,285)}\]
\[ \, \text{Step} \, 5:  \frac{2,285}{60} = 38min  \; \text{(remainder 5)}\]
\[ \, \text{Result} \, :  23h , 48min , 5sec\]

Multiplying time

Useful when you know how long one unit takes and need to scale it up. Multiply (hours), (minutes), and (seconds) separately, then carry over. For a multiplier (n):

\[\text{Result} = (h \times n)h  +  (m \times n)m  +  (s \times n)s\]
\[      → \, \text{convert each unit and carry as needed} \, \]

Worked example: (3h 43min 11sec) × 6

\[ \, \text{Step} \, 1:  \, \text{Hours} \, :   3 \times 6 = 18h\]
\[ \, \text{Step} \, 2:  \, \text{Minutes} \, : 43 \times 6 = 258min  → 4h , 18min  \; \text{(carry 4h)}\]
\[ \, \text{Step} \, 3:  \, \text{Seconds} \, : 11 \times 6 = 66sec  → 1min , 6sec  \; \text{(carry 1min)}\]
\[ \, \text{Step} \, 4:  \, \text{Combine} \, : (18 + 4)h + (18 + 1)min + 6sec\]
\[ \, \text{Result} \, :  22h , 19min , 6sec\]

Real-world example:  You painted (1/5) of a fence in (23 minutes). Multiply by 5: (23 × 5 = 115 minutes) = (1 hour 55 minutes) for the whole fence.

Dividing time

Useful for splitting a total duration into equal parts, scheduling shifts, dividing a project into phases, or finding what fraction of a period something takes. Convert to the smallest unit first, divide, then convert back.

\[\text{Result} = \, \text{Total duration} \,   /  \, \text{Divisor} \, \]
\[     → \, \text{convert to smallest unit} \, , \, \text{divide} \, , \, \text{convert back} \, \]

Worked example 1: (2-week holiday), spend (1/3) at the beach

\[ \, \text{Step} \, 1:  2 \, \text{weeks} \, = 14 \, \text{days} \, = 336 \, \text{hours} \, = 20,160 \, \text{minutes} \, \]
\[ \, \text{Step} \, 2:  \frac{20,160}{3} = 6,720 \, \text{minutes} \, \]
\[ \, \text{Step} \, 3:  \frac{6,720}{60} = 112 \, \text{hours} \, \]
\[ \, \text{Step} \, 4:  \frac{112}{24} = 4 \, \text{days} \,   \; \text{(remainder 16 hours)}\]
\[ \, \text{Result} \, :  4 \, \text{days} \, 16 \, \text{hours at the beach} \, \]

Worked example 2: (3 weeks) divided into (5) equal work blocks

\[ \, \text{Step} \, 1:  3 \, \text{weeks} \, = 21 \, \text{days} \, = 504 \, \text{hours} \, = 30,240 \, \text{minutes} \, \]
\[ \, \text{Step} \, 2:  \frac{30,240}{5} = 6,048 \, \text{minutes per block} \, \]
\[ \, \text{Step} \, 3:  \frac{6,048}{60} = 100h , 48min\]
\[ \, \text{Step} \, 4:  100h , 48min / 24 = 4 \, \text{days} \, 4h , 48min\]
\[ \, \text{Result} \, :  4 \, \text{days} \, 4 \, \text{hours} \, 48 \, \text{minutes per block} \, \]

Commute time formula

Multiply the one-way trip time by (2) for a round trip, then multiply by the number of working days. Divide by (60) to convert from minutes to hours.

\[\text{Monthly commute hours} = \frac{ \text{One Way Min} \times 2 \times \, \text{Working Days} \, }{60}\]

Worked example: (35-minute) one-way commute, (20) working days per month

\[ \, \text{Step} \, 1:  35 \times 2 = 70 \, \text{minutes per day} \, \; \text{(round trip)}\]
\[ \, \text{Step} \, 2:  70 \times 20 = 1,400 \, \text{minutes per month} \, \]
\[ \, \text{Step} \, 3:  \frac{1,400}{60} = 23.3 \, \text{hours} \, \]
\[ \, \text{Result} \, :  23.3 \, \text{hours a month} \, , \, \text{almost a full working day} \, , \, \text{just commuting} \, \]

Quick reference: time unit conversions

UnitEqualsIn seconds
1 minute60 seconds60
1 hour60 minutes3,600
1 day24 hours86,400
1 week7 days604,800
1 month (avg)30.44 days2,629,800
1 year (365 days)365 days31,536,000
1 leap year366 days31,622,400

How to calculate time duration by hand

Sometimes you’re not near a computer. Here’s how to do it yourself without making mistakes.

Step 1: Switch to 24-hour time

The fastest way to avoid AM/PM confusion is to convert both times to (24-hour format), the same system a military time duration calculator uses. The rule: for PM times from (1:00 PM) to (11:59 PM), add (12). For (12:00 AM midnight), use (00:00). For (12:00 PM noon), it stays (12:00).

12-hour time24-hour timeNotes
12:00 AM00:00Midnight, use 00:00
6:30 AM06:30Morning, no change
12:00 PM12:00Noon, no change
1:00 PM13:00Add 12
4:28 PM16:28Add 12
11:59 PM23:59Add 12

Step 2: Subtract hours and minutes separately

Work on each unit on its own. Borrow (60 minutes) from hours if needed. Borrow (60 seconds) from minutes if needed.

Example A: (07:39) to (16:28)

\[ \, \text{Step} \, 1:  \, \text{Minutes} \, : 28 - 39  → \, \text{borrow} \, : (60 + 28) - 39 = 49min\]
\[ \, \text{Step} \, 2:  \, \text{Hours} \, :   (16 - 1) - 7 = 8h\]
\[ \, \text{Result} \, :  8h , 49min\]

Example B: (08:15) to (17:00)

\[ \, \text{Step} \, 1:  \, \text{Minutes} \, : 00 - 15  → \, \text{borrow} \, : (60 + 00) - 15 = 45min\]
\[ \, \text{Step} \, 2:  \, \text{Hours} \, :   (17 - 1) - 8 = 8h\]
\[ \, \text{Result} \, :  8h, 45min, a \, \text{standard full workday} \, \]

Step 3: Handle spans across multiple days

For shift workers or anyone using a time duration calculator with breaks factored in, calculate each continuous block separately and add the totals together at the end. For multi-day spans, convert to total seconds, then break back down.

Example with breaks:  A nurse works (7:00 AM to 3:30 PM) with a (45-minute) unpaid break. Total span = (8h 30min). Minus break = (7h 45min) paid. Across 5 days: (5 × 465 minutes = 2,325 minutes = 38h 45min) for the week.

86,400 is the one number worth memorising. It’s the total seconds in a day, and it unlocks any large time duration calculation.

Why do we measure time the way we do?

If you’ve ever wondered why there are (60 seconds) in a minute instead of (100), the answer goes back about (4,000 years).

The Babylonian legacy

The base-60 number system came from ancient Babylon. The Babylonians liked (60) because it divides evenly by (1, 2, 3, 4, 5, 6, 10, 12, 15, 20, and 30). That made it incredibly useful for trade and astronomy. The system outlasted the civilization that invented it by several millennia and still governs every clock on earth today.

The 12-hour day from ancient Egypt

The Egyptians divided daylight into (10 hours), added (1) for dawn and (1) for dusk, and tracked (12 hours) of darkness using 36 groups of stars called Decans. When these two systems merged, the (24-hour day) appeared. It has looked the same ever since.

Atomic clocks and why they matter

A regular clock doesn’t know what time it is, it just counts from whenever you last set it. When you use an on the clock time duration calculator tied to live system time, those readings trace back to atomic clock signals accurate to within (1 second) every (300 million years). That’s the standard every time zone on earth is built around.

The failed experiment with decimal time

In (1793), France tried replacing the (24-hour clock) with a (10-hour day). Each hour had (100 minutes), each minute had (100 seconds). It didn’t work. Within (17 months), decimal time was abolished. The last serious proposal came from the Bureau des Longitudes in (1897), which suggested keeping (24 hours) but dividing each hour into (100 decimal minutes). That also failed. People are very attached to the clock they grew up reading.

 Final thought

We tend to underestimate how much time things actually take, and overestimate how much time we have left. It’s one of the most common reasons projects run late, deadlines get missed, and plans fall apart.

A calculator won’t fix that tendency on its own. But it removes the one thing that makes it worse, not knowing the actual number. Once you know you have (54 hours), not “about two days”, your brain starts planning differently. You stop rounding. You stop assuming. You start being honest with yourself about what fits and what doesn’t.

That’s what this tool gives you. Not just a number, but a clearer picture of the time you actually have. Use it before you commit to a deadline. Use it when you’re tracking hours. Use it when something feels urgent but you’re not sure how urgent it really is.

Time is the one resource you can’t get back. Knowing exactly how much of it you have, or how much of it has already passed, is always worth the five seconds it takes to check.

Frequently Asked Questions

How many seconds are in a day?

Answer: (86,400). That comes from (24 hours) × (60 minutes) × (60 seconds). Over a full year of (365 days), that adds up to (31,536,000 seconds). In a leap year, it’s (31,622,400).

How do I calculate the number of days between two dates manually?

Answer: Subtract the two years and subtract (1) to get whole years between them. Then count the remaining months and days. For a rough number, multiply years by (365), months by (30.5), and add the remaining days. For an exact count, use the calculator, February and month-length variation make manual counting error-prone.

Does this calculator handle leap years?

Answer: Yes. When you enter specific dates, the calculator knows exactly how many days are in each month for that year, including (February 29) in a leap year. You don’t need to think about it.

What’s the difference between ‘time elapsed’ and ‘time since’?

Answer: They mean the same thing but people use them differently. ‘Time elapsed’ usually applies to shorter ongoing spans, like the time elapsed in a sports game or since an exam started. ‘Time since’ tends to refer to longer historical periods. The calculation is identical either way.

Can I use this calculator across time zones?

Answer: The calculator measures the gap between two times you enter. It doesn’t convert time zones for you. Sites like an easy surf time duration calculator tool can help if you need quick zone conversion first, but the safest approach is to convert both your times to (UTC) before entering them here. That way your result will be accurate regardless of where each time originated.

Why don’t we use decimal time?

Answer: Decimal time has been proposed many times, most seriously during the French Revolution. Sites that serve as a time duration calculator hub often get asked about this, and the answer is always the same: decimal time failed because it required replacing every timepiece and relearning a system billions of people had already internalised. Every serious proposal has run into the same wall.

What’s the most accurate way to measure time?

Answer: Atomic clocks. They work by measuring the natural oscillation frequency of atoms, which doesn’t drift or vary. The cesium atomic clock underpins (UTC) and is accurate to within (1 second) over hundreds of millions of years. GPS satellites carry atomic clocks on board, that’s what makes navigation accurate to within a few meters.

How many years ago was a given year?

Answer: Simple subtraction: current year minus the year in question. As of (2026), the year (1980) was (46 years) ago. For anything where the exact month matters, use the calculator to include months and days, not just the year.