Time Calculator
Add or subtract time from a clock time, and calculate the interval between two times.
Category: Date & Time
When to use?
Use it to add work hours to a start time to find the end time, or to calculate the exact interval between two times. It also handles overnight shifts that cross midnight.
How to use
- Add/subtract: enter a base time and the hours/minutes/seconds to add or subtract.
- Difference: enter a start and end time to get the interval.
- The resulting time or interval is shown.
Input Explanation
Enter times in HH:MM:SS format. Enter the hours, minutes, and seconds to add or subtract separately.
Calculation Basis
Values in hours, minutes, and seconds are converted to milliseconds, added or subtracted, then formatted back into a readable H/M/S form.
Usage Examples
- Calculate an end time - Add 2 hours 30 minutes to a start time to find the end time.
- Check work hours - Calculate the total time between clock-in and clock-out.
- Calculate overnight time - Calculate total time across a span that crosses midnight.
Examples
- 09:00 plus 8 hours 30 minutes → 17:30
- 09:00 to 18:30 → 9 hours 30 minutes
Cautions
- When switching between 24-hour and AM/PM input, check the units carefully to avoid confusion.
- It is a plain base-60 time sum that does not reflect sub-second precision or leap-second adjustments.
Guides
Adding and subtracting time
Enter hours, minutes, and seconds separately to add or find the difference. Over 60 minutes rolls up into hours for a normalized result.
Calculating work hours
Useful for finding hours worked from clock-in and clock-out. For overnight shifts, the start can be later than the end, so mind the direction.
FAQ
Does it calculate down to seconds?
Yes, it supports adding, subtracting, and difference in hours, minutes, and seconds.
Does it handle crossing midnight?
Yes, it handles calculations that cross over a date boundary.
How is the difference calculated?
Both times are converted to seconds and subtracted, then converted back to H/M/S.
Can the result be negative?
A negative subtraction is shown with a sign; the interval between two times is shown as an absolute value.
Related Tools
- Date Difference Calculator - Calculate the number of days between two dates, or the date N days from a reference date.
- D-Day Calculator - Show the days remaining until, or elapsed since, a target date based on today.
- Age Calculator - Calculate your exact age, this year's birthday status, and days until your next birthday.
- Timestamp Converter - Convert Unix timestamps to readable dates and dates back to Unix timestamps.
- Months Between Dates Calculator - Calculate total months, days, and a year/month/day breakdown between two dates.
- Day of the Week Calculator - Find the day of the week for a date and its day difference from today.