Duration Calculator Hours: How to Use It
- Total minutes
- min
- Result
- Start time (HH:MM)
- 9
- You entered
- Duration (minutes)
- 90 min
- You entered
A duration calculator for hours works out the exact time between two moments, or the total hours from a start time plus a length of time. You enter a start and end time (or a start time and a duration), and it returns the elapsed hours, minutes, and seconds. This page explains the math behind it, shows a working example, and covers the common mistakes people make when calculating durations by hand.
Formula
The core formula for a duration calculation is simple: Elapsed time = End time − Start time. When you add a duration to a start time, the formula is End time = Start time + Duration. All times are converted to a single unit (minutes or seconds) before doing the arithmetic, then converted back to hours, minutes, and seconds for display.
For example, if you start at 9:00 AM and add 90 minutes:
- Convert start time to minutes since midnight: 9:00 = 9 × 60 = 540 minutes.
- Add the duration: 540 + 90 = 630 minutes.
- Convert back to clock time: 630 ÷ 60 = 10.5 hours, which is 10:30 AM.
The calculator above does exactly this. It takes a start time (entered as hours and minutes) and a duration in minutes, then outputs the end time on a 24-hour clock. The day rollover is handled automatically: if the result exceeds 24:00, the calculator adds a day and shows the correct time on the next day.
Worked Example
Using the default values from the calculator block: start time = 9:00 (9 hours, 0 minutes), duration = 90 minutes.
- Convert 9:00 to minutes: 9 × 60 + 0 = 540 minutes.
- Add the duration: 540 + 90 = 630 minutes.
- Convert 630 minutes to hours and minutes: 630 ÷ 60 = 10 hours with a remainder of 30 minutes, so 10:30.
- The calculator displays “10:30� as the end time.
The result is 10:30, which matches the calculator’s output. If you entered a duration of 150 minutes instead, the end time would be 11:30, because 540 + 150 = 690 minutes = 11 hours and 30 minutes.
When to Use a Duration Calculator
Duration calculators are useful in many everyday situations where you need to know how much time has passed or will pass. Common uses include:
- Tracking work hours: calculate the time between clock-in and clock-out.
- Cooking and baking: convert a recipe’s cooking time to a precise end time.
- Travel planning: figure out arrival time given a departure time and trip duration.
- Project management: estimate when a task will finish if it starts at a specific time and takes a known number of minutes.
- Fitness: log workout durations or rest periods between sets.
The calculator is especially helpful when you need to add minutes across an hour boundary. For example, adding 45 minutes to 2:40 PM is easy to do mentally (3:25 PM), but adding 90 minutes to 11:50 PM requires careful handling of the day change. The calculator does that automatically.
How to Read the Result
The output is shown as a 24-hour clock time, so 14:30 means 2:30 PM, and 00:15 means 12:15 AM. If you add a duration that crosses midnight, the calculator adds a day and shows the time on the next day. For instance, starting at 23:00 (11 PM) and adding 120 minutes gives 01:00, which is 1:00 AM the next day.
If you need the result in hours and minutes rather than a clock time, you can subtract the start time from the end time using the same calculator. For example, to find how long a shift lasts from 9:00 AM to 5:30 PM, enter 9:00 as the start and 510 minutes (the difference) as the duration, and the calculator will show the end time as 17:30. But to get the duration itself, you would use a different type of calculator that takes two times. This particular calculator is designed for adding a duration to a start time.
Common Mistakes and How to Avoid Them
When doing duration calculations by hand, people often make these errors:
- Mixing AM/PM with 24-hour time: If you use a 12-hour clock, remember that 2:00 PM is 14:00 in 24-hour time. The calculator uses 24-hour time, so enter 14:00 for 2 PM.
- Forgetting to convert minutes to hours: 90 minutes is 1.5 hours, not 1 hour 90 minutes. Always convert extra minutes to hours when adding.
- Ignoring the day rollover: Adding 3 hours to 11:00 PM gives 2:00 AM the next day, not 14:00. The calculator handles this, but manual calculations often forget it.
- Using decimal hours incorrectly: 1.5 hours is 1 hour 30 minutes, not 1 hour 50 minutes. To convert decimal hours to minutes, multiply the decimal part by 60.
A good check is to convert everything to minutes first, do the arithmetic, then convert back. This avoids most errors.
Limitations of the Formula
The formula assumes a continuous, linear progression of time. It does not account for:
- Time zones: If your start and end times are in different time zones, you must convert them to the same zone first.
- Daylight saving time changes: The calculator treats every day as 24 hours, but days with a DST transition are 23 or 25 hours long. For most everyday uses this is negligible, but for precise scheduling across a DST change, you need a calendar-aware tool.
- Leap seconds: These are rare and only relevant for scientific applications.
For most practical purposes—work shifts, cooking, travel—these limitations do not matter. The calculator gives an accurate result for any time span that does not cross a time zone or DST boundary.
Frequently Asked Questions
How do I calculate hours between two times?
To find the duration between two times, convert both to minutes since midnight, subtract the earlier from the later, then convert the difference back to hours and minutes. For example, from 9:30 AM to 2:15 PM: 9:30 = 570 minutes, 14:15 = 855 minutes, difference = 285 minutes = 4 hours 45 minutes. If the span crosses midnight, add 1440 minutes (24 hours) to the end time before subtracting.
What is the difference between elapsed time and duration?
They are the same concept. Elapsed time is the amount of time that passes from a start event to an end event. Duration is the length of that interval. Both are measured in hours, minutes, and seconds. The calculator above computes the end time when you know the start time and the duration, which is the reverse of finding elapsed time.
How do I convert minutes to hours and minutes?
Divide the total minutes by 60. The whole number is the hours, and the remainder is the minutes. For example, 195 minutes ÷ 60 = 3 hours with a remainder of 15 minutes, so 3 hours 15 minutes. To convert back, multiply hours by 60 and add the minutes.
Can I use this calculator for time zones?
No, this calculator assumes both times are in the same time zone. If you need to account for time zone differences, first convert the start and end times to a common time zone (usually UTC), then calculate the duration. The result will be the actual elapsed time regardless of zones.
Why does the calculator show 24-hour time?
24-hour time avoids AM/PM confusion and makes arithmetic easier. For example, 3:00 PM is 15:00, and adding 2 hours gives 17:00, which is clearly 5:00 PM. If you prefer 12-hour time, subtract 12 from any hour greater than 12 to get the PM time.
What if I enter a start time after the end time?
If you are using the calculator to add a duration, there is no issue—the start time can be any time, and the result will be later. If you are manually calculating elapsed time and the end time is earlier than the start time, it means the span crosses midnight. Add 24 hours to the end time before subtracting.
Related
Formula used
in t | Start time (HH:MM) | - | 9 | 0 in d | Duration (minutes) | min | 90 | 0 out end | End time | clock | t + d | 0 out total | Total minutes | min | d | 0
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.