Time • Calculator
Time Calculator
Calculate durations between times (with cross-midnight and break handling), plus add and subtract time durations. Payroll rounding to quarter, tenth or hundredth hour.
Direct Answer
The time calculator adds or subtracts multiple time intervals by normalizing them into base seconds, performing standard arithmetic, and converting the result back into days, hours, minutes, and seconds, or decimal hours.
Start time
End time
Duration
—
Decimal hours
—
Payroll
Add or subtract durations. Use negative for subtraction or the − button.
Total
—
If end < start with no dates, we assume next day (cross-midnight). If equal, duration is 0 (enter 24h explicitly for a full day). With dates, exact difference is used. Break is subtracted. Payroll rounding is for display — decimal hours remain exact.
How to use
- 1For Duration: enter start and end times (12h AM/PM or 24h) with optional dates. If end ≤ start without dates, we assume next day.
- 2Subtract a break (minutes) and choose payroll rounding if needed. Result shows HH:MM:SS, decimal hours, minutes and days.
- 3For Add & Subtract: enter any number of H:M:S durations and see the total (use negative rows or delete to subtract).
How it works
Duration = End − Start (+24h if cross-midnight) − Break • Decimal = h + m/60 + s/3600 • Quarter = round(h×4)/4| Variable | Name | Meaning & Example |
|---|---|---|
| H | Hours | Whole number of elapsed 60-minute blocks (14 hrs) |
| M | Minutes | Remaining 60-second intervals (45 mins) |
| S | Seconds | Base unit of duration (30 secs) |
When dates are given, we compute exact datetime difference. Without dates, end ≤ start adds 24h. Decimal hours convert to payroll: quarter (15m) and tenth (6m). Add & Subtract sums each duration’s seconds.
Examples
09:00 to 17:30 minus 60m break
Raw 8.5h −1h break = 7.5h • 450 minutes • 27,000 seconds.
07:30:00 • 7.5h
22:00 to 06:00 (next day)
Cross-midnight: (24−22)+6 = 8h.
08:00:00 • 8.0h