Time Calculator

Decimals are allowed (e.g. 1.5 hours). Rows are saved in this browser.

How to use the time calculator

How time is calculated

All values are converted to seconds, combined, and converted back. Clock times wrap around every 24 hours (86,400 seconds).

Seconds = days × 86,400 + hours × 3,600 + minutes × 60 + seconds Duration = end − start (if negative and no dates: + 86,400, i.e. next day) New time = (start + duration) mod 86,400 Day offset = ⌊(start + duration) ÷ 86,400⌋

Worked examples

CalculationResult
2 h 45 m + 1 h 30 m 30 s − 20 m3h 55m 30s = 3.925 hours = 235.5 minutes = 14,130 seconds
09:00 → 17:308h 30m = 8.5 hours (510 minutes)
22:00 → 06:15 (no dates)8h 15m, ending the next day
22:30 + 3 h 45 m02:15:00 (2:15 AM), +1 day
08:15 − 9 h 30 m22:45:00 (10:45 PM), −1 day

Minutes to decimal hours

Payroll and billing systems often need decimal hours. Divide minutes by 60:

MinutesDecimal hoursMinutesDecimal hours
60.10300.50
100.1667400.6667
150.25450.75
200.3333500.8333

Common uses

Good to know

Time Calculator by AllOnlineCalcs