Time Difference Calculator
Enter two clock times and get the elapsed duration in hours, minutes, and seconds. Handles overnight spans that cross midnight.
Inputs
Results
"How Long Was That Meeting?"
Same problem, three flavors. You started at 9:00 and finished at 17:30 — that's a workday, easy. You started at 14:42:11 and crossed the line at 14:46:53 — that's 4 minutes 42 seconds, a 5K split. You went on stage at 19:00 and walked off at 22:13 — that's a long set, and you want it expressed as both "3 hours 13 minutes" and "193 minutes" because the venue bills the second way.
This calculator takes a start time, an end time, and a same day / ends next day toggle, and reports the elapsed duration three ways: the natural mixed unit (hours/minutes/seconds), the total as a minute count, and the total as a seconds count. Switch the duration unit display to whichever form fits.
How It Works
Clock Subtraction
Both values are wall-clock times. When the span stays inside one calendar day, leave the toggle on Same day — the start must then be on or before the end. When the span crosses midnight (a hospital night shift, an overnight flight, a recording session that runs past 02:00), switch the toggle to Ends next day and the calculator adds 24 hours.
The toggle exists because a clock-only calculator cannot otherwise distinguish "08:30 end means 23.5 hours later" from "08:30 end is impossibly already in the past." It lets you state which one you mean in a single click, instead of forcing you to enter full calendar dates. For a span that runs longer than 48 hours the date genuinely matters — use a Date Difference Calculator there.
Three Views of the Same Span
All three fields express the same number, just at different scales:
- Mixed: e.g. "3h 13m 0s" — natural for human description.
- Total minutes: 193 — natural for billing, work logs, exercise apps.
- Total seconds: 11 580 — natural for audio editing, scientific timing, athletic performance.
Switch the duration's unit selector to read the mixed form in different units (hours-only, minutes-only, etc.) without retyping the inputs.
Practical Scenarios
1. Time Tracking and Billable Hours
Consultants billing in 6-minute or 15-minute increments work in fractional hours; the total-minutes view is the easier read for adding entries. For exact pro-rating ("how many seconds was the call actually on"), the total-seconds view is the primary number.
2. Race Splits and Exercise Intervals
A 5K split, an interval workout, a swim lap: the seconds count matters. For a sub-25-minute 5K, the seconds field tells you whether you nudged a personal record by 2 seconds or 12. For an ultra that starts in the evening and finishes after midnight, switch on Ends next day to capture the full elapsed time.
3. Cook Times Verified After the Fact
You set a roast in at 17:45 and pulled it at 19:50 — what was the actual time, and was it within recipe spec? Two and a quarter hours, give or take, with the calculator giving you the exact answer for the next attempt's notes.
4. Meeting and Presentation Lengths
"How long does this slot run?" is a question every speaker asks before walking on stage. Computing it from the start and end times in the agenda — the way you'd actually like to think about it — beats counting minute hands.
A Note on Precision and Rounding
Inputs come from the browser's native time picker, which on most systems accepts hours and minutes (with the seconds field optional or hidden). The calculator computes at second resolution; sub-second precision isn't supported here. For audio cue points, frame-accurate video editing, or millisecond-grade scientific timing, this isn't the right tool — use a domain-specific timer that natively works in milliseconds or sample counts.
For everything else — schedules, billing, training, cooking, meetings — second resolution is the right level of precision and matches how the rest of the world states clock times.
Frequently Asked Questions (FAQ)
What if the end time is on the next day?
Turn on the "Ends next day" toggle. The calculator then adds 24 hours, so a shift from 22:00 to 06:00 correctly reads as 8 hours rather than being rejected. Leave the toggle on "Same day" when both times fall within one calendar day. For spans longer than 48 hours, use a date-and-time calculator instead, where the date component removes any ambiguity.
How precise is the result?
Inputs are accepted at HH:MM:SS — the browser’s native time picker exposes a seconds field. Results are computed at second resolution; the duration field shows hours:minutes:seconds by default and can be switched to hours, minutes, or seconds individually.
Disclaimer
Use a payroll-grade tool for billable-hours computation; this calculator does not subtract breaks or apply rounding rules.