← Back to all browser tools
BROWSER TOOL / 24

Calculate the hours.
Keep the shift clear.

Find the time between a start and end time, subtract an unpaid break, and handle overnight shifts automatically.

How do I calculate time between two times? Enter start and end times to get the duration, including overnight shifts and breaks.

Time duration calculator

Elapsed time7h 30m
Decimal hours7.50
Shift typeSame day

If the end time is earlier than the start time, the calculator treats it as an overnight shift.

How to calculate a time duration

  1. Enter start and end times — same day or spanning midnight.
  2. Subtract breaks — minutes or a period, done automatically.
  3. Read hours and minutes — plus the decimal-hours form for timesheets.

The everyday uses

Good to know

Overnight spans are handled — machines and humans both fail at "11:30 PM to 3:15 AM" arithmetic, and this tool does not. Note that decimal hours (7.5) and clock format (7h 30m) are different languages: payroll systems may want one and your brain the other. Related: timesheet calculator and online timer.

Advertisement

Related guides: Black Friday 2026: The Dates, and the Files Behind the Campaign · Christmas 2026 and New Year 2027: The Dates That Decide Your… · Holiday Shipping Deadlines 2026: USPS, FedEx and UPS Cutoffs — the task behind this tool, with the numbers and the limits.

QUICK ANSWERS
Can it calculate an overnight shift?

Yes. An end time earlier than the start time is treated as the following day, so 10:00 PM to 6:00 AM becomes eight hours before any break is deducted.

What is decimal time?

Decimal hours are useful for invoices and timesheets. Seven hours and thirty minutes is 7.50 decimal hours.