How to Use the Time Calculator
This calculator performs two time operations: add or subtract hours, minutes, or seconds from a clock time, and find the duration between two clock times. All values use 24-hour format and wraparound at midnight is handled automatically.
Calculation Modes
Add/Subtract
Enter a start time in hours, minutes, and seconds, choose whether to add or subtract, select a unit, and enter an amount. The result wraps within a 24-hour cycle.
Example: Start 14:30:00, Add, 2 hours
- Start Time: 14:30:00
- Operation: Add
- Amount: 2 hours
- Result Time: 16:30:00
After calculating, a Calculation Details table appears showing Start Time, Operation, Amount, and Result Time.
Example: Start 23:00:00, Add, 3 hours
- Start Time: 23:00:00
- Operation: Add
- Amount: 3 hours
- Result Time: 02:00:00
After calculating, the same Calculation Details table appears.
Example: Start 08:15:00, Subtract, 45 minutes
- Start Time: 08:15:00
- Operation: Subtract
- Amount: 45 minutes
- Result Time: 07:30:00
After calculating, the same Calculation Details table appears.
Example: Start 00:30:00, Subtract, 1 hour
- Start Time: 00:30:00
- Operation: Subtract
- Amount: 1 hour
- Result Time: 23:30:00
After calculating, the same Calculation Details table appears.
Duration
Enter a start time and an end time. The calculator returns the span between them. If the end time is earlier than the start time, it assumes the end time is the next day.
Example: Start 09:00:00, End 17:30:00
- Start Time: 09:00:00
- End Time: 17:30:00
- Duration: 8h 30m 0s
- Total Hours: 8.5
- Total Minutes: 510
- Total Seconds: 30600
After calculating, two tables appear. The Duration Breakdown shows Start Time, End Time, and Duration. The Total Duration table shows the same span in hours, minutes, and seconds.
Example: Start 22:00:00, End 06:00:00
- Start Time: 22:00:00
- End Time: 06:00:00
- Duration: 8h 0m 0s
- Total Hours: 8
- Total Minutes: 480
- Total Seconds: 28800
After calculating, the same two tables appear.
Common Use Cases
Scheduling a Meeting
A meeting starts at 14:15 and lasts 90 minutes. When does it end?
- Switch to Add/Subtract
- Start Time: 14:15:00
- Operation: Add, Unit: Minutes, Amount: 90
- Result Time: 15:45:00
Calculating a Shift Length
You clocked in at 08:30 and out at 17:00:
- Switch to Duration
- Start Time: 08:30:00, End Time: 17:00:00
- Duration: 8h 30m 0s
Adding Time Across Midnight
A flight departs at 23:45 and takes 5 hours 30 minutes:
- Switch to Add/Subtract
- Start Time: 23:45:00
- Operation: Add, Unit: Minutes, Amount: 330
- Result Time: 05:15:00
Finding a Time Window
You need to know how long between 19:20 and 21:45:
- Switch to Duration
- Start Time: 19:20:00, End Time: 21:45:00
- Duration: 2h 25m 0s
Tips for Accurate Calculations
- Use 24-hour format: enter 14 for 2 PM, 00 for midnight. The calculator does not use AM/PM
- Seconds are optional: leave the seconds field empty if you do not need them. It defaults to 00
- Results wrap at 24 hours: adding 25 hours to 12:00 gives 13:00, not 37:00
- Duration assumes the next day: if the end time is earlier than the start time, the calculator adds 24 hours
- Values over 59 are not rejected: entering 75 minutes is treated as 75 minutes. Stay within 0-23 for hours and 0-59 for minutes and seconds
Troubleshooting
Required
This appears when a required field is left empty. Hours and minutes are always required; seconds is optional.
Amount must be a valid number
In Add/Subtract mode, the amount field must contain a valid number. Enter digits only, with an optional decimal point.
Please select a unit
In Add/Subtract mode, choose Hours, Minutes, or Seconds from the dropdown.
Please select an operation
In Add/Subtract mode, choose Add or Subtract from the operation dropdown.
Please enter a valid amount
The amount could not be parsed as a number. Check that you entered digits only without extra characters.
Breakdown tables not appearing
The details section renders after a successful calculation with no validation errors. Check that all required fields are filled and valid, then click Calculate.