Elapsed Time Calculator
Enter a start time and an end time to find the exact duration between them in days, hours, minutes, and seconds. Or flip the mode to work backward: supply a start time and a duration to find when it ends, or supply an end time and a duration to find when it began. The calculator handles overnight spans, shows your work step by step, and breaks the total into unit columns.
What is elapsed time?
Elapsed time is the measured duration between a defined start point and a defined end point. It is the simplest answer to "how long did that take?" Every stopwatch, timer, and scheduling system relies on this concept. The measurement can range from a fraction of a second for a chemical reaction to billions of years for an astronomical process, but the arithmetic is always the same: subtract the start moment from the end moment.
How to calculate elapsed time
Convert each clock time to total seconds past midnight, then subtract. For example, 08:00:00 is 28,800 seconds (8 x 3,600) and 17:30:00 is 63,000 seconds (17 x 3,600 + 30 x 60). The difference is 63,000 - 28,800 = 34,200 seconds, which you then split into components: 34,200 / 3,600 = 9 hours, remainder 1,800 seconds = 30 minutes, 0 seconds. So 08:00 to 17:30 = 9 hours 30 minutes. When the end time falls on the following day (the span crosses midnight), add 86,400 seconds (one full day) before subtracting.
Crossing midnight and multi-day spans
Night-shift workers, event planners, and anyone tracking an overnight process often need to calculate a span that crosses midnight. The rule is simple: if end time is earlier on the clock than start time, and the event is continuous, add 86,400 seconds (one day) to the end. If the span covers more than one extra day - for instance a 36-hour process - add the appropriate multiple of 86,400. This calculator handles both cases: the "Crosses midnight" toggle adds one day, and the "Extra whole days" field lets you add any further complete days.
Reverse-solving: finding a missing start or end time
Sometimes you know the start time and how long something runs, and you need the end time - or you know when something ended and want to find when it started. Switch the mode selector to "End time" or "Start time" and enter the duration in hours, minutes, and seconds. The calculator adds or subtracts the duration from the known time and gives you the answer on a 24-hour clock. Times beyond 23:59:59 wrap correctly to the next day.
Practical uses for an elapsed time calculator
Time cards and payroll calculations need total hours worked in decimal form (e.g. 8.5 h). Race timing and athletic performance tracking require splits precise to the second. Project billing records how many hours a task consumed. Medical dosing schedules depend on precise intervals between doses. Cooking and baking rely on knowing when a timer should fire. Scientific experiments log exact durations for reproducibility. All of these reduce to the same arithmetic this calculator performs instantly.
Common time-span conversions
| Duration | Seconds | Minutes | Hours |
|---|---|---|---|
| 1 minute | 60 | 1 | 0.01667 |
| 5 minutes | 300 | 5 | 0.0833 |
| 15 minutes | 900 | 15 | 0.25 |
| 30 minutes | 1,800 | 30 | 0.5 |
| 45 minutes | 2,700 | 45 | 0.75 |
| 1 hour | 3,600 | 60 | 1 |
| 2 hours | 7,200 | 120 | 2 |
| 4 hours | 14,400 | 240 | 4 |
| 8 hours | 28,800 | 480 | 8 |
| 12 hours | 43,200 | 720 | 12 |
| 24 hours (1 day) | 86,400 | 1,440 | 24 |
| 48 hours (2 days) | 172,800 | 2,880 | 48 |
| 1 week | 604,800 | 10,080 | 168 |
Quick reference: how each standard unit converts to seconds, minutes and hours.
Frequently asked questions
How do I calculate elapsed time across midnight?
Enable the "Span crosses midnight" toggle. The calculator adds 86,400 seconds (one full day) to the end time before subtracting the start. For example, a shift from 22:00 to 06:00 the next morning is 8 hours: 06:00 in seconds (21,600) + 86,400 - 22:00 in seconds (79,200) = 28,800 seconds = 8 hours.
What is the difference between elapsed time and duration?
In everyday use the words are interchangeable - both mean the length of time between two events. "Elapsed time" often implies the time has already passed and you are measuring it afterward, while "duration" is more neutral and can refer to planned or future spans as well.
How do I convert elapsed time to decimal hours for a timesheet?
Divide total minutes by 60, or total seconds by 3,600. For instance, 9 hours 30 minutes = 9 + 30/60 = 9.5 decimal hours. The calculator shows the decimal hours value in the "Total hours" output row automatically.
Can I find when an event ends if I know the start time and the duration?
Yes. Switch the mode selector to "End time (start time + duration given)", enter your start time and the duration in hours, minutes and seconds, and the calculator shows the resulting clock time under "Calculated time".
How many seconds are in an hour, a day, and a week?
One hour = 3,600 seconds. One day = 86,400 seconds. One week = 604,800 seconds. These conversions are also listed in the quick-reference table on this page.