Free Time Duration Calculator – Calculate Time Between Times and Dates

Preview v4

Time Duration Calculator

Calculate the time between two times or two dates with this free Time Duration Calculator. Get instant results in hours, minutes, seconds, and decimal format. Great for calculating work hours, billing clients, tracking project time, processing payroll, and managing employee work schedules. Handles overnight shifts, cross-midnight times, and multi-day time durations automatically, with optional breaks.


::

::


minutes

Subtracted from the total — useful for unpaid lunch breaks on a shift.


Formatted–:–:–
Decimal Hours0.00for payroll
After Break0.00decimal hours

If the end time is earlier than the start time, this calculator assumes the end time falls the next day (handy for overnight shifts).

//
::

//
::


Days0
Formatted
Decimal Hours0.00for payroll

Works across days, months, and years — automatically accounts for leap years — useful for measuring the time span between two dates on a project, lease, or countdown.

1
Enter Start
Pick a start time (or date) using the dropdowns, or tap “Now” to fill in the current time automatically.
2
Enter End
Do the same for the end point. Overnight and cross-midnight times are handled automatically.
3
Calculate
Add an optional break to subtract unpaid lunch time, then hit Calculate for an instant result.
4
View Results
Get hours, minutes, seconds, and decimal hours — ready to drop straight into a timesheet.

How to Use This Time Duration Calculator

This time duration calculator works two ways, depending on what you’re trying to figure out. Use the Between Two Times tab when both times fall within roughly the same day, like a work shift, a class period, or a meeting. Use the Between Two Dates tab when your start and end points are on different calendar days, weeks, or even months apart.

To calculate time between two times, pick a start time and an end time using the hour, minute, second, and AM/PM selectors, or tap “Now” to drop in the current time automatically. If you’d rather work in 24-hour time instead of AM/PM, flip the 24-hour format switch above the inputs. Hit Calculate, and the tool instantly returns the result in five formats: hours, minutes, seconds, decimal hours, and a formatted HH:MM:SS readout. The decimal hours field is there specifically so you don’t have to convert “7 hours and 30 minutes” into “7.5” by hand before entering it into a payroll system, invoice, or timesheet.

What Is Time Duration, Exactly?

Time duration is simply the length of time that passes between a starting point and an ending point. It’s the same concept whether you call it elapsed time, a time difference, or a time span — they all describe the same gap, just measured and labeled slightly differently depending on the context. That’s also why this kind of tool gets searched under a handful of different names: some people look for a time elapsed calculator, others want an elapsed time calculator, a time difference calculator, a time span calculator, or even a time lapse calculator. Functionally, they’re asking the same question: how much time happened between point A and point B?

What makes time duration trickier than regular subtraction is the base-60 structure of clocks. You can’t just subtract 9:45 from 2:15 the way you’d subtract two regular numbers, because minutes and seconds wrap around at 60, not 10. That’s the entire reason a dedicated time calculator exists in the first place — to handle that wraparound automatically so you don’t have to do the borrowing by hand every time.

How to Calculate Time Between Two Times by Hand

If you ever want to calculate time between two times without a calculator, here’s the manual method. Say you start at 9:20 AM and finish at 1:05 PM.

  • Step 1 — Convert both to 24-hour time. 9:20 AM stays 9:20. 1:05 PM becomes 13:05.
  • Step 2 — Subtract the minutes. 05 minus 20 is negative, so you borrow 60 minutes from the hour column. That turns 13:05 into 12:65.
  • Step 3 — Subtract normally. 12:65 minus 9:20 gives you 3 hours and 45 minutes.

That’s the full process behind every time between two times calculation, whether you’re doing it by hand or letting a tool handle it. The borrowing step is exactly where most manual mistakes happen, especially under time pressure, which is the main reason people search for “calculate time” tools instead of doing the subtraction themselves.

If your start time is later in the clock than your end time, like a 10:00 PM start and a 6:00 AM end, the calculation assumes the end time falls on the next day. That’s how this tool — and most reliable time calculators — automatically handle overnight shifts without you needing to flag it manually.

How to Calculate Time Duration With a Break

A raw shift duration isn’t always what you actually need for payroll — most hourly work involves at least one unpaid break that has to come off the total before you get paid hours. That’s what the Break/Lunch field on this calculator is for: enter the length of your break in minutes, and the “After Break” result subtracts it automatically alongside the regular duration.

