Elapsed Time Calculator
This calculator measures the gap between two clock readings and reports it four ways: hours, minutes and seconds, total minutes, total seconds and decimal hours. It reads a 12 hour clock with a.m. and p.m. or a 24 hour clock, and it adds 24 hours when the end reading is earlier than the start.
Enter a start reading and an end reading. When the end reading is earlier than the start, the tool adds 24 hours, so a night shift reads forward. Use the extra days box for spans longer than a day.
On the 12 hour clock, 12 a.m. is midnight and 12 p.m. is noon. Decimal hours are what payroll systems store, so 8 hours 23 minutes reads 8.38.
| Elapsed time | |
| Same span in h:mm:ss | |
| Total minutes | |
| Total seconds | |
| Decimal hours for payroll | |
| Start reading | |
| End reading | |
One hour is 3,600 seconds and one day is 86,400 seconds. When the end reading is earlier than the start reading, 24 hours are added. Everything runs in your browser and nothing you type is uploaded or stored.
Enter a start reading and an end reading to see the gap in hours, minutes and seconds, plus total minutes, total seconds and the decimal hours a payroll system wants.
Key takeaways
- One hour is 3,600 seconds and one day is 86,400 seconds, so every reading converts through seconds
- When the end reading is earlier than the start reading, the span crossed midnight and 24 hours get added
- 8 hours 23 minutes is 503 minutes, 30,180 seconds and 8.38 decimal hours, the way the Department of Labor chart reads it
- Decimal hours and clock hours are different: 7.50 is seven and a half hours, while 7.30 is 7 hours 18 minutes
On this page
- What the elapsed time calculator measures
- The clock arithmetic, one borrow at a time
- Crossing midnight: the rule that settles it
- 12 hour and 24 hour clocks, read the right one
- Decimal hours, the format payroll wants
- Worked examples: a shift, a split, a job
- Where the seconds earn their keep
- Mistakes that move the answer
What the elapsed time calculator measures
Elapsed time is the gap between two moments, counted forward like a stopwatch. You put in a start reading and an end reading and the tool tells you how far apart they are, with the seconds included. The output comes in four shapes: hours, minutes and seconds; total minutes; total seconds; and decimal hours, the format most payroll systems use. Nothing here needs a date, because the page is about a span of clock time, not a span of calendar days.
That distinction matters when you pick a tool. A date-to-date calculation is a different job, and so is adding several hours onto a clock reading. This page is the stopwatch: two readings, one gap, and the same gap rewritten in the units a time card, a race split, a timer or a payroll system wants.
The calculator also handles the two things that trip people up. It works on a 12 hour clock with a.m. and p.m. or on a 24 hour clock, and when the end reading comes out earlier than the start reading it adds 24 hours so a night shift reads forward instead of backward. You can also add whole days for spans longer than a day.
The clock arithmetic, one borrow at a time
Everything runs on seconds after midnight, and the display is built back up from there. One hour is 3,600 seconds, one minute is 60 seconds, and one day is 86,400 seconds. To subtract two readings you borrow from the left when the right column goes negative, the same way you borrowed from the tens column in school.
Take a start of 9:15:30 a.m. and an end of 2:48:45 p.m. Write the end on a 24 hour clock as 14:48:45. Seconds: 45 minus 30 is 15. Minutes: 48 minus 15 is 33. Hours: 14 minus 9 is 5. The span is 5 hours, 33 minutes, 15 seconds, and nothing had to borrow.
Now try a start of 9:52:10 a.m. and an end of 10:07:05 a.m. Seconds: 05 minus 10 is negative, so borrow 60 seconds from the minutes: 65 minus 10 is 55, and the minutes drop to 6. Minutes: 06 minus 52 is still negative, so borrow 60 minutes from the hours: 66 minus 52 is 14, and the hours drop from 10 to 9. Hours: 09 minus 09 is 0. The span is 0 hours, 14 minutes, 55 seconds, which is 895 seconds.
| Column | Start | End | Work | Result |
|---|---|---|---|---|
| Seconds | 10 | 05 | borrow 60 from minutes | 55 |
| Minutes | 52 | 06 | borrow 60 from hours | 14 |
| Hours | 09 | 10 | no borrow needed | 00 |
The calculator runs that same borrow for you, which is why it can report 0:14:55 where a hand subtraction often turns into a wrong number or a blank.
Crossing midnight: the rule that settles it
When the end reading is earlier than the start reading on the clock face, the span ran through midnight, and the answer is the difference plus 24 hours. A shift from 10:40 p.m. to 1:15 a.m. looks like it goes backwards, but 80 minutes remain before midnight and 75 minutes pass after it, so the span is 155 minutes, or 2 hours 35 minutes.
The same rule covers a span of more than a day. If a job starts Monday at 8:00 a.m. and ends Wednesday at 8:00 a.m., the readings are identical, so the calculator needs help from the extra days box. Fill in 2 and it returns 48 hours, 0 minutes, 0 seconds. Leave it at 0 and the same readings return 0 seconds.
| Start | End | Extra days | Elapsed | Decimal hours |
|---|---|---|---|---|
| 10:40 p.m. | 1:15 a.m. | 0 | 2 h 35 min 00 s | 2.58 |
| 8:00 a.m. | 8:00 a.m. | 0 | 0 h 00 min 00 s | 0.00 |
| 8:00 a.m. | 8:00 a.m. | 2 | 48 h 00 min 00 s | 48.00 |
| 6:05 a.m. | 7:20 p.m. | 0 | 13 h 15 min 00 s | 13.25 |
Read the table once more and the pattern is clear. The end reading minus the start reading gives the clock part, and the extra days box and the automatic midnight rule supply the rest.
12 hour and 24 hour clocks, read the right one
Both clocks are in use. A 12 hour clock needs a.m. or p.m. to place the hour, and a 24 hour clock runs 00:00 through 23:59 with no suffix at all. The calculator takes either, and the table below maps them.
| 12 hour clock | 24 hour clock | 24 hour clock | 12 hour clock |
|---|---|---|---|
| 12:00 a.m. | 00:00 | 13:05 | 1:05 p.m. |
| 12:30 a.m. | 00:30 | 17:45 | 5:45 p.m. |
| 6:00 a.m. | 06:00 | 21:00 | 9:00 p.m. |
| 12:00 p.m. | 12:00 | 23:59 | 11:59 p.m. |
Two entries trip up almost everyone. 12:00 a.m. is midnight, which is 00:00, and 12:00 p.m. is noon, which is 12:00. A span from 12:00 a.m. to 12:00 p.m. is 12 hours, and a span from 12:00 p.m. to 12:00 a.m. is also 12 hours, but only because the end reading is earlier and the midnight rule adds the day.
The National Institute of Standards and Technology keeps the official United States time service, and the official United States time service notes that UTC is always shown on a 24 hour clock. That is why broadcast, military, aviation and most computer logs use the 24 hour form and why a timing sheet that mixes 10:00 p.m. and 22:00 will send you in circles.
Decimal hours, the format payroll wants
Payroll systems rarely store 8:23. They store 8.38, because one multiplication then gives the pay. The conversion is minutes divided by 60, and it only touches the part after the hour. Eight hours and 23 minutes is 503 minutes, and 503 / 60 = 8.3833, which the FLSA overtime calculator conversion chart reads as 8.38.
| Clock span | Total minutes | Decimal hours |
|---|---|---|
| 0:15 | 15 | 0.25 |
| 0:30 | 30 | 0.50 |
| 0:45 | 45 | 0.75 |
| 1:30 | 90 | 1.50 |
| 2:35 | 155 | 2.58 |
| 8:23 | 503 | 8.38 |
| 12:00 | 720 | 12.00 |
The last row matters more than it looks. 7.30 in decimal is 7 hours and 18 minutes, because 0.30 x 60 is 18, while 7.50 is the half hour. Reading a decimal number as a clock reading is the classic payroll slip, and it costs money at the end of a pay period.
Rounding is the other half of the story. Federal rules allow employers to record time clock readings to the nearest 5 minutes, or to the nearest one-tenth or quarter of an hour, as long as the practice averages out so no worker is shorted over time. The 29 CFR 785.48 on rounding time clock records spells out that condition, and the Department of Labor fact sheet on hours worked explains what counts as hours worked in the first place. The calculator gives you the exact span, and rounding is a decision your employer makes under those rules.
Worked examples: a shift, a split, a job
A nine hour shift with a 45 minute lunch. The shift runs 7:00 a.m. to 4:45 p.m., which is 9 hours 45 minutes, 585 minutes, 35,100 seconds and 9.75 decimal hours. The lunch takes the day to 9:00 a.m. of paid time, which is 540 minutes and 9.00 decimal hours.
A marathon split. A runner covers a 5 kilometer leg in 1:45:30, which is 6,330 seconds and 1.76 decimal hours. Three legs like that add to 5 hours 16 minutes 30 seconds, or 18,990 seconds, and the pace on each leg is what the splits are for.
A job that runs overnight. A repair call starts at 6:45 p.m. and ends at 3:20 a.m. The end reading is earlier, so the calculator adds 24 hours: 8 hours 35 minutes, 515 minutes, 30,900 seconds, 8.58 decimal hours.
| Situation | Start | End | Elapsed | Total minutes | Decimal hours |
|---|---|---|---|---|---|
| Full shift | 7:00 a.m. | 4:45 p.m. | 9:45:00 | 585 | 9.75 |
| After a 45 min lunch | 7:00 a.m. | 4:45 p.m. | 9:00:00 | 540 | 9.00 |
| Race split | 0:00:00 | 1:45:30 | 1:45:30 | 105.5 | 1.76 |
| Overnight call | 6:45 p.m. | 3:20 a.m. | 8:35:00 | 515 | 8.58 |
Where the seconds earn their keep
Most workdays land on a whole minute, so the seconds column is idle and the tool looks like a simple hours calculator. It is not idle when the span is short, and short spans are common: a 45 second sprint rep, a 90 second microwave cycle, a 12 minute espresso pull, a 3 minute 20 second video ad, a 2 minute 5 second parking meter grace period.
Those cases are where the total seconds and total minutes rows do something the hour rows cannot. 3 minutes 20 seconds is 200 seconds and 3.33 minutes, and a stopwatch split that reports 3.33 minutes can be misread as 3 minutes 19.8 seconds, a 0.2 second error that matters in a swim race and not at all in a workday.
The unit ladder below is the whole conversion in one table. Every step is a factor of 60, and the seconds row is the base everything else stands on.
| Unit | Seconds | Minutes | Hours | Days |
|---|---|---|---|---|
| 1 second | 1 | 0.0167 | 0.000278 | 0.0000116 |
| 1 minute | 60 | 1 | 0.0167 | 0.000694 |
| 1 hour | 3,600 | 60 | 1 | 0.0417 |
| 1 day | 86,400 | 1,440 | 24 | 1 |
One caution about the seconds row: rounding to the nearest second is fine for a timer, but federal rounding rules for time clock records work in fractions of an hour, not in seconds. Keep the two jobs apart.
Mistakes that move the answer
Reading 12:00 as noon. 12:00 a.m. is midnight and 00:00. Mixing those two shifts an answer by 12 hours, and on a 24 hour clock a wrong entry of 24:00 is not a time at all.
Leaving off the midnight rule. A 6:45 p.m. to 3:20 a.m. span reads as a negative number if you compare the clock faces alone. The calculator adds the 24 hours for you, but a hand calculation that skips the step gives a negative gap.
Reading decimal hours as clock hours. 8.38 decimal hours is 8 hours 23 minutes, not 8 hours 38 minutes. The decimal part is a fraction of an hour, and 0.38 of 60 is 22.8 minutes.
Counting the lunch twice. If the time clock already excludes a meal period, subtracting it again understates the day. Federal rules treat short rest breaks of about 5 to 20 minutes as paid time, while a bona fide meal period of 30 minutes or more where you are fully relieved from duty can be unpaid.
Mixing in a calendar day by accident. This page counts clock time, so a day that daylight saving time shortens to 23 hours still measures 24 clock hours between the same two readings. The NIST daylight saving time rules publishes the daylight saving dates and the rules for the transition. If a job spans a clock change, subtract the missing hour yourself and note it on the time card.
Frequently asked questions
How do I calculate elapsed time between two times?
Change both readings to minutes after midnight, subtract the smaller from the larger, and rebuild the answer. 9:15 a.m. to 2:48 p.m. is 14:48 minus 9:15, which comes to 5 hours 33 minutes. If the end reading is earlier than the start reading, the span crossed midnight, so add 24 hours.
What is the decimal equivalent of 8 hours 23 minutes?
8 hours 23 minutes is 503 minutes, and 503 divided by 60 is 8.3833, which the Department of Labor conversion chart rounds to 8.38. The calculator shows the same figure alongside 30,180 total seconds so you can check the conversion.
What happens when the end time is earlier than the start time?
The span crossed midnight, so the calculator adds 24 hours. A shift from 10:40 p.m. to 1:15 a.m. is 2 hours 35 minutes, which is 155 minutes and 2.58 decimal hours. For spans longer than a day, fill in the extra days box, so 8:00 a.m. to 8:00 a.m. with 2 extra days returns 48 hours.
How many seconds are in 2 hours 35 minutes?
2 hours is 7,200 seconds and 35 minutes is 2,100 seconds, so the total is 9,300 seconds. Divide by 60 for 155 minutes and by 3,600 for 2.58 decimal hours. Every conversion on the page runs through seconds, which is the base unit.
Is 7.50 the same as 7:30?
Yes, when 7.50 is written as decimal hours, which is the payroll form of seven and a half hours. But 7.30 in decimal is 7 hours and 18 minutes, because 0.30 times 60 is 18 minutes. The calculator prints the clock form and the decimal form side by side so the two never get confused.
How do I convert 12 hour time to 24 hour time?
For 12:00 a.m. through 11:59 a.m. the 24 hour reading is the same number with a leading zero, so 6:00 a.m. is 06:00. For 12:00 p.m. through 11:59 p.m. add 12 hours, so 1:05 p.m. is 13:05 and 11:59 p.m. is 23:59. Midnight is 00:00 and noon is 12:00.
How do I round time for a time card?
Federal rules let employers record time clock readings to the nearest 5 minutes, or to the nearest one-tenth or quarter of an hour, as long as the practice averages out so nobody is shorted over time. That allowance is in 29 CFR 785.48. The calculator gives the exact span in seconds so you can see what the rounding did.
Does the calculator handle spans longer than 24 hours?
Yes, use the extra days box. A job that starts at 8:00 a.m. Monday and ends at 8:00 a.m. Wednesday has identical readings on the clock face, so with 2 in the extra days box the result is 48 hours, 0 minutes, 0 seconds, and 48.00 decimal hours.
What is 45 minutes in decimal hours?
0.75, because 45 divided by 60 is 0.75. The same pattern holds across the quarter hour marks: 15 minutes is 0.25, 30 minutes is 0.50, and 1 hour 30 minutes is 1.50. Multiplying the decimal by 60 always returns the original number of minutes.
Why does the calculator show total seconds as well as hours and minutes?
Short spans lose their meaning when they are rounded into minutes. A 3 minute 20 second video ad is 200 seconds and 3.33 minutes, and a stopwatch that reports 3.33 can be misread as 3 minutes 19.8 seconds. Total seconds keeps the exact reading for races, timers and media lengths.
Does daylight saving time change the elapsed time result?
Not in this calculator, because it counts clock time rather than calendar time. On a day when the clocks jump forward, the same two readings still measure 24 clock hours. If a job spans the change, subtract the missing hour yourself and note it on the time card. NIST publishes the transition dates and the rules.
Can I use this for a 12 hour clock with a.m. and p.m.?
Yes, pick the 12 hour option and set each reading to a.m. or p.m. Hours run 1 through 12, so 12 a.m. means midnight and 12 p.m. means noon. The tool converts both readings to a 24 hour form before subtracting, and it adds 24 hours when the end reading falls earlier than the start.
What is the difference between elapsed time and time duration?
Elapsed time is the gap between two moments on a clock, counted in hours, minutes and seconds, which is what this page does. A duration that spans calendar days needs the dates as well, so the tool for that job is the time duration calculator. A stopwatch running forward from a single start is a third job again.
How do I get total minutes from hours, minutes and seconds?
Multiply the hours by 60, add the minutes, and add the seconds divided by 60. For 5 hours 33 minutes 15 seconds, 5 x 60 = 300, plus 33 gives 333 minutes, plus 15 seconds gives 333.25 minutes, and the whole span is 19,995 seconds.
Spotted a wrong number or a broken result?
More Date Time tools
- 1 Hour From Now
- 1 Month Notice Period Calculator
- 1/8 Mile Time Calculator
- 10 Hours From Now
- 10 Minutes Ago
- 10 Weeks Ago From Today
- 11 Hours From Now
- 12 Hours From Now
- 120 Days From Today
- 13 Hours From Now
- 14 Days From Today
- 15 Hours From Now
- 16 Hours From Now
- 17 Hours From Now
- 18 Hours From Now
- 180 Days From Today
Fee schedules, rates and rules change without notice. Always confirm important figures with the official source before you rely on them.