Time Calculator
Use this time calculator to add or subtract time values, or find the exact duration between two clock times — pick a mode below and get an instant, accurate result.
Content reviewed by [Your Name / Reviewer Name] · Last updated September 1, 2026
Calculate time
First time
Second time
Please enter at least one value in each time field.
If the end time is earlier than the start time, it's treated as the next day.
Please enter both a start and end time.
Amount of time
Please enter a starting time and at least one amount of time.
Please enter a valid expression, e.g. "1d 2h 3m + 30m".
How time math works
Time doesn't use base-10 like ordinary decimal numbers — seconds and minutes run in base-60, and hours run in base-24. As a result, adding 45 minutes and 30 minutes doesn't simply give "75 minutes" as a final answer; it carries over into 1 hour and 15 minutes, the same way carrying works in long addition. This calculator handles that conversion for you automatically, whether you're adding, subtracting, or finding the gap between two clock times.
A worked example
For example, say you start with 2 hours, 15 minutes, 30 seconds and add 4 hours, 50 minutes, 15 seconds. First, convert both to total seconds: 8,130 seconds and 17,415 seconds. Then, adding them gives 25,545 seconds. Converting back: that's 7 hours, 5 minutes, and 45 seconds — 7:05:45.
Units of time, at a glance
Since time math depends on knowing how each unit converts into the next, here's a quick reference for the units this calculator works with:
| Unit | Definition |
|---|---|
| Decade | 10 years |
| Year (average) | 365.242 days, or 12 months |
| Month | 28–31 days, depending on the month |
| Week | 7 days |
| Day | 24 hours, or 1,440 minutes, or 86,400 seconds |
| Hour | 60 minutes, or 3,600 seconds |
| Minute | 60 seconds |
| Second | Base unit of time |
| Millisecond | 0.001 second |
Using the Time Duration mode
Instead of adding two separate time values, the Time Duration tab answers a different, very common question: "how much time is between this clock time and that one?" For instance, entering a start time of 9:00 AM and an end time of 5:30 PM tells you the elapsed time is 8 hours and 30 minutes — useful for tracking work hours, study sessions, or how long an event ran. If your end time is technically "earlier" than your start time (say, starting at 11:00 PM and ending at 2:00 AM), the calculator assumes the end time falls on the next day and adjusts automatically, because otherwise the math would come out negative.
Finding a resulting clock time
The "From a Clock Time" tab answers a slightly different question than the other modes: instead of just totaling durations, it tells you the actual resulting time of day. For example, if it's currently 2:15 PM and you need to know what time it'll be in 5 hours and 45 minutes, this mode gives you the answer directly — including whether it rolls over into the next day.
Using expressions for quick multi-step math
If you're comfortable with a bit of shorthand, the Expression tab lets you chain several additions and subtractions in one line, instead of switching between the other tabs repeatedly. For example, entering 1d 2h 3m 4s + 4h 5s - 2030s calculates the whole thing in a single step — useful when you're combining several time blocks at once, like multiple work shifts or workout intervals.
Common uses for a time calculator
Because time math comes up constantly in everyday planning, this tool tends to get used for a wide range of tasks, including:
- Tracking work hours — add up shift lengths or find the gap between clock-in and clock-out times.
- Cooking and baking — add prep time and cook time together to plan when a dish will be ready.
- Travel planning — figure out arrival times when you know a departure time and a trip duration.
- Study and workout sessions — total up multiple time blocks, like interval training or study sprints.
- Project scheduling — estimate a finish time by adding an expected duration to a known start time.
Tips for accurate results
- Leave unused fields blank or at 0 — you don't need to fill in days or seconds if your calculation doesn't involve them.
- Watch for negative results — subtracting a larger time from a smaller one is valid, and it shows how far short the first time falls, marked with a minus sign.
- Use 24-hour awareness for Duration mode — if your times span midnight, the calculator handles the day rollover for you, so there's no need to manually add 24 hours yourself.
Frequently asked questions
How do I add or subtract time correctly?
Convert both times to a single unit (usually seconds), add or subtract the totals, then convert the result back into days, hours, minutes, and seconds. This calculator does that conversion automatically so you don't have to borrow or carry units by hand.
What happens if the result is negative?
If you subtract a larger time from a smaller one, the result will be negative, meaning the second time exceeds the first. The calculator shows a minus sign along with the magnitude of the difference.
How do I find the duration between two clock times?
Use the Time Duration tab: enter a start time and an end time. If the end time is earlier than the start time, the calculator assumes it falls on the next day and adds 24 hours automatically.
Can this calculator handle times across midnight?
Yes. In Time Duration mode, if your end time is smaller than your start time (for example, starting at 11 PM and ending at 2 AM), the calculator automatically treats the end time as being on the next day.
Why doesn't time math work like normal decimal math?
Because time uses base-60 for seconds and minutes and base-24 for hours, rather than base-10. Adding 45 minutes and 30 minutes doesn't give 75 minutes as a final answer — it carries over to 1 hour and 15 minutes, the same way carrying works in long addition.
Overall, this calculator is intended for general time-math purposes and does not account for time zone differences or daylight saving time transitions.