⚡
usefultools.dev
⏳

Time Duration Calculator (Hours Between Times)

NEW

Time duration calculator: find the hours between two times or dates, add or subtract time, and total a timesheet. Free and in-browser.

Runs 100% in your browser — your input is never uploaded or stored on our servers.

7h 45m 0s

End is earlier than start, so it is counted on the next day (crosses midnight).

Hours : min : sec
7h 45m 0s
Decimal hours
7.75
Total minutes
465
Total seconds
27900
⚡

Quick Examples

Typical inputs and the results this tool produces.

Overnight
22:30 to 06:15
7h 45m 0s · 7.75 h
Times
08:15:30 to 12:47:10
4h 31m 40s · 271.67 min
Dates
Mar 1 09:00 to Mar 3 17:30
2d 8h 30m 0s · 56.5 h
Add
09:15:00 + 8h 45m
18:00:00
Subtract
01:30 − 2h 45m
22:45:00 (−1 day)
📖

Overview

This time duration calculator answers the everyday question "how long is it from this time to that time?". Enter a start and end time of day and it returns the elapsed hours, minutes and seconds, automatically treating an earlier end time as the next day so night shifts work without any extra steps.

Three more modes cover the rest: the difference between two full dates and times, adding or subtracting a duration to a clock time, and a timesheet that sums several start–end rows with unpaid breaks. Every result is shown as h m s, decimal hours, total minutes and total seconds, which is handy for payroll and billing hours.

All calculations run locally in your browser, so nothing you enter is uploaded.

Why use this tool?

  • Handles shifts that cross midnight automatically
  • Decimal hours ready for payroll or invoices
  • Timesheet totals with breaks deducted
  • Copy results or the whole timesheet as CSV
  • Private: runs entirely in your browser
⭐

Features

🌙

Crosses midnight

If the end time is earlier than the start, it is counted on the following day.

📅

Date-time difference

Measure spans of several days between two dates and times, shown with days, hours, minutes and seconds.

➕

Add or subtract time

Shift a clock time by hours, minutes and seconds and see when it wraps to the next or previous day.

🧾

Timesheet mode

Add as many start–end rows as you need, deduct breaks and get a running total.

🔢

Four output formats

Every duration is shown as h m s, decimal hours, total minutes and total seconds.

📋

Copy and CSV

Copy a single result or export the timesheet rows as CSV for a spreadsheet.

🛠️

How to Use

1

Pick a mode

Choose Between times, Between dates, Add / subtract or Timesheet.

2

Enter the times

Fill in the start and end, or the start time and the duration to add.

3

Read the result

The duration updates as you type in h m s, decimal hours, minutes and seconds.

4

Copy it

Use Copy for one result or Copy as CSV for the full timesheet.

🤔

Frequently Asked Questions