# Time Duration Calculator — Calculate Hours Between Times

> Calculate elapsed time between two times, including overnight shifts and breaks. Free browser-based time duration calculator.

Source: https://toolpantry.app/time-duration-calculator

## About

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

## Quick answer

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

## 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

- Shift work and timesheet entries
- Sleep, workout, and commute tracking
- Project timeboxes measured in real hours

## 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](https://toolpantry.app/timesheet-calculator) and [online timer](https://toolpantry.app/online-timer).

## FAQ

**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.