To do this by hand: calculate the raw duration first using the steps above, then subtract your total break time from that result. For example, a shift running 9:00 AM to 5:30 PM is 8 hours 30 minutes raw. Subtract a 30-minute lunch, and you’re left with exactly 8 hours of paid time. If you took two breaks — say a 30-minute lunch and a 10-minute break — add them together first (40 minutes total) before subtracting from the raw duration, which in this example would bring the paid total down to 7 hours 50 minutes.

This matters more than it seems for accuracy: a missed or double-counted break is one of the most common sources of payroll disputes, since it’s an easy detail to lose track of when you’re calculating shift length manually at the end of a long day.

Time Between Two Dates: When Duration Spans More Than a Day

Not every duration question fits inside a single day. If you’re measuring the time between dates that are weeks, months, or years apart, like a project deadline, a lease term, or the run-up to an event, you need a calculator that accounts for full calendar days, not just clock hours. The Between Two Dates tab handles exactly that: pick a start date and time, an end date and time, and it returns the total time between as days, hours, minutes, and decimal hours, plus a combined “Xd HH:MM:SS” formatted readout.

Multi-day spans bring in a detail that pure time-of-day math doesn’t have to deal with: leap years. A standard year is 365 days, but every four years — except century years not divisible by 400 — gets an extra day in February, making it 366. This calculator’s date logic accounts for that automatically, so a span crossing February 2028 or 2032 (both leap years) comes out accurate without you needing to think about it.

This is useful any time the gap you’re measuring crosses midnight more than once. A meeting duration is a time-between-two-times question. A construction timeline, a subscription period, or “how long until this date” is a time-between-dates question — same underlying math, different scale.

Common Reasons People Use a Time Calculator

Payroll and Timesheets

This is the single biggest reason people search for a time duration calculator. Employers and freelancers alike need shift length converted into decimal hours, since most payroll software and invoicing tools expect “7.5 hours,” not “7 hours 30 minutes.” That’s why decimal hours sits front and center in the results above, alongside a break deduction for unpaid lunch time, rather than buried as an afterthought.

School and Class Periods

Teachers, students, and school administrators regularly need to calculate time between two times for class periods, exam windows, or how long a study hall actually runs. A quick minute calculator check is often all that’s needed when scheduling back-to-back periods or figuring out passing time between classes.

Cooking and Recipes

Anyone juggling a multi-step recipe ends up doing informal time duration math — start the dough at 2:00, it needs to proof for 90 minutes, what time does that put you at? A time counter mentality applies here even without a literal countdown timer running.

Travel and Layovers

Figuring out how much time between two times you’ll actually have during a flight layover, or the total elapsed time of a road trip across time zones, is a classic use case for a time calculator that handles hour and date spans cleanly.

Workouts, Sports, and Splits

Runners, swimmers, and coaches use this kind of tool as a minute calculator for splits and intervals, where seconds matter and decimal precision (like 1.75 minutes instead of 1:45) is genuinely useful for comparing pace across sessions.

Study Sessions and Focus Blocks

If you’re tracking Pomodoro-style study blocks or deep work sessions, this calculator works as a simple time counter for logging how long each block actually ran versus how long you planned for it.

Worked Examples

Example 1: Standard Work Shift With a Lunch Break

Start: 8:30 AM. End: 5:00 PM. Raw duration: 8 hours 30 minutes, or 8.50 decimal hours. Enter a 30-minute break, and the After Break result drops to 8.00 decimal hours — the number that actually belongs on a timesheet.

Example 2: Overnight Shift

Start: 10:00 PM. End: 6:30 AM. Result: 8 hours 30 minutes. Because the end time is numerically earlier than the start time, the calculator automatically treats the end time as falling the next day, so you don’t need to manually account for the midnight crossover.

Example 3: Class Period Gap

Start: 9:05 AM. End: 9:50 AM. Result: 45 minutes, or 0.75 decimal hours — useful for confirming a class period matches the school’s official schedule length.

Example 4: Multi-Day Project Span

Start: March 3 at 9:00 AM. End: March 19 at 3:30 PM. Using the Between Two Dates tab, the result comes out to 16 days, 6 hours, and 30 minutes — far easier than counting days on a calendar by hand.

Tips for Getting Accurate Time Calculations

