Skip to content
Other Tools

Time Calculator

Add or subtract time values in HH:MM:SS format. For workouts, projects, and time tracking.

Enter two time values and choose operation.

How to Use

Enter your values in the fields above and click Calculate to get instant results. All computations run locally in your browser. No data is ever uploaded or stored.

Time Arithmetic

CalcSolver converts both times to seconds since midnight, adds or subtracts them, then formats the result back to HH:MM:SS. Negative results carry a minus sign.

Total seconds = hours×3600 + minutes×60 + seconds

2h 45min + 1h 30min = 4h 15min. 8h 00min − 3h 20min = 4h 40min.

Time Unit Conversions

1 minute = 60 seconds · 1 hour = 60 minutes = 3,600 seconds
1 day = 24 hours = 86,400 seconds
1 week = 7 days = 168 hours
1 year ≈ 365.25 days = 8,766 hours

For tracking work shifts with break deductions, see CalcSolver's work hours calculator.

How Time Arithmetic Works

Time arithmetic involves adding or subtracting time values expressed in hours, minutes, and seconds (HH:MM:SS). Unlike decimal numbers, time uses a sexagesimal (base-60) system: 60 seconds make 1 minute, and 60 minutes make 1 hour. This means carrying and borrowing work differently from standard arithmetic. CalcSolver's time calculator handles all unit conversions automatically, so you get accurate results without manual carry-over calculations.

12-Hour vs. 24-Hour Format

The 12-hour clock divides the day into two periods: AM (midnight to noon) and PM (noon to midnight). Times are written as 1:00 AM through 12:59 PM. The 24-hour clock (also called military time) runs from 00:00 (midnight) to 23:59, eliminating AM/PM confusion. Converting is simple: for PM times, add 12 to the hour (3:00 PM = 15:00). For AM times, 12:00 AM = 00:00, and hours 1-11 stay the same. The 24-hour format is standard in transportation, healthcare, and military settings worldwide.

Time Duration Calculations

To find the duration between two times, subtract the earlier time from the later one. If the end time is earlier than the start time (e.g., 11:00 PM to 2:00 AM), the duration crosses midnight — add 24 hours to the end time before subtracting. For example: 2:00 AM + 24:00 = 26:00, then 26:00 - 23:00 = 3 hours. CalcSolver handles midnight crossings automatically.

Real-World Applications

Payroll time tracking: Employees clock in at 8:15 AM and clock out at 5:30 PM with a 30-minute lunch break. The calculator computes: 5:30 PM (17:30) − 8:15 AM (8:15) − 0:30 = 8 hours 45 minutes of work time. Use CalcSolver's work hours calculator for weekly payroll totals across multiple shifts.

Travel planning: A flight departs at 2:45 PM and arrives at 6:30 PM — the flight duration is 3 hours 45 minutes. For multi-leg journeys, add each segment: 3h 45m + 2h 10m (layover) + 5h 20m (second flight) = 11h 15m total travel time.

Exercise and interval training: A runner completes 5K in 24 minutes 30 seconds, then rests for 1 minute 45 seconds, then runs another 5K in 25 minutes 10 seconds. Total elapsed time: 24:30 + 1:45 + 25:10 = 51 minutes 25 seconds.

Timezone Considerations

When calculating durations across time zones, convert all times to a single zone first. A meeting from 3:00 PM EST to 5:00 PM PST spans 5 hours (not 2), because PST is 3 hours behind EST. For international scheduling, use UTC as the common reference. CalcSolver's time zone converter handles cross-zone calculations.

Tips for Accurate Time Calculations

Sponsored

Sponsored Content

The following content is provided by our advertising partner and does not affect the calculator experience.

Frequently Asked Questions

How do I add or subtract time?

Enter the starting time and add or subtract hours, minutes, and seconds. The calculator handles overflow (e.g., adding 90 minutes to 11:45 gives 1:15) and date changes.

How do I calculate the duration between two times?

Enter the start and end times. The calculator computes the difference in hours, minutes, and seconds, accounting for midnight crossings.

Can I calculate time in different formats?

Yes, the calculator supports 12-hour (AM/PM) and 24-hour formats, and can convert between them.

How do I calculate total hours worked in a day?

Enter your clock-in time as Time 1 and clock-out time as Time 2, then select Subtract. The result is your total work duration. For multiple shifts, add each shift's duration together. Use CalcSolver's work hours calculator for weekly totals.

What happens when time subtraction crosses midnight?

The calculator automatically handles midnight crossings. For example, 2:00 AM minus 11:00 PM correctly gives 3 hours (treating it as a duration across midnight), not a negative result.

How do I convert between 12-hour and 24-hour time?

For PM times, add 12 to the hour (3:00 PM = 15:00). For AM times, 12:00 AM = 00:00 and hours 1-11 stay the same. The calculator handles both formats — enter whichever you prefer.