Calculatorboom

Time Calculator

Add or subtract hours, minutes, and seconds — or convert between time units instantly.

h m s
Choose add or subtract
h m s

What is a Time Calculator?

A time calculator lets you perform arithmetic on time durations — adding two periods together, subtracting one from another, or converting a duration expressed in one unit (such as hours) into all other units (days, minutes, seconds). These operations come up constantly in everyday life: totalling work hours, calculating a race split time, figuring out how long a playlist runs, or converting a movie's runtime from minutes to hours and minutes.

Unlike ordinary arithmetic, time arithmetic can produce results above 60 for minutes or seconds, and above 24 for hours — the result is not automatically "rolled over" into larger units the way a clock display would. This calculator always shows the result in hours:minutes:seconds format and also gives the total in each unit separately, so you can use whichever representation fits your purpose.

Time Units: From Seconds to Days

The International System of Units (SI) defines the second as the base unit of time. All larger units are exact multiples: 60 seconds = 1 minute, 60 minutes = 1 hour, 24 hours = 1 day. These relationships are fixed and do not vary, which makes time-unit conversion straightforward: multiply or divide by the appropriate factor. The only complications arise with months (28–31 days) and years (365 or 366 days), which this calculator avoids by capping conversion at the day level.

Adding Time: Why Hours Can Exceed 24

When you add two durations — for example, the hours worked across multiple days — the result may exceed 24 hours. This is correct behavior for elapsed-time arithmetic. A timesheet application that shows "27:45:00" means 27 hours, 45 minutes, and 0 seconds of total work — not "3:45 AM on the next day." Only a clock display (which shows time of day) wraps around at 24 hours. Duration arithmetic does not wrap.

Similarly, if you subtract a larger duration from a smaller one you get a negative result. This calculator displays negative results with a minus sign in front of the hours component and uses a warning color so the sign is not missed.

Practical Uses for Time Arithmetic

Time calculators are used whenever you need to total, compare, or convert durations. Common scenarios include: totalling work hours across a week or month; computing the elapsed time of a race, flight, or road trip; finding out how many seconds are in a working day; or converting a video game's play-time from hours to days. The unit conversion mode is particularly useful for API integrations or database queries that require time in a specific unit (for example, a REST API that expects a timeout in milliseconds — though you would need to multiply the seconds result by 1,000).

Example — 1 Hour 30 Min + 45 Min

Adding 1 hour, 30 minutes, 0 seconds to 0 hours, 45 minutes, 0 seconds:

1:30:00 + 0:45:00 = 2:15:00

That is 2 hours and 15 minutes, or 135 minutes, or 8,100 seconds. The conversion panel would show: 0.09375 days, 2.25 hours, 135 minutes, 8,100 seconds.

About These Parameters

Hours / Minutes / Seconds (Add-Subtract Mode)
Enter any non-negative integers. Minutes and seconds are conventionally 0–59, but you can enter larger values (for example, 90 minutes) and the calculator will interpret them correctly. The result is always expressed in normalized h:mm:ss format.
Operation
Choose + to add the two durations or to subtract the second from the first. Subtraction can produce a negative result if the second duration is larger.
Value & From Unit (Convert Mode)
Enter a numeric value and select its unit. The calculator converts to all four units (days, hours, minutes, seconds) simultaneously. Decimal inputs are accepted — for example, 1.5 hours = 90 minutes = 5,400 seconds.

Frequently Asked Questions

How do I add hours and minutes?

Use the Add / Subtract mode. Enter the hours and minutes of each duration in the corresponding fields (set seconds to 0 if you do not need seconds precision) and press Calculate. The result shows the total in h:mm:ss format as well as the total in hours, minutes, and seconds separately.

What if the result is more than 24 hours?

The result is displayed as-is in hours. For example, 30 hours, 15 minutes, and 0 seconds would show as 30:15:00 — not "6:15 AM next day." Duration arithmetic does not wrap around 24 hours the way a clock does. This is the correct behavior for totalling elapsed time, work hours, or any other accumulated duration.

How many seconds are in an hour?

There are exactly 3,600 seconds in one hour (60 minutes × 60 seconds per minute). There are 86,400 seconds in one day (24 hours × 3,600). These are exact values with no rounding — unlike month and year conversions, which depend on the specific calendar months involved.

Can I use this to total work hours from a timesheet?

Yes — add up pairs of durations sequentially. For example, if you worked 3 hours 45 minutes on Monday and 4 hours 20 minutes on Tuesday, enter 3:45:00 + 4:20:00 = 8:05:00. For more than two entries you would need to add results iteratively. A dedicated timesheet calculator (such as an hours calculator) may be more convenient for longer lists.

Popular Time Conversions

See also