How to use the time calculator
- Add / subtract durations: enter one duration per row in days, hours, minutes and seconds, and choose + or − for each row. The total is shown as d h m s and in decimal hours, minutes and seconds — handy for timesheets, workout logs or video lengths.
- Time between two times: enter a start and end clock time to get the elapsed time. If the end is earlier than the start (a night shift), it is counted as the next day. Fill in both dates for spans of several days.
- Add to a clock time: pick a time and add or subtract a duration to find the new clock time and how many days it moves forward or back.
How time is calculated
All values are converted to seconds, combined, and converted back. Clock times wrap around every 24 hours (86,400 seconds).
Worked examples
| Calculation | Result |
|---|---|
| 2 h 45 m + 1 h 30 m 30 s − 20 m | 3h 55m 30s = 3.925 hours = 235.5 minutes = 14,130 seconds |
| 09:00 → 17:30 | 8h 30m = 8.5 hours (510 minutes) |
| 22:00 → 06:15 (no dates) | 8h 15m, ending the next day |
| 22:30 + 3 h 45 m | 02:15:00 (2:15 AM), +1 day |
| 08:15 − 9 h 30 m | 22:45:00 (10:45 PM), −1 day |
Minutes to decimal hours
Payroll and billing systems often need decimal hours. Divide minutes by 60:
| Minutes | Decimal hours | Minutes | Decimal hours |
|---|---|---|---|
| 6 | 0.10 | 30 | 0.50 |
| 10 | 0.1667 | 40 | 0.6667 |
| 15 | 0.25 | 45 | 0.75 |
| 20 | 0.3333 | 50 | 0.8333 |
Common uses
- Timesheets: add up daily shift lengths for the week, subtracting unpaid breaks, then use the decimal-hours figure for payroll.
- Night shifts and travel: find how long a shift from 22:00 to 06:30 lasts, or when a 9 h 40 m flight leaving at 21:15 will land (06:55 the next day, in the departure time zone).
- Media and sport: total the running time of video clips, playlists, laps or workout intervals down to the second.
- Cooking and lab work: work back from a target finish time by subtracting the prep, cooking or incubation time.
Good to know
- Decimal inputs work: 1.5 hours is 1 h 30 m, and 0.25 days is 6 hours.
- Times are wall-clock times. On a daylight-saving changeover night, the real elapsed time differs by an hour.
- For timesheets with breaks and pay, use the hours calculator. To add days to a calendar date, use the date calculator.