Calculate Hours, Minutes and Seconds Between Times

Need to find out how much time has passed between two times? The free Time Duration Calculator helps you find the difference between a start time and an end time in hours, minutes, and seconds. Enter your times, select a 12-hour or 24-hour clock, and get your result.
Use the calculator to measure the length of a meeting, work shift, study session, journey, or any other activity. You can also add or subtract time, combine several time intervals, and calculate weekly working hours.
If your calculation crosses midnight or spans multiple dates, you can enter the relevant dates to get the correct duration.
Table of Contents
- Calculate hours, minutes and seconds between times
- What can you calculate?
- How to use the time duration calculator
- 1. Calculate the time between two times
- 2. Add or subtract time
- 3. Calculate the total of multiple time intervals
- 4. Calculate weekly working hours
- How to calculate time duration
- How to calculate time across midnight
- How to convert time into minutes
- How to convert hours and minutes into decimal hours
- Common time calculations and examples
- 12-hour clock and 24-hour clock
- Frequently asked questions
- Learn more about time and measurement
What Can You Calculate?
The Time Duration Calculator has four modes for different types of time calculations:
- Time Duration: Find the time between a start time and an end time, including overnight intervals.
- Add or Subtract Time: Add a duration to a starting time or subtract it to find an earlier time.
- Total Time: Combine multiple durations to calculate the total time.
- Working Hours: Calculate scheduled hours across seven days and deduct breaks.
Select the mode you need and enter the relevant values. The calculator handles the time conversion and displays the result.
How to Use the Time Duration Calculator
Follow these steps to calculate the time between two times:
- Select Time Duration.
- Enter the starting time.
- Enter the ending time.
- Choose the 12-hour or 24-hour clock format.
- Enable seconds if you need to calculate an interval that includes seconds.
- Add dates if the calculation spans specific calendar days.
- View the result.
The calculator displays the elapsed time in hours, minutes, and seconds.
For example, if you enter 9:00 AM as the starting time and 5:30 PM as the ending time, the result is 8 hours and 30 minutes.
1. Calculate the Time Between Two Times
Use Time Duration when you know when an activity started and ended and want to find out how long it lasted.
Enter the start and end times, and the calculator finds the difference. You can use it to calculate work shifts, meeting lengths, travel times, study sessions, appointments, and exercise durations.
Example: How many hours are between 6:00 AM and 4:00 PM?
- Start time: 6:00 AM
- End time: 4:00 PM
- Duration: 10 hours
Example: How long is it from 11:40 AM to 1:20 PM?
- Start time: 11:40 AM
- End time: 1:20 PM
- Duration: 1 hour and 40 minutes
What happens when the time interval crosses midnight?
The calculator can handle overnight intervals. For example, a shift that starts at 10:00 PM and ends at 6:00 AM the following day lasts 8 hours.
If you don’t enter dates, the calculator treats an end time earlier than the start time as occurring on the following day. If you enter dates, it uses those dates to calculate the actual interval.
2. Add or Subtract Time
Use Add or Subtract Time when you know the starting time and a duration but need to find the resulting clock time.
This mode can help you work out when a meeting will finish, when a task will be completed, or what time it was before a particular event.
Example: What time is 2 hours and 30 minutes after 9:15 AM?
- Starting time: 9:15 AM
- Duration: 2 hours and 30 minutes
- Result: 11:45 AM
Example: What time was it 45 minutes before 3:00 PM?
- Starting time: 3:00 PM
- Operation: Subtract
- Duration: 45 minutes
- Result: 2:15 PM
The calculator supports durations longer than 24 hours, so you can also calculate times across multiple days.
3. Calculate the Total of Multiple Time Intervals
Select Total Time when you need to add several separate durations. This is useful for combining work sessions, tracking project time, or calculating how long you spent on different activities.
Enter each duration, and the calculator adds them together.
Example: Calculate the total time spent on three tasks.
| Activity | Duration |
|---|---|
| Task 1 | 1 hour 30 minutes |
| Task 2 | 2 hours 15 minutes |
| Task 3 | 45 minutes |
| Total | 4 hours 30 minutes |
In this example, the three tasks take a combined 4 hours and 30 minutes.
4. Calculate Weekly Working Hours
Select Working Hours to calculate scheduled hours across a Monday-to-Sunday workweek.
Enter the start time, end time, and break duration for each working day. Leave the days you don’t work blank. The calculator deducts the breaks you enter and displays your net weekly hours.
You can use this mode to check a weekly schedule, estimate working hours before submitting a timesheet, or calculate the average hours worked per scheduled day.
Example: Calculate weekly hours for a Monday-to-Friday schedule.
| Day | Start | End | Break | Net hours |
|---|---|---|---|---|
| Monday | 9:00 AM | 5:30 PM | 30 min | 8 |
| Tuesday | 9:00 AM | 5:30 PM | 30 min | 8 |
| Wednesday | 9:00 AM | 5:30 PM | 30 min | 8 |
| Thursday | 9:00 AM | 5:30 PM | 30 min | 8 |
| Friday | 9:00 AM | 5:30 PM | 30 min | 8 |
| Weekly total | 40 hours |
Each day has 8 scheduled hours after the 30-minute break is deducted, giving a total of 40 hours for the week.
The result displays the weekly total in decimal hours and in hours-and-minutes format, along with a daily breakdown.
How to Calculate Time Duration
You can calculate the difference between two times by converting both clock times into minutes, subtracting the starting value from the ending value, and converting the result into hours and minutes.
Step 1: Convert Both Times into Minutes
Multiply the hour value by 60 and add the minutes.
For example, calculate the time between 9:15 AM and 11:45 AM.
Start time:
9 × 60 + 15 = 555 minutes
End time:
11 × 60 + 45 = 705 minutes
Step 2: Subtract the Starting Time
Subtract 555 from 705:
705 − 555 = 150 minutes
Step 3: Convert the Result into Hours and Minutes
Divide 150 by 60.
150 minutes = 2 hours and 30 minutes.
The elapsed time between 9:15 AM and 11:45 AM is therefore 2 hours and 30 minutes.
You can use the Time Duration Calculator to perform these steps automatically.
How to Calculate Time Across Midnight
When a time interval crosses midnight, the ending time falls on the following calendar day.
For example, consider a shift that starts at 10:30 PM and ends at 6:15 AM the next day.
- From 10:30 PM to midnight: 1 hour and 30 minutes.
- From midnight to 6:15 AM: 6 hours and 15 minutes.
- Total duration: 7 hours and 45 minutes.
If you don’t enter dates, the calculator assumes that an end time earlier than the start time belongs to the following day. If you enter the start and end dates, it uses those dates to calculate the interval.
How to Convert Time into Minutes
To convert hours and minutes into total minutes, multiply the number of hours by 60 and add the remaining minutes.
Formula:
Total minutes = (Hours × 60) + Minutes
For example, 3 hours and 25 minutes equals:
(3 × 60) + 25 = 205 minutes.
Use this table for common time conversions:
| Time | Total minutes |
|---|---|
| 15 minutes | 15 |
| 30 minutes | 30 |
| 45 minutes | 45 |
| 1 hour | 60 |
| 1 hour 30 minutes | 90 |
| 2 hours | 120 |
| 2 hours 30 minutes | 150 |
| 8 hours | 480 |
| 24 hours | 1,440 |
How to Convert Hours and Minutes into Decimal Hours
Decimal hours express a time duration as a number with a decimal point. This format is often used in timesheets, payroll calculations, billing, and project tracking.
To convert a duration into decimal hours, divide the minutes by 60 and add the result to the whole hours.
Formula:
Decimal hours = Hours + (Minutes ÷ 60)
For example:
- 1 hour and 30 minutes = 1.50 hours.
- 2 hours and 15 minutes = 2.25 hours.
- 3 hours and 45 minutes = 3.75 hours.
- 8 hours and 30 minutes = 8.50 hours.
Remember that 8 hours and 30 minutes equals 8.5 decimal hours, not 8.30 hours. The digits after the decimal point represent a fraction of an hour, not additional minutes.
Common Time Calculations and Examples
These examples show how long common time intervals last.
| Time calculation | Duration |
|---|---|
| 6:00 AM to 4:00 PM | 10 hours |
| 7:30 AM to 8:30 AM | 1 hour |
| 8:00 AM to 5:00 PM | 9 hours |
| 9:30 AM to 10:05 AM | 35 minutes |
| 11:00 AM to 3:00 PM | 4 hours |
| 12:00 AM to 4:00 PM | 16 hours |
| 1:30 PM to 12:00 AM | 10 hours 30 minutes |
| 12:26 PM to 12:56 PM | 30 minutes |
| 4:00 PM to 7:00 PM | 3 hours |
These figures show elapsed time. When calculating working hours, subtract unpaid breaks if they apply.
12-Hour Clock and 24-Hour Clock
The calculator supports both common time formats.
12-hour clock: This format uses AM and PM to distinguish between morning and afternoon or evening. For example, 3:30 PM represents the afternoon, while 3:30 AM represents the early morning.
24-hour clock: This format represents the day from 00:00 to 23:59. For example, 3:30 PM becomes 15:30, and midnight is represented as 00:00.
The 24-hour format avoids confusion between AM and PM and is commonly used in transportation, healthcare, military settings, and international schedules.
Choose the format you prefer and make sure you enter the correct time of day.
Frequently Asked Questions
What is a time duration calculator?
A time duration calculator finds the elapsed time between two points. It displays the difference in hours, minutes, and seconds. Depending on its features, it can also add or subtract time, combine multiple intervals, and calculate scheduled working hours.
How do I calculate the time between two times?
Enter the starting time and ending time in Time Duration mode. The calculator finds the difference and displays the elapsed duration. If the interval crosses midnight, use the overnight calculation behavior or enter the correct dates.
How many hours are there between 8 AM and 5 PM?
There are 9 hours between 8:00 AM and 5:00 PM. If you have an unpaid one-hour lunch break, your net working time is 8 hours.
How many hours are there between 9 AM and 5 PM?
There are 8 hours between 9:00 AM and 5:00 PM. If you take an unpaid break, deduct its duration to calculate your net working hours.
How do I calculate time duration in minutes?
Convert both times into minutes by multiplying each hour value by 60 and adding the minutes. Subtract the starting value from the ending value to find the elapsed time in minutes. If the interval crosses midnight, account for the following day.
Can I calculate time that crosses midnight?
Yes. When you don’t enter dates, the calculator treats an end time earlier than the start time as occurring on the following day. You can also enter dates to calculate an interval across specific calendar days.
Can I calculate the duration between two dates and times?
Yes. Enable the date inputs and enter the start and end dates along with their respective times. The calculator uses both dates and times to find the duration across multiple days.
What is the difference between elapsed time and working time?
Elapsed time is the full amount of time between a start and end point. Working time is the time spent working after applicable breaks are deducted. For example, a shift from 9:00 AM to 5:00 PM lasts 8 hours. If you take an unpaid one-hour break, your net working time is 7 hours.
How do I convert 2 hours and 30 minutes into decimal hours?
Divide 30 minutes by 60 to get 0.5, then add the 2 whole hours. The result is 2.5 decimal hours.
Can I add multiple time durations together?
Yes. Select Total Time, enter each duration, and the calculator adds them together. You can use this mode to total work sessions, project hours, or time spent on separate tasks.
Is this time calculator free to use?
Yes. The Numgram Time Duration Calculator is free to use online. Enter your values to calculate time intervals without working through the conversion formulas manually.
Learn More About Time and Measurement
The following resources explain how time is measured and how time intervals are calculated:
- How Do You Measure a Second? – National Institute of Standards and Technology (NIST)
- SI Units: Time – NIST
- The Second – International Bureau of Weights and Measures (BIPM)
- Time Duration Calculator Help – timeanddate.com
These resources provide further information about the definition of a second, time measurement, and calculating time intervals.
Use the Numgram Time Duration Calculator to find the hours between two times, calculate an overnight shift, add or subtract a duration, combine multiple time intervals, or estimate weekly working hours.