A few habits make the difference between a quick estimate and a number you can actually rely on for payroll, scheduling, or billing.

  • Double-check AM and PM. The most common error in any time calculator isn’t the math, it’s selecting the wrong half of the day. A 7:00 AM start mistakenly entered as 7:00 PM will throw the entire result off by 12 hours. Switching to 24-hour format removes this risk entirely if you’re more comfortable working that way.
  • Round consistently, not selectively. If your workplace rounds to the nearest quarter hour, apply that rounding after you get the exact decimal hours result, not before. Rounding the raw start and end times first can quietly shift the total by several minutes.
  • Use the break field for unpaid lunch time, not paid breaks. Many workplaces treat short paid breaks differently from longer unpaid lunches — only subtract the time that’s actually unpaid under your policy.
  • Use the date tab for anything that crosses midnight more than once. The time-only tab handles a single overnight crossover fine, but if you’re measuring something like a 36-hour on-call period, switch to Between Two Dates so the day count stays accurate.
  • Keep decimal hours for math, formatted time for communication. Decimal hours (8.50) are what payroll systems and spreadsheets want. Formatted time (8:30) is what’s easier for a person to read on a schedule or in an email. This calculator gives you both so you’re not converting one into the other by hand.

These small details matter more than they seem. A single AM/PM mix-up or an inconsistent rounding rule can compound across a two-week pay period into a noticeably wrong total, which is exactly the kind of error a dedicated time calculator is meant to prevent.

Frequently Asked Questions

How much time between two times can this calculator handle?

Anything from a few seconds up to a full 24-hour span on the Between Two Times tab. For anything longer than a day, switch to the Between Two Dates tab, which has no upper limit on the number of days, months, or years between your two points.

What’s the difference between a time duration calculator and a time difference calculator?

Nothing functionally — they’re different names for the same calculation. A time difference calculator, a time elapsed calculator, and a time span calculator are all asking for the gap between a start point and an end point; this tool covers all three under one interface.

Can I use this as a minute calculator only?

Yes. If you only care about the total minutes rather than the hours, just read the Minutes result card — it works as a standalone time calculator minutes total even though hours, seconds, and decimal hours are also shown alongside it.

Does this work as an elapsed time calculator for overnight shifts?

Yes. If your end time is earlier in the clock than your start time, the calculator automatically assumes the shift crossed midnight and adds 24 hours before calculating the elapsed time, so overnight and night-shift durations come out correct without extra steps.

Can I switch between 12-hour and 24-hour time?

Yes, each tab has its own 24-hour format toggle above the inputs. Turning it on switches the hour dropdowns to 00–23 and hides the AM/PM selector; turning it off returns to the standard 12-hour AM/PM format.

Does the calculator subtract lunch or break time automatically?

Yes, on the Between Two Times tab. Enter your break length in minutes in the optional Break/Lunch field, and the “After Break” result will show your duration in decimal hours with that time already deducted.

How do I calculate time between two times manually, without a calculator?

Convert both times to 24-hour format, then subtract the minutes first, borrowing 60 minutes from the hour column if the end time’s minutes are smaller than the start time’s. See the step-by-step walkthrough above for a full worked example.

Can I find the time between dates that are months or years apart?

Yes, the Between Two Dates tab is built for exactly that. It calculates the full time between dates regardless of how far apart they are, returning the total in days, hours, minutes, and decimal hours, and automatically accounts for leap years.

Is there a decimal hours option for payroll?

Yes, both tabs include a dedicated Decimal Hours result, labeled “for payroll,” so you can copy the number directly into timesheet software, invoicing tools, or a billing spreadsheet without converting it yourself.

Why do some people call this a time lapse calculator?

“Time lapse calculator” is simply a common search variation of “elapsed time calculator” — both describe a tool that measures how much time passed between two points, whether that’s two times in one day or two dates on a calendar.

Can I use this as a time span calculator for projects or deadlines?

Yes. Switch to the Between Two Dates tab, enter your project start date and target end date, and the result gives you the full time span in days alongside the leftover hours and minutes.

Does the time counter reset automatically?

The result fields reset whenever you press Clear, or you can simply enter a new start and end time and press Calculate again — there’s no need to refresh the page between calculations.

This calculator is provided for general informational and planning purposes. For payroll, legal, or billing decisions, please confirm figures against your employer’s official timekeeping system or applicable labor regulations.