Time Duration Calculator

Measure elapsed time between two moments, or total up work shifts.

Elapsed Time Summary
0h 0m
Total Duration
Decimal Hours
0.00
Total Minutes
0
Total Seconds
0
Auto-Subtract Break?

Subtracts 30 mins from total duration

This calculator measures how much time sits between two moments — and adds up several stretches at once when you need it to. Use the simple mode for a single start-to-end span, or the multi-segment mode to total a day of clock-in and clock-out times, which is ideal for timesheets. You can subtract a standard break, and the result comes in hours and minutes, decimal hours for payroll, total minutes, and total seconds. It all runs in your browser.

Two modes and a break option

In simple mode you set a start date and time and an end date and time, and the calculator returns the elapsed duration. If you leave the dates the same but the end time is earlier than the start, it assumes the span crosses midnight and adds a day. In multi-segment mode you add as many clock-in/clock-out rows as you like — each is measured on its own, with the same overnight handling, and the segments are summed. Ticking the break option removes 30 minutes from the total, the way an unpaid lunch would.

Reading the results, especially decimal hours

The main figure shows hours and minutes as you'd read a clock, but the decimal-hours output is the one most timesheets and pay systems expect: 90 minutes becomes 1.5 rather than 1:30. Multiplying decimal hours by an hourly rate gives pay directly, with no minute-to-fraction conversion to trip over. The minutes and seconds totals are useful for shorter tasks and precise logging. Because the multi-segment mode works purely from clock times, it's best for durations within a rolling 24-hour window per row.

Frequently Asked Questions

How does it handle a shift that runs past midnight?

If the end time is earlier than the start time, it assumes the period crosses midnight and adds a full day, so an 22:00-to-06:00 shift correctly reads as eight hours.

What does the break option remove?

It subtracts 30 minutes from the total, matching a typical unpaid break, but only when the total is longer than half an hour.

Why show decimal hours?

Because payroll and billing usually work in decimals: 1 hour 30 minutes is 1.5 decimal hours. That makes it easy to multiply by an hourly rate without converting minutes into fractions yourself.

Is my data saved?

No. Everything is calculated in your browser and nothing you enter is uploaded or stored.