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.
- Convert: 3:40 and 14:00 (2 PM = 14:00)
- Subtract: 14:00 - 3:40
- 14:00 - 3:40 → 13:60 - 3:40 (borrow for minutes) → 10:20
- 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-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 AM | 00:00 | 12:00 PM | 12:00 |
| 1:00 AM | 01:00 | 1:00 PM | 13:00 |
| 2:00 AM | 02:00 | 2:00 PM | 14:00 |
| 3:00 AM | 03:00 | 3:00 PM | 15:00 |
| 4:00 AM | 04:00 | 4:00 PM | 16:00 |
| 5:00 AM | 05:00 | 5:00 PM | 17:00 |
| 6:00 AM | 06:00 | 6:00 PM | 18:00 |
| 7:00 AM | 07:00 | 7:00 PM | 19:00 |
| 8:00 AM | 08:00 | 8:00 PM | 20:00 |
| 9:00 AM | 09:00 | 9:00 PM | 21:00 |
| 10:00 AM | 10:00 | 10:00 PM | 22:00 |
| 11:00 AM | 11:00 | 11:00 PM | 23: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!
- 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
- Double-check AM/PM: A common error is confusing AM and PM, especially around noon and midnight
- Account for overnight: If your end time appears earlier than your start time, the duration crosses midnight
- Use 24-hour format: Fewer errors occur with 24-hour time since there's no AM/PM confusion
- Round appropriately: For practical purposes, rounding to the nearest 5 or 15 minutes is often sufficient
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.