Free Online Time Duration, Add and Subtract Time Calculator
Work out how long it is between two clock times, or add and subtract hours, minutes and seconds from a time. Shifts that run past midnight are handled rather than giving a negative answer, and every result is shown as hours and minutes, as decimal hours, and as a plain number of minutes and seconds.
Every date is worked out in your browser. Nothing you type is sent anywhere.
⏳ What do you need?
Both times turned into seconds, then one subtraction.
| Step | Value | What it means |
|---|
| The same answer as | Value | Where this form is used |
|---|
| When | What was worked out | Actions |
|---|
How dates are shown
The format only changes what you read. Every date you type into a date box is handled as year, month and day, so 02/09 can never be mistaken for the second of September in one place and the ninth of February in another.
Display
Full screen hides the page around the tool. Press Escape, or the button in the bar, to come back.
History
Your data
Settings, history and saved setups live in this browser and nowhere else. There is no account and no server, which also means clearing them here is final.
Enjoying WizTools123? Help keep our server infrastructure 100% free and open for everyone.
How to Work Out a Time Duration
Three steps, and the second one is where most answers go wrong.
What to Know About Adding Up Time
Midnight, decimal hours and the mistakes they cause.
Key Features & Capabilities
What it does, and what it deliberately leaves to other pages.
About Time Durations
A time duration is the gap between two points on the clock, and it looks like the simplest arithmetic there is until the gap crosses midnight. From 09:00 to 17:30 is a subtraction anyone can do in their head. From 22:00 to 06:00 is the same subtraction and gives minus sixteen hours, which is wrong by twenty four. That single case is behind a large share of the wrong totals in hand built rota spreadsheets, and it is why this page adds a day of its own accord when the end time is earlier than the start, and prints a line saying that it has.
The second trap is the decimal hour. Payroll systems, invoices and project trackers usually want hours as a decimal, and 7 hours 45 minutes becomes 7.75 because 45 minutes is three quarters of an hour. Writing 7.45 instead is an easy slip and loses eighteen minutes a day, which over a month is most of a working day. There is no way to tell the two apart by looking at the number, so the only safe habit is to convert deliberately and to see both forms together, which is what the result panel here shows.
Adding and subtracting time is the same calculation turned round. A start time becomes a number of seconds, the amount is added or taken off, and the result is brought back into the 0 to 24 hour range while counting how many days were crossed. That counting is the part worth seeing: 22:45 plus eight hours fifteen is 07:00 the next day, and a page that shows only 07:00 has told you half the answer. The day shift is printed with every result for that reason.
What this page deliberately does not do is work in dates or follow a time zone through a clock change. The gap between two calendar dates belongs to the date difference calculator, a week of shifts with breaks and overtime belongs to the hours calculator, and a time that must survive daylight saving in a named zone belongs to the time zone converter. Keeping this page on plain clock arithmetic is what lets it stay exact to the second and honest about what it is answering.
Frequently Asked Questions
Night shifts, decimal hours and seconds.
Every Other Date & Time Tool
18 more tools in this set. All free, all in your browser.