Time Duration Calculator β€” Add, Subtract & Sum Durations

Suchmaschinenoptimierung
  1. Home
  2. Calculators
  3. Time Duration Calculator
Share: Report

Time Duration Calculator

100% free · Runs 100% in your browser · No signup needed

Start time
End time

If the end time is earlier than (or equal to) the start time, the tool assumes it ran past midnight and adds 24 hours, labeling it “next day”.

Try an example: 22:30 → 06:45 (overnight)

άber Time Duration Calculator

What Is a Time Duration Calculator?

A time duration calculator does one job extremely well: it performs arithmetic on hours, minutes, and seconds. Subtract a start time from an end time to get a shift length, add two durations to total a project, or sum a whole list of durations to reconcile a timesheet. It sounds simple, but doing it by hand is famously error-prone β€” 60 minutes to an hour and 60 seconds to a minute means ordinary decimal addition does not work, and one careless carry ruins the result.

The Time Duration Calculator on fisthost.com/tools handles all of it in your browser: duration between two times (with overnight shifts handled correctly), add/subtract mode for combining durations, a list-sum mode for totals, and outputs in hours-minutes-seconds, decimal hours, total minutes, and total seconds. No signup, no downloads, everything client-side.

Between-Times Mode: How Long Did It Take?

Enter a start time and an end time, and the tool returns the elapsed duration. The key detail it gets right is the overnight case: if the end time is earlier than or equal to the start time, the tool assumes the period crossed midnight and adds 24 hours, labeling the result as continuing into the next day. So a shift from 22:00 to 06:00 correctly returns 8 hours, not a negative number.

  • Accepts HH:MM:SS or HH:MM input.
  • Clear "next day" labeling whenever the midnight boundary is crossed.
  • Outputs the duration broken into hours, minutes, and seconds.

Worked Example

A support shift runs from 21:45 to 05:30. Since 05:30 ≀ 21:45, add 24 hours: (24:00 βˆ’ 21:45) + 05:30 = 2:15 + 5:30 = 7 hours 45 minutes.

Add and Subtract Durations

In add/subtract mode, the inputs are durations, not clock times β€” the tool keeps the two modes visually separate so you never mix them up. Add two or more durations together, or subtract one from another:

  • 1h 45m + 2h 30m = 4h 15m (the 75 minutes carry into 1 hour 15 minutes).
  • 8h 00m βˆ’ 0h 45m (lunch break) = 7h 15m of work time.

This is the mode freelancers use to combine billable blocks and managers use to total team hours.

List-Sum Mode: Total a Whole Column

Paste a list of durations, one per line, and the tool returns the grand total. Typical uses:

  • Timesheets: paste daily hours for the week to get the pay-period total.
  • Billable hours: sum client work sessions for an invoice.
  • Workout logs: total training time across sessions.
  • Study tracking: add up focused study blocks.

The tool tolerates flexible formats (e.g. "1:30", "1h 30m", "90m"), skips blank lines, and reports if any line could not be parsed.

Conversions: Decimal Hours, Minutes, Seconds

Every result is also shown in converted units, because different systems want different formats:

FormatHow it is computedExample: 2h 30m
Decimal hoursh + m/60 + s/36002.5 hours
Total minuteshΓ—60 + m (+ s/60)150 minutes
Total secondshΓ—3600 + mΓ—60 + s9,000 seconds

Decimal hours are what payroll and invoicing systems expect: 2h 30m becomes 2.5h, 45 minutes becomes 0.75h. The tool computes these exactly, so you never have to remember that 20 minutes is 0.333 hours.

Why Manual Time Math Goes Wrong

Time is not decimal, and that is the whole problem. A few classic mistakes:

  • Adding minutes past 60 β€” 45 + 30 = 75 minutes is 1h 15m, not 0h 75m.
  • Forgetting the midnight crossing β€” 22:00 to 06:00 looks like "βˆ’16 hours" if you subtract naively.
  • Decimal confusion β€” 1h 45m is 1.75 hours, not 1.45 hours. Entering 1.45 into a billing system undercharges the client.
  • Rounding drift β€” rounding each day's hours before summing a week compounds the error; the calculator sums exactly, then converts once.

