Time Calculator
Add or subtract hours, minutes, and seconds from any time — or find the exact duration between two clock times.
Last updated: March 2026
How to Use the Time Calculator
- Choose a mode. Select Add / Subtract Time to offset a starting time by a duration, or Time Between to find the gap between two specific times.
- Enter your starting time in hours, minutes, and seconds using 24-hour format (e.g., 14 for 2:00 PM). Leave seconds as 0 if not needed.
- Add/Subtract mode: Enter the duration (hours, minutes, seconds) you want to add or remove, then pick Add (+) or Subtract (−) from the dropdown.
- Time Between mode: Enter the end time. If the end time is earlier than the start time, the calculator treats the end as the following day (overnight).
- Read the results instantly. The panel shows the result time or total duration, plus decimal hours and the full breakdown in hours, minutes, and seconds.
What You'll Discover with This Calculator
This time calculator gives you more than just a raw number. Here's what each result means:
- Result Time (Add/Subtract mode): The exact clock time after adding or removing your duration. The calculator handles crossing midnight automatically.
- Duration (Time Between mode): The total elapsed time between your two clock times, displayed in HH:MM:SS format.
- Total Hours / Minutes / Seconds: The same duration expressed as a single unit. Useful for quick comparisons.
- Decimal Hours: The duration expressed as a decimal fraction of an hour. Essential for payroll, billing, and spreadsheet work (e.g., 1h 30m = 1.50 hours).
- Overnight Note: When a result or calculation spans midnight, the calculator flags this clearly so you're never confused about AM vs PM.
How Time Addition and Subtraction Works
Time arithmetic is different from regular arithmetic because it uses a base-60 system (sexagesimal), not base-10. There are 60 seconds in a minute and 60 minutes in an hour. This means you cannot simply add clock values as regular numbers without converting them first.
For example, if you add 45 minutes to 3:30, you don't get 3:75. You carry the overflow: 45 + 30 = 75 minutes, which equals 1 hour and 15 minutes, giving a result of 4:15. The same logic applies when subtracting — borrowing carries differently than with decimal numbers.
This calculator handles all of that automatically by converting everything to seconds first:
- The start time (e.g., 2:45:30) is converted to total seconds: (2 × 3600) + (45 × 60) + 30 = 9,930 seconds.
- The duration or end time is also converted to seconds.
- The two values are added or subtracted.
- The result is converted back to hours, minutes, and seconds using modulo arithmetic.
- If the result is negative or exceeds 86,400 seconds (one day), it wraps around with an overnight note.
This approach guarantees precision even with large durations spanning many hours, and correctly handles all edge cases like crossing midnight or entering values over 60 in the seconds field.
Common Uses for a Time Calculator
Scheduling and Meeting Planning
When planning your day, it's helpful to know exactly when a meeting or block of work will end. Add your meeting's start time plus its duration to get the precise end time. If you have back-to-back meetings, chain the results: the end of meeting 1 is the start of meeting 2.
Cooking and Recipe Timing
Recipes often list cooking times that need to be stacked. If dinner starts at 5:45 PM and takes 1 hour 25 minutes, you want to know it'll be ready at 7:10 PM — not guess and check. Use the time calculator to add the cooking time to your start time and never under or overcook again.
Fitness and Interval Training
Tracking workout sets, rest intervals, and total session length is much easier with a calculator. If your warmup is 8 minutes, your main workout is 42 minutes, and your cooldown is 10 minutes, you can chain additions to confirm your full session ends at the right time.
Shift Work and Time Tracking
Many workers start at unusual times like 6:20 AM or 11:45 PM. Knowing exactly when a shift ends — including overnight shifts — is essential. The Time Between mode is perfect for this: enter start and end time, get the exact hours and minutes worked.
Travel and Time Zone Math
If your flight departs at 7:15 PM and is 5 hours 40 minutes long, when do you land (in the departure time zone)? Add the flight duration to the departure time for an instant answer. This is much faster than counting on fingers across AM/PM boundaries.
How Do I Calculate Time If...
How do I add 30 minutes to 11:45 AM?
11:45 AM plus 30 minutes equals 12:15 PM. Enter 11, 45, and 0 as the start time, then enter 0 hours, 30 minutes, 0 seconds as the duration, and select Add. The result shows 12:15:00.
How do I calculate time from 8 AM to 5:30 PM?
From 8:00 AM to 5:30 PM is 9 hours and 30 minutes (9.5 decimal hours). Use Time Between mode, enter 8:00:00 as the start and 17:30:00 as the end. The calculator returns a duration of 9h 30m 0s.
How do I find out what time it will be in 2 hours and 45 minutes?
Add 2 hours and 45 minutes to your current time. Enter the current time as the start, then add 2 hours and 45 minutes. The result is the future clock time.
How do I subtract 1 hour 15 minutes from a time?
Select Subtract (−) and enter 1 hour 15 minutes as the duration. Enter the time you want to go back from as the start, choose Subtract, and enter 1:15:00 as the duration. The calculator shows the earlier time.
How long is it from 9:00 PM to 6:30 AM?
From 9:00 PM to 6:30 AM is 9 hours and 30 minutes. In Time Between mode, enter 21:00:00 as start and 6:30:00 as end. Since the end is earlier, the calculator treats it as the next day and returns 9h 30m 0s.
How do I calculate 90 minutes from now?
Enter 0 hours and 90 minutes as the duration. The calculator automatically converts 90 minutes to 1 hour 30 minutes and shows the correct result time. You don't need to pre-convert the values.
How do I know how many seconds are in 3 hours 20 minutes?
3 hours and 20 minutes equals 12,000 seconds. Use Time Between mode with a start of 0:00:00 and end of 3:20:00. The Total Seconds result will show 12,000.
How do I calculate the time between two work shifts?
Enter your shift end time as the start and your next shift start time as the end in Time Between mode. This tells you exactly how many hours of rest you have between shifts, which is important for labor law compliance and fatigue management.
How do I add up multiple time durations?
Use the Hour Calculator for adding multiple time entries. This Time Calculator is designed for a single operation. For adding up several time blocks (like a multi-day time card), use the Hour Calculator which has a Time Card mode for multiple entries.
What is 2:45 PM in 24-hour time?
2:45 PM in 24-hour format is 14:45. For afternoon times, add 12 to the hour: 2 + 12 = 14. Enter 14 in the hours field. For midnight, use 0. For noon, use 12. Morning times (AM) are the same in both formats.
People Also Search For
How to calculate elapsed time between two times
To calculate elapsed time, subtract the start time from the end time. Use the Time Between mode of this calculator: enter both times and read the duration result. Elapsed time is useful for measuring how long a task took, how long a call lasted, or the runtime of a process.
How to add time in hours and minutes for payroll
For payroll, convert all times to decimal hours before summing them. This calculator shows decimal hours in every result. For weekly payroll totals across multiple days, use the Hour Calculator in Time Card mode, which adds up multiple days automatically.
How to calculate time remaining until a deadline
Use Time Between mode with your current time as start and your deadline time as end. The result shows exactly how many hours, minutes, and seconds remain. For countdowns to future dates, see the Time Until Calculator.
How to convert minutes to hours and minutes
Divide total minutes by 60 to get hours; the remainder is minutes. For example, 195 minutes ÷ 60 = 3 hours with 15 minutes remaining, so 195 minutes = 3h 15m. You can also enter 0 hours and 195 minutes in this calculator; it will display the converted result automatically.
How to calculate time difference in Excel
In Excel, subtract the start cell from the end cell and format as [h]:mm:ss. For example: =B2-A2, formatted as [h]:mm:ss. This works for time values within one day. For spans crossing midnight, use =MOD(B2-A2,1) to handle the wrap-around. This online calculator is faster for quick checks without opening a spreadsheet.
Time calculator for hours worked
This calculator supports time-between calculations for a single shift. Enter your clock-in time as the start and your clock-out time as the end. For weekly time tracking with break deductions across multiple days, the dedicated Hour Calculator is the better tool.
Frequently Asked Questions
How do I add hours and minutes to a time?
Select the Add / Subtract Time mode, enter your starting time in HH:MM:SS format, then enter the duration you want to add. Choose Add (+) from the operation dropdown. The result time appears instantly in the results panel.
What happens when the result crosses midnight?
The calculator handles midnight automatically. When a result or Time Between calculation spans midnight, the result panel shows a note indicating the result is on the next (or previous) day. For example, adding 4 hours to 22:30 returns 02:30 with a "Next day" note.
Can I calculate the time between 9 AM and 5:30 PM?
Yes. Use Time Between mode. Enter 9:00:00 as the start time and 17:30:00 as the end time. The result shows 8 hours and 30 minutes (8.5 decimal hours). Remember to use 24-hour format: 5:30 PM = 17:30.
Does the calculator support seconds?
Yes, seconds are fully supported in all modes. You can enter values like 90 seconds and the calculator will automatically carry over to minutes. The results panel shows total seconds separately so you have full precision.
How do I convert time to decimal hours?
Divide the minutes by 60 and add to the whole hours. For example, 2 hours 45 minutes = 2 + (45/60) = 2.75 decimal hours. This calculator shows the decimal hours conversion in every result, so you don't need to do this manually.
What is the difference between this tool and an Hour Calculator?
The Time Calculator is for single-operation arithmetic: adding a duration to a time, subtracting a duration, or finding the time between two specific clock times. The Hour Calculator is optimized for payroll and time tracking — it supports break deductions and a multi-day Time Card mode to add up hours across an entire week.
Is there a limit to the duration I can add?
You can add or subtract any duration of hours. If the total exceeds 24 hours, the calculator will show the result time and note how many days beyond midnight the result falls. There's no practical upper limit.
Can I use this for overnight shifts?
Yes. In Time Between mode, if the end time is earlier than the start time (e.g., start 22:00, end 06:00), the calculator assumes the end is on the next day and returns the correct 8-hour duration. This makes it ideal for calculating overnight shift lengths.
Is my time data stored or logged?
No data is ever sent to a server. All calculations run entirely in your browser using JavaScript. Nothing is stored, logged, or shared. Your time information is 100% private.
How do I enter 2:30 PM in this calculator?
Enter 14 in the hours field (since 2:30 PM = 14:30 in 24-hour format), 30 in the minutes field, and 0 in the seconds field. For AM times, the 24-hour format is the same as the 12-hour format (e.g., 9:15 AM = 9:15).
Can I share my time calculation result?
Yes. Click the Share button below the inputs. This copies the current page URL (with your inputs encoded) to your clipboard so you can paste it into a message, email, or document. On supported devices, it opens the native share dialog.
How accurate is the time calculator?
The calculator converts all values to seconds before computing, then converts back. This means there's no rounding at the calculation stage. The decimal hours value is rounded to two decimal places for readability, but the HH:MM:SS result is always exact.