Elapsed Time Calculator

Calculate the duration between two times or find the end time when you know the duration. Supports both 12-hour and 24-hour formats, with automatic handling of overnight calculations.

Time Calculator

: :
: :
⏱️
Elapsed Time
10h 20m 0s
between 3:40 AM and 2:00 PM
Start Time
End Time
Hours
10
Minutes
20
Seconds
0

Alternative Formats

Total Minutes: 620
Total Seconds: 37,200
Decimal Hours: 10.33
Days: 0.43

What is Elapsed Time?

Elapsed time is the amount of time that passes between a starting point and an ending point. It's one of the most fundamental calculations we make daily—from tracking work hours to timing cooking recipes, from measuring exercise duration to calculating how long until an event.

This calculator helps you find the duration between two times or determine what time it will be after a certain period passes. It handles both 12-hour (AM/PM) and 24-hour (military) time formats.

How to Calculate Elapsed Time

The basic method involves three steps:

Step 1: Convert to 24-Hour Format

If using 12-hour format, convert both times to 24-hour format for easier calculation:

  • 12:00 AM = 00:00 (midnight)
  • 12:00 PM = 12:00 (noon)
  • For PM times (except 12 PM), add 12 hours
  • For AM times (except 12 AM), keep as is

Step 2: Subtract the Times

Subtract the start time from the end time. Handle each unit separately:

  • Subtract seconds first
  • If seconds are negative, borrow 60 from minutes
  • Subtract minutes, borrowing from hours if needed
  • Subtract hours

Step 3: Handle Overnight (if applicable)

If the end time is earlier than the start time (crosses midnight), add 24 hours to the end time before calculating.

Example: 3:40 AM to 2:00 PM
  1. Convert: 3:40 and 14:00 (2 PM = 14:00)
  2. Subtract: 14:00 - 3:40
  3. 14:00 - 3:40 → 13:60 - 3:40 (borrow for minutes) → 10:20
  4. Result: 10 hours 20 minutes

The Borrowing Method Explained

When subtracting times, you may need to "borrow" from larger units, similar to subtraction with regular numbers:

14:00 - 3:40
= (14-1):(00+60) - 3:40
= 13:60 - 3:40
= 10:20

Since we can't subtract 40 minutes from 0 minutes, we borrow 1 hour (60 minutes) from the hours column. This changes 14:00 to 13:60, making subtraction possible.

Time Conversion Reference

12-Hour 24-Hour 12-Hour 24-Hour
12:00 AM00:0012:00 PM12:00
1:00 AM01:001:00 PM13:00
2:00 AM02:002:00 PM14:00
3:00 AM03:003:00 PM15:00
4:00 AM04:004:00 PM16:00
5:00 AM05:005:00 PM17:00
6:00 AM06:006:00 PM18:00
7:00 AM07:007:00 PM19:00
8:00 AM08:008:00 PM20:00
9:00 AM09:009:00 PM21:00
10:00 AM10:0010:00 PM22:00
11:00 AM11:0011:00 PM23:00

Common Use Cases

Work Hours Tracking

Calculate how many hours you've worked by subtracting your start time from your end time. Remember to subtract your lunch break!

Example: Work day calculation
  • Clock in: 8:30 AM
  • Clock out: 5:15 PM
  • Lunch: 1 hour
  • 17:15 - 8:30 = 8 hours 45 minutes
  • 8:45 - 1:00 = 7 hours 45 minutes worked

Cooking and Baking

Set a timer by calculating when something will be done based on the current time and cooking duration.

Travel Planning

Calculate arrival times based on departure time and travel duration, accounting for time zones if necessary.

Exercise and Fitness

Track workout duration, running times, or rest intervals between sets.

Calculator Modes

Calculate Duration

Enter a start time and end time to find out how much time passed between them. The calculator automatically handles overnight calculations when enabled.

Calculate End Time

Enter a start time and duration to find out what time it will be. Useful for setting reminders or planning schedules.

Tips for Time Calculations

Frequently Asked Questions

How do I calculate time that crosses midnight?

Enable the "overnight" option, or mentally add 24 hours to the end time. For example, from 10 PM to 2 AM: 10 PM to midnight = 2 hours, midnight to 2 AM = 2 hours, total = 4 hours.

What's the difference between 12:00 AM and 12:00 PM?

12:00 AM is midnight (the start of a new day), and 12:00 PM is noon (the middle of the day). This is one of the most confusing aspects of 12-hour time!

How do I convert decimal hours to minutes?

Multiply the decimal part by 60. For example, 3.75 hours = 3 hours + (0.75 × 60) = 3 hours 45 minutes.

Why does my calculation seem wrong?

Common issues include: mixing up AM/PM, forgetting to account for overnight time, or using the wrong date. Double-check your inputs and consider whether the duration crosses midnight.