Calculate the time between two dates or times instantly. Free duration calculator: days, hours, minutes, seconds and business days. In-browser.
By Inventive HQ
This time duration calculator works out the exact time between two dates, or between two times on the same day, and reports the answer four ways at once: as a compact d h m s string, and as decimal totals in days, hours, minutes, and seconds. It also counts the business days in the span. Enter a start date and time, enter an end date and time, and the result appears immediately—there is no submit button, no signup, and no server round trip. All arithmetic runs in your browser.
Beyond simple duration, the tool has four modes. Calculate Duration measures the gap between two moments. Add Time and Subtract Time shift a starting date forward or backward by a number of days, hours, minutes, and seconds to give you a resulting date and time. Convert Units takes a duration you already know and expresses it in every unit, which is the fastest way to answer questions such as “how many hours is 3 days and 14 hours?” or “how many seconds is 45 minutes?”
When you calculate the time between two dates, the result panel gives you several representations of the same span, because different tasks need different units.
| Output | Example for 2026-03-01 09:00 → 2026-03-14 17:30 |
|---|---|
| Compact duration | 13d 8h 30m |
| Total days (decimal) | 13.35 |
| Total hours (decimal) | 320.50 |
| Total minutes | 19,230.00 |
| Total seconds | 1,153,800 |
| Business days | 10 |
The decimal totals are what you paste into a timesheet, an invoice, or a spreadsheet. The compact form is what you paste into a ticket or a status update. A copy button next to the result puts the compact form on your clipboard in one click.
Alongside the raw duration, the tool counts business days by walking the calendar day by day from the earlier date to the later one and counting every day that is not a Saturday or a Sunday. The count is inclusive of both endpoint days. In the example above, 1 March to 14 March 2026 spans 14 calendar days, of which 10 are weekdays.
Two things this count deliberately does not do: it does not subtract public holidays, which vary by country and by company, and it does not prorate partial days. If you need a holiday-aware figure, take the weekday count from here and subtract the holidays that fall inside the range from your own calendar. For SLA and project-planning work that distinction matters, so it is worth stating explicitly rather than discovering it later.
You do not need two different dates. To measure the time between two times on the same day—a shift, a maintenance window, a meeting that overran—set the same date on both sides and enter the two clock times. A shift from 22:15 to 06:45 that crosses midnight is handled by advancing the end date by one day; the calculator will then report 8h 30m. If you enter an end that precedes the start without adjusting the date, the tool flags it with an “end date is before start date” warning and shows the magnitude of the negative span rather than silently returning a wrong positive number.
Times are interpreted in your computer’s local timezone on both sides. That is the right behaviour for timesheets and local scheduling, but it means the calculator is not the right tool for spans that cross timezones. For that, and for finding meeting windows across regions, use the world clock and timezone meeting planner.
00:00 if you leave it blank, so a pure days-between-two-dates calculation needs only the two date fields. A “now” shortcut fills both fields with the current moment.In Add or Subtract mode the layout changes slightly: you supply one starting date and time plus a quantity of days, hours, minutes, and seconds, and the tool returns the resulting date and time in both a human-readable form and an ISO date and time you can paste into code or a config file.
101d 8h, 2,432 hours, and 73 business days—the last figure being the one to compare against a sprint plan.5h 30m, or 19,800 seconds, which is what you would plug into a downtime credit calculation.Convert Units mode handles arbitrary combinations, but these are the values people look up most often.
| Duration | Hours | Minutes | Seconds |
|---|---|---|---|
| 15 minutes | 0.25 | 15 | 900 |
| 1 hour | 1 | 60 | 3,600 |
| 4 hours | 4 | 240 | 14,400 |
| 1 day | 24 | 1,440 | 86,400 |
| 2 days | 48 | 2,880 | 172,800 |
| 3 days | 72 | 4,320 | 259,200 |
| 1 week | 168 | 10,080 | 604,800 |
| 30 days | 720 | 43,200 | 2,592,000 |
Those eight values are also available as one-click presets under “Common Recovery Time Windows”. They are labelled for recovery time objectives and retention tiers because that is where round durations get quoted most, but the conversions are general purpose—the seconds column is what you want for a cache TTL, a token lifetime, or a cron interval.
Date objects in your local timezone, so a span crossing a DST boundary reflects the real elapsed time. A “24 hour” period across a spring-forward will correctly show 23 hours of elapsed time, not 24. That is physically accurate but occasionally surprising.If you are working with epoch values rather than calendar dates, the Unix timestamp converter translates between seconds-since-1970 and human dates, and the wider developer tools collection covers related date and scheduling utilities.
Choose Calculate Duration, enter the start date (and optionally a time), then the end date and time. The tool immediately shows the span as a compact d h m s value plus decimal totals in days, hours, minutes, and seconds, along with the number of business days in the range.
Yes. Every duration result includes a business-day count that excludes Saturdays and Sundays and includes both endpoint days. Public holidays are not deducted, since they differ by country and organisation.
The result panel reports total hours as a decimal alongside days, minutes, and seconds, so you never need to convert manually. For example, 13 days and 8.5 hours is shown as 320.50 hours.
Yes. Add Time and Subtract Time modes take a starting date and time plus a quantity of days, hours, minutes, and seconds, then return the resulting timestamp in both readable and ISO formats.
Yes. Durations are computed from real elapsed milliseconds in your local timezone, so a span crossing a DST change reports the true elapsed time rather than a naive calendar difference.
Yes. Your inputs are encoded into the page URL as you type, so copying the address bar and sending it reproduces exactly the same calculation on their screen.
No—both sides are interpreted in your device’s local timezone. For cross-timezone comparisons and meeting scheduling, use the world clock and timezone meeting planner instead.
No. Every calculation runs in your browser. Nothing you enter is transmitted or stored.
2,592,000 seconds, which is 720 hours or 43,200 minutes. Convert Units mode will produce that and any other combination you enter.
Enter the earlier date as the start and the later date as the end, then read the days figure in the totals strip. The calculator returns the exact number of days between the two dates — exclusive of the start day — with leap years and varying month lengths handled automatically, so no manual counting is needed.
Convert Unix timestamps and Windows FILETIME (PE headers, malware analysis) to readable dates. Supports batch conversion, hex/decimal FILETIME formats, forensic timeline analysis.
Free meeting planner for distributed teams. Find overlap windows across 38 time zones, schedule calls, convert times, and export to calendar.
Convert 64-bit Windows FILETIME and Active Directory timestamps to human-readable dates and back, with support for hex, decimal, and LDAP formats.