Time Duration Calculator

Calculate duration between two times

Result

Provide inputs to see results.

TL;DR — calculate time difference, add/subtract hours, total blocks, and export results

This free time duration calculator is a flexible time difference calculator and hours calculator in one place. Find the time between two times or dates, add or subtract durations, include breaks, round for payroll, build running totals, and export a CSV or copyable table. It works with 12-hour and 24-hour (military) time, and everything runs directly in your browser.

Time Duration Calculator — calculate time between, add/subtract, and total hours worked

If you’ve ever stared at a timesheet wondering “How many hours are there between these two times?” this tool is for you. The Time Duration Calculator doubles as a time difference calculator, hours calculator, and simple work hours calculator for everyday use. You can measure the duration between two times or two dates, add and subtract time, or build a running total of hours for an entire week or project. It’s fast, accurate down to the second, and designed to stay out of your way.

In Between mode, you enter a start and end time in either 12-hour (AM/PM) or 24-hour / military time and get the elapsed time instantly. Turn on the Date option when the time span crosses midnight or multiple days; the calculator will show the total in days, hours, minutes, and seconds. There’s a dedicated field for unpaid breaks, so you can calculate hours worked between two times with lunch in a single pass. When payroll needs clean increments, rounding options let you snap totals to 1, 5, 6, 10, 15, or 30 minutes, using nearest, up, or down.

The Add/Subtract mode is ideal when you know a start time and need to add or remove a duration. You might be planning a meeting across time zones, working out when a shift ends, or figuring out “What time will it be in 2 hours 45 minutes?”. Enter a base time and a duration in the format that fits your brain: HH:MM, HH:MM:SS, a whole number of minutes, or a mixed format like 1h 5m 20s. The calculator outputs the new time and keeps the math consistent, even for longer spans with dates.

For ongoing work, the Running Total view lets you treat the tool like a lightweight online timesheet calculator. Add each block by start/end or direct duration, label it with a client, project, or task, subtract breaks, and apply per-block rounding. The running total updates as you go, showing both raw and rounded hours. You can also define daily and weekly overtime thresholds to split totals into regular and overtime buckets, which is useful when you’re summarizing employee hours or contractor time.

The display timezone setting is there for anyone working with remote teams or travel plans. It doesn’t change the underlying time durations; it only changes how clock times are shown. That means you can calculate your total flight time once, then flip through time zones to see what the start and end look like locally. And because the app runs entirely in your browser, nothing you enter is uploaded or stored on a server.

How to use the Time Duration Calculator

  1. Between times: enter Start and End in 12-hour or 24-hour format. Turn on Date for cross-day ranges, subtract breaks, and choose rounding if needed.
  2. Add/Subtract: enter a base time and a duration like 2:30, 1:10:30, 90, or 1h 5m 20s, then pick Add or Subtract to see the result.
  3. Running Total: add labeled blocks by range or duration, subtract breaks, enable per-block rounding, and watch your total hours and minutes update live.
  4. Timezone & overtime: switch the display timezone for clock readouts and, if you’re tracking work hours, set daily and weekly thresholds for overtime summaries.
  5. Export & share: copy a rich HTML table or download a CSV file for payroll, project logs, travel schedulers, or playlist planning.

Key features

  • Calculate duration between two times or two dates (seconds-accurate)
  • Use it as a time difference calculator, hours calculator, and basic work hours calculator
  • Add or subtract durations using HH:MM, HH:MM:SS, raw minutes, or 1h 5m 20s style input
  • Include unpaid breaks and choose rounding to 1/5/6/10/15/30 minutes (nearest, up, or down)
  • Supports 12-hour and 24-hour / military time for both input and display
  • Running total of multiple labeled blocks with optional per-block rounding
  • Copy a rich HTML table to the clipboard or export a CSV file
  • Switch the display timezone without changing durations
  • Daily and weekly overtime summaries with configurable thresholds
  • Fast, private, browser-based app with no signup required

Tips

  • Use 24-hour time (e.g., 07:30 or 18:45) for quick, unambiguous entry.
  • For overnight shifts or trips that cross midnight, enable the Date option in Between mode.
  • In Add/Subtract, paste durations like 2:30, 1:10:30, 90, or 1h 5m 20s and let the calculator parse them.
  • Turn on 6-minute rounding if your payroll system uses tenths of an hour.
  • Use Running Total with labels like Client or Project to keep a clean, exportable time log.

Frequently asked questions

How do I calculate time duration between two times?
Open Between, enter Start and End in either AM/PM or 24-hour format, and read the duration instantly. Turn on Date for cross-day spans, subtract breaks, and apply rounding if you’re preparing a timesheet or payroll entry.
Can I use this as an hours worked calculator with breaks?
Yes. Enter your shift start and end, subtract lunch or short breaks, and the calculator shows your total hours worked. For a full week, switch to Running Total and add each day as a block.
How do I add or subtract a duration from a specific time?
Go to Add/Subtract, type your base time, choose Add or Subtract, and enter a duration like 2:30, 1:10:30, 90 (minutes), or 1h 5m 20s. The result appears immediately, and you can show it in 12-hour or 24-hour format.
Can I export my time calculations?
Yes. Copy a rich HTML table to paste into email, Google Docs, or spreadsheets, or download a CSV file you can import into payroll or project tracking tools.
Why would I change the display timezone?
Switching timezone helps when you work with remote teams or plan travel. It shows the same durations but lets you verify what the start and end look like in another city or time zone.

Related tools

Planning costs or discounts? Try the Percentage Calculator. Need a quick random pick for schedules or tasks? Use the Random Number Generator. Tracking how fast you can enter data or notes? Measure it with the Typing Speed Test.