Practical Scenarios

Shift workers and timesheets

Healthcare staff, security guards, and factory workers regularly work across midnight. The overnight-aware between-times mode gives the exact shift length, and list-sum mode totals the week in one paste.

Freelancers and billable hours

Track each client session as a duration, paste the list at month end, and read off the decimal-hours total your invoice needs. Pair it with the Invoice Generator to turn hours into a professional bill.

Project estimation

Add estimated durations for project phases to sanity-check a timeline: 3h 20m + 5h 45m + 2h 10m = 11h 15m of work, which is more than one working day β€” the estimate needs revisiting.

Fitness and study

Sum workout sessions or Pomodoro blocks to see your true weekly investment. Speaking of which, the Pomodoro Timer is a great companion for timed focus sessions.

Host Your Time-Tracking Side Project With FistHost

Built a timesheet app or a client portal and need somewhere reliable to run it? FistHost shared hosting starts at just $0.99/month, and the annual plan comes with a free domain for your first year. Fast, affordable hosting means your tools and projects are always online when you β€” and your clients β€” need them.

Frequently Asked Questions

Does it handle shifts that cross midnight?

Yes. If the end time is earlier than or equal to the start time, the calculator adds 24 hours and labels the result as continuing into the next day.

What is the difference between the modes?

Between-times mode takes two clock times and returns the elapsed duration. Add/subtract and list-sum modes take durations (lengths of time) and combine them. The interface keeps them visually separate so inputs are never ambiguous.

What formats can I paste into list-sum mode?

Flexible ones: "1:30", "1h 30m", "90m", "5400s" and similar are all understood. Blank lines are skipped, and unparseable lines are reported.

Why decimal hours?

Payroll software, invoicing tools, and spreadsheets expect hours as decimals β€” 2h 30m = 2.5h. The calculator shows this alongside the H:M:S form.

Is my data uploaded anywhere?

No. All calculations happen locally in your browser; nothing you type ever leaves your device.

More Date and Time Tools

Explore the rest of the date-and-time collection: the Date Duration Calculator for days between dates, the Working Days Calculator for business-day math, the Pomodoro Timer for focused work sessions, and the Countdown Timer for upcoming events.

Launch Your Next Project on FistHost

Whether it is a timesheet app, a portfolio, or a full online store, every project needs a home. FistHost offers shared hosting from $0.99/month with a free domain on annual plans β€” everything you need to get online today, backed by support that actually helps.

Time Math in Spreadsheets vs. a Dedicated Calculator

Spreadsheet programs store times as fractions of a day, which confuses almost everyone the first time. In a spreadsheet, 6:00 PM is stored as 0.75, and subtracting 9:00 AM from it gives 0.375 β€” which you must then reformat as a duration to read as 9 hours. Overnight shifts need clumsy IF formulas, and adding a column of durations requires custom number formats that break the moment someone types "90 minutes" as text. A dedicated calculator skips all of that: you type times and durations the way humans write them, and it handles midnight crossings, carry-overs, and unit conversions automatically.

Quick Reference: Everyday Conversions

DurationDecimal hoursTotal minutes
15 minutes0.25 h15
30 minutes0.5 h30
45 minutes0.75 h45
1 hour 20 minutes1.333 h80
2 hours 45 minutes2.75 h165
7 hours 30 minutes7.5 h450

Keep this table in mind when filling timesheets: entering 7.3 hours instead of 7.5 for a 7h30m day silently under-reports 12 minutes of work.

User Reviews

No reviews yet. Be the first to review this tool!

Write a Review

★★★★★

Captcha

Reviews are protected by captcha and moderated before they appear.


FistHost

Blazing-Fast Web Hosting

Plans from $0.99/mo
Free domain included

Get Hosting
FistHost Web Hosting Blazing-fast hosting for your website Plans from $0.99/mo · Free domain included Get Hosting