Time calculator
Work out how many hours there are between a start and an end time (even past midnight), add up the hours of several days, or find out what time something will finish.
- Free
- No sign-up
- In your browser
Optional. Subtracted from the total.
Result
Enter the details to see the result.
How to use this tool
- Choose the type of calculation: “Between two times”, “Add up hours” or “Time + duration”.
- Between two times: enter the start time, the end time and, if you like, the break in minutes. If the end time is earlier, it's taken as the next day.
- Add up hours: type one duration per line, such as 7:45, 8h 10m or 1.5 (decimal hours). Put a minus sign in front to subtract.
- Time + duration: pick a time, add or subtract a duration, and you'll see the resulting time and whether it changes day.
Decimal hours: why 1.30 hours isn't 1 hour 30 minutes
An hour has 60 minutes, not 100. So 1 h 30 min is 1.5 hours in decimal form, and 1.30 hours is actually 1 h 18 min (0.30 × 60 = 18). Mixing up the two formats is a common mistake when filling in timesheets or working out hourly pay.
To convert hours and minutes to decimal, divide the minutes by 60 and add them to the hours: 7 h 45 min = 7 + 45 ÷ 60 = 7.75 h. The calculator always shows both formats.
Shifts that cross midnight
If the end time is earlier than the start time, the calculator assumes the shift ends the next day: 10:00 PM to 6:00 AM is 8 hours. Spans longer than 24 hours aren't supported in this mode; for those, use “Add up hours” with the length of each part.
Formats you can type when adding up hours
In “Add up hours” you can enter one duration per line in any of these formats:
- Hours and minutes: 7:45 or 7:45:30 (hours can go past 24).
- With units: 2h 15m, 90 min, 45 s, 1 hour 20 minutes.
- Decimal hours: 1.5.
- With a minus sign in front to subtract: −0:30 takes off half an hour.
Examples
A workday with a lunch break
In at 8:30 AM, out at 5:00 PM with a 45-minute break: 7:45 worked, that is, 7.75 hours.
A night shift
From 10:00 PM to 6:00 AM: 8 hours. The calculator notes that the end is on the next day.
A week of hours
Paste 7:45, 8:10, 7:30, 8:00 and 6:50, one per line. Total: 38:15, which is 38.25 hours.
What time will it finish?
A movie marathon starts at 10:30 PM and lasts 3 h 45 min: it ends at 2:15 AM the next day.
Frequently asked questions
How do I convert minutes to hours?
Divide the minutes by 60: 90 minutes is 1.5 hours and 45 minutes is 0.75 hours. In “Add up hours” you can type “90 min” and see the total in hours and minutes and in decimal hours.
How do I subtract time?
In “Add up hours”, type the duration with a minus sign in front (for example, −0:30). In “Time + duration”, choose “Subtract”.
Can I calculate a shift that ends the next day?
Yes. In “Between two times”, if the end time is earlier than the start time, it's counted as the next day.
Can I use it to work out hourly pay?
Yes: multiply the decimal hours the calculator gives you by your hourly rate. For example, 38.25 hours at $20 an hour is $765. Always use the decimal format, not hours and minutes.
Is my data sent to a server?
No. All calculations happen in your browser and the times you type aren't sent to any server.
Related guides
Related tools
This page is also available in: Español, Português, Français
