Time Calculator
Compute work, exercise, and project time fast. Midnight crossover, break deduction, and multi-row sum — all on one page.
- Work hours: 09:00 – 18:00, deduct 60-min break → 8 hours 0 min actual
- Night shift: 22:00 – 06:00 → midnight crossover handled, 8 hours
- Add time: 14:30 + 3h 45m = 18:15
- Weekly exercise sum: 1:30 + 0:45 + 2:15 = 4 hours 30 min
How to Use
(1) Duration between two times, (2) Add or subtract H:M from a time, (3) Sum multiple durations.
Use HH:MM (e.g., 09:30, 18:00). Mobile shows a native time picker. In sum mode, use "+ Add row" to add more durations.
Result shows "H hours M min" plus total minutes and seconds. Midnight crossover adds +1 day. The break-deduction toggle subtracts the entered minutes to give actual work hours.
FAQ
How is the duration between two times computed?
Start 09:00, end 18:00 → 9 hours 0 min. If end is earlier than start (e.g., 22:00 → 06:00), midnight crossover adds 24 hours → 8 hours. The "break deduction" toggle subtracts the entered minutes.
How does add/subtract work?
"3 PM + 5h 30m" → 15:00 + 5:30 = 20:30. Subtract mode that crosses midnight shows the result as "previous day".
When do I use the sum mode?
Weekly exercise totals, project hours, side-job sums. e.g., 8:30 + 2:45 + 1:15 = 12 hours 30 min. Rows can be freely added or removed.
Does it support 12-hour (AM/PM)?
Input is 24-hour (00:00–23:59). Enter 3 PM as 15:00, midnight as 00:00. Results use 24-hour format.
A work-hours example?
09:00 start, 18:00 end, 60-minute lunch break → toggle break deduction and enter 60 → result 8 hours 0 min (actual work). To get pay, multiply minutes by per-minute wage.
Is my input sent to a server?
No. All computation runs in your browser. Inputs are never sent over the network, never stored in localStorage or cookies.