Works on this device
Time Calculator
Work out the time between two clock times or two dates, add up hours and minutes, or change a time to decimal hours. Choose a task, enter your times, and choose Calculate.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Calculate.
Your result
How it was worked out
How to use the time calculator
- Choose what you want to work out, for example Time between two clock times or Add up or subtract several times.
- Enter clock times with the time boxes. Type lengths of time in a form such as
1:30,1:30:15,90 minor1.5 h. - Choose Calculate. The answer is shown as hours, minutes and seconds, in words, and as decimal hours, minutes and seconds.
- Copy the result, print it, or download it as a CSV file.
What each task does
- Time between two clock times: end time minus start time. If the end time is earlier than the start, it is read as the next day. You can take off a break.
- Add or subtract time from a clock time: for example the time 48 hours after 9:00. Add a start date to see the date of the answer.
- Time between two dates and times: days, hours, minutes and seconds between two moments, and the same time counted in years, months and days.
- Add up or subtract several times: a list of times with a running total. Each row can be added or subtracted.
- Multiply or divide a time: a time × a number, a time ÷ a number, or one time as a percentage of another.
- Convert a time: hours and minutes to decimal hours, minutes or seconds, and back.
- Chart: minutes as decimal hours: a table for time sheets.
- Time card: hours for several shifts from clock-in and clock-out times, with breaks taken off.
- 12-hour and 24-hour time: one clock time in the AM and PM form, the 24-hour form and the military form.
How the time is worked out
Every clock time is turned into seconds since midnight. Every length of time is turned into whole milliseconds. The tool adds and subtracts these whole numbers, so no rounding happens in sums and differences.
Decimal hours = hours + minutes ÷ 60 + seconds ÷ 3600. So 45 minutes is 0.75 hours, and 20 minutes is 0.3333 hours.
When you multiply or divide a time, the answer can fall between two milliseconds. It is then rounded to the nearest millisecond, and half a millisecond rounds up. The result tells you when this happened.
Worked examples
A shift starts at 9:00 and ends at 17:30. That is 8 hours 30 minutes, or 8.5 hours. With a 30-minute break taken off, it is 8 hours, or 480 minutes.
A night shift from 22:00 to 06:15 runs over midnight: 2 hours to midnight plus 6 hours 15 minutes, which is 8 hours 15 minutes or 8.25 hours.
Adding 1:45, 2:30 and 0:50 gives 5:05:00, which is 305 minutes or about 5.08333 hours.
7:45 on a time sheet is 7.75 decimal hours, because 45 ÷ 60 = 0.75. Typing 7.75 h gives 7:45:00 again.
48 hours after 9:00 on Monday, 30 March 2026 is 09:00 on Wednesday, 1 April 2026.
Limits you should know
- Every day is counted as 24 hours. The tool does not add or remove an hour when clocks change for summer time.
- It does not convert between time zones. For that, use the Time Zone Converter.
- It does not read the clock of your device. For time since or time until now, enter the present date and time yourself.
- A number alone, such as 45, is not accepted as a length of time. Add a unit, such as
45 min, so the meaning is clear. - Dates use the Gregorian calendar for the years 1 to 9999. One typed time can be at most 10,000,000 hours.
- The time card adds up hours only. For overtime and pay, use the Work Hours Calculator.