Last updated: October 2026
How to calculate elapsed time
Short answer: subtract the start from the end. Convert both times to minutes since midnight, subtract, and if the result is negative add 1,440 (24 × 60) — the span crossed midnight. The calculator above does all of this instantly, including multi-day spans.
- Use the same format for both times. 24-hour time avoids AM/PM mistakes: 2:30 PM is 14:30.
- Convert each time to minutes since midnight. Hours × 60 + minutes. 9:00 AM → 540; 5:30 PM → 1,050.
- Subtract start from end. 1,050 − 540 = 510 minutes.
- If the result is negative, add 1,440. That means the end time fell on the next day (overnight span).
- Convert back. Divide by 60 for hours (510 ÷ 60 = 8.5), the remainder is minutes: 8 hours 30 minutes.
Time duration calculator
Short answer: a time duration calculator is the same thing as an elapsed time calculator — it measures the length of time between two points. This page is a free one: try 9:00 AM to 5:30 PM above and it instantly shows 8h 30m, plus total hours, minutes and seconds.
"Time duration calculator" is the parent topic behind this whole keyword family, searched far more than any single phrasing. Whether you call it duration, elapsed time, or time between — the job is identical: two points in time in, one length of time out. The calculator's Find duration mode is exactly that, with dates included so multi-day spans (a flight, a project, a hospital stay) work too. For the reverse jobs — "the meeting ends at 3, it runs 45 minutes, when did it start?" — switch to Find start time or Find end time instead of doing the clock math by hand.
Time calculator
Short answer: "time calculator" is the broad term for tools that do math with clock time — durations, adding or subtracting hours, converting units. This page covers the three most-searched jobs: find the duration between two times, find the end time from a start plus a duration, and find the start time from an end minus a duration.
Most time-calculator searches are really one of these three questions in disguise: "how long did that take?", "when will it be over?", or "when did it begin?". The mode switcher above answers all three without you re-learning the tool. Doing math with raw timestamps in code instead? Our Unix timestamp converter translates between epoch seconds and readable dates.
Hours calculator
Short answer: an hours calculator measures how many hours pass between two times — a shift, a task, a trip. Enter the start and end above and you get the exact hours plus minutes, decimal hours for payroll, and totals in minutes and seconds.
"Hours calculator" is one of the most-searched time tools because the question behind it is so common: "how many hours did that take?" A 9:00 AM to 5:30 PM shift is 8.5 hours; 10:00 PM to 6:30 AM is 8.5 hours too. The calculator above answers it in one step, and the decimal-hours figure drops straight into timesheets and invoices. For weekly totals with lunch breaks and overtime, see our weekly hours calculator; to turn hours and minutes into a single decimal, use the hours to decimal calculator.
The elapsed time formula
Short answer: elapsed time = end − start, in the same units. If the end is earlier than the start, add 24 hours first. Decimal hours = total minutes ÷ 60.
Elapsed time = End time − Start time (same units)
Overnight: Elapsed = (End time + 24 h) − Start time
Decimal hours = Total minutes ÷ 60
The formula is simple; the mistakes come from the edges. Crossing midnight without adding 24 hours is the classic one — 10:00 PM to 6:30 AM looks like a negative number until you add a day. Daylight-saving transitions can also shave or add an hour on the two switchover Sundays; for exact legal or payroll records on those dates, verify against your local time rules. Everything else is plain subtraction.
Worked examples
Short answer: a 9-to-5:30 shift is 8h 30m (8.5 hours); an overnight 10 PM–6:30 AM shift is also 8h 30m; Monday 6:30 AM to Wednesday 2:15 PM is 2 days 7h 45m. All three are one-click presets above.
Timing something else, like how long a file transfer takes? Our download time calculator works the same duration math from file size and speed.
Frequently asked questions
What is the elapsed time calculator?
It's a free tool that measures how much time passes between two moments. Enter a start and end date and time and it shows the exact duration in days, hours, minutes and seconds — handling overnight and multi-day spans automatically. It can also work backwards: give it a start time plus a duration to find the end time, or an end time minus a duration to find the start time.
Is there a "time elapsed calculator"?
Yes — "time elapsed calculator" is just "elapsed time calculator" with the words flipped, and this page is exactly that tool. Enter your start and end times above to get the elapsed duration instantly, in days, hours, minutes and seconds.
How much time has elapsed?
Subtract the start time from the end time. The calculator above does it for you: enter both times (with dates if they span days) and it shows the exact elapsed time. For example, 9:00 AM to 5:30 PM is 8 hours 30 minutes. If the end time is earlier in the day than the start, the tool assumes an overnight span and adds a day.
How do I calculate elapsed time in Excel?
Put the start time in A2 and the end time in B2, then use =TEXT(B2-A2,"h:mm") for hours and minutes, or =(B2-A2)*24 for decimal hours. If the shift crosses midnight, use =TEXT(MOD(B2-A2,1),"h:mm:ss") so Excel wraps correctly. For a no-formula option, paste both times into the calculator above.
Is there an hours calculator?
This tool doubles as one: in "Find duration" mode the results include total hours (for example 8.5 hours for a 9:00 AM–5:30 PM shift), total minutes and total seconds alongside the days/hours/minutes breakdown. Payroll-style decimal hours are what most timesheets need.
What if my time span crosses midnight?
The calculator handles it automatically. If the end time is earlier than the start time on the same date, it treats the end as the next day and tells you so. Example: 10:00 PM to 6:30 AM correctly returns 8 hours 30 minutes. For spans longer than a day, just set different dates.
Can it handle multi-day spans?
Yes — set the start and end dates (not just times) and it counts every full day in between. For example, Monday 6:30 AM to Wednesday 2:15 PM is 2 days, 7 hours and 45 minutes. The results also show the grand totals in hours, minutes and seconds.
How many hours are in a year?
A common year has 8,760 hours (365 × 24) and a leap year has 8,784 hours (366 × 24). That's 525,600 minutes in a common year — a handy figure for annualizing hourly rates: multiply your hourly wage by 2,080 (40 hours × 52 weeks) for a full-time yearly equivalent.
What time will it be 8 hours from now?
Add 8 hours to the current time, wrapping past midnight if needed. The fastest way: use the calculator above in "Find end time" mode — enter now as the start and 8 hours as the duration. It handles the midnight rollover automatically, so 9:00 PM + 8 hours correctly gives 5:00 AM.
How do I convert minutes to hours?
Divide minutes by 60. So 100 minutes is 1.67 hours (100 ÷ 60), 90 minutes is 1.5 hours, and 45 minutes is 0.75 hours. The calculator above shows decimal hours in every result, and our
hours to decimal calculator converts full timesheets in bulk.
Is my data private?
Completely. Every calculation runs locally in your browser with JavaScript — your times and dates are never sent to a server, stored, or tracked.