Home / 📅 Date and Time/ Time Calculator

Time Duration Calculator: Add & Subtract Hours, Minutes & Seconds

Print
Add, subtract, or evaluate complex time interval expressions instantly.
Current Local Time
--:--:-- --
Time Calculator
Days
Hours
Mins
Secs
Days
Hours
Mins
Secs
Add or Subtract Time from a Date
Hour
:
Minute
:
Second
 
Day
Hour
Minute
Second
Time Calculator in Expression
An acceptable input has d, h, m, and s following each value, where d means days, h means hours, m means minutes, and s means seconds. The only acceptable operators are + and -.
Calculated Interval
Result Time
8 hours, 15 minutes, 15 seconds
Time Segment visualizer

Unlike standard base-10 decimals, calculating elapsed time requires handling a base-60 sexagesimal system for minutes and seconds, a 24-hour day boundary, and variable calendar month lengths. Adding or subtracting hours, minutes, and seconds by hand quickly leads to calculation errors when carrying values across these non-decimal units.

Our free online Time Calculator provides a powerful interface to calculate time durations in three distinct modes:

  • Add/Subtract Time Durations: Input days, hours, minutes, and seconds to add or subtract elapsed durations directly.
  • Add/Subtract Time from a Date: Offset a starting calendar date and hour by a specific duration (e.g., adding 3 days and 14 hours to a target date).
  • Time Expression Calculator: Evaluate algebraic expressions containing mixed time units. You can input strings like 1d 2h 3m 4s + 4h 5s - 2030s + 28h to see normalized totals.

How to Add and Subtract Time (Base-60 Math)

Because time operates on a base-60 system (60 seconds = 1 minute, 60 minutes = 1 hour), you cannot add time like normal decimal numbers. You must sum the smallest units first, then carry any remainder over 60 into the next largest unit.

Math Step Adding 2h 45m + 1h 30m Logic / Carrying Rule
Step 1 (Sum Minutes) 45m + 30m = 75m Add the minute values together directly.
Step 2 (Carry the 60) 75m – 60m = 15m remaining Because 75 is greater than 60, carry 1 hour and keep the remaining 15 minutes.
Step 3 (Sum Hours) 2h + 1h + 1h (carried) = 4h Add the original hours plus the carried hour.
FINAL TOTAL 4 Hours and 15 Minutes The normalized duration.

Practical Time Calculation Examples

Calculating Work Hours & Timesheet Durations

Use the Time Calculator to determine the duration between a work shift’s start and end times. For example, a shift from 9:00 AM to 5:30 PM lasts 8 hours and 30 minutes. If the shift includes a 30-minute unpaid break, the actual working time is 8 hours.

This type of calculation is useful for employee timesheets, payroll calculations, shift planning, freelance billing, project tracking, and recording daily working hours.

For an overnight shift, account for the 24-hour boundary. For example, a shift that starts at 10:00 PM and ends at 6:00 AM the following day lasts 8 hours.

Flight Time & Time Zone Offset Calculations

When calculating flight durations, distinguish between elapsed travel time and the difference between the local clock times shown at departure and arrival. A flight may appear to take more or less time based on the local departure and arrival times because the two locations can have different time-zone offsets.

For an accurate calculation, account for the time-zone difference between the departure and arrival locations and any daylight saving time changes that apply on the travel date. Once the local times have been adjusted to a common reference, the elapsed duration can be calculated using hours and minutes.


Common Units of Time Reference

Time Unit Standard Definition & Equivalent Value
Millennium 1,000 years
Century 100 years
Decade 10 years
Year (Average) 365.242 days (12 months)
Week 7 days
Day 24 hours (86,400 seconds)
Hour 60 minutes (3,600 seconds)
Minute 60 seconds
Second Base SI unit of time
Millisecond 10-3 seconds
Microsecond 10-6 seconds
Nanosecond 10-9 seconds

What is Time? Philosophical and Physical Concepts

The definition of time has transitioned through major shifts in physics and philosophy over human history:

1. Ancient Greece (Aristotle)

Aristotle (384-322 BC) defined time as a measurement of change with respect to what comes before and after. Under his view, time is connected to the measurement of change and motion. He also raised early questions about the nature of time, noting that the past no longer exists while the future has not yet occurred.

2. The Absolute vs. Relational Debate (Newton & Leibniz)

  • Sir Isaac Newton: Argued for absolute time, describing duration as flowing uniformly and independently of external events. Human measurement of time uses physical processes such as the movement of celestial bodies and clocks.
  • Gottfried Wilhelm Leibniz: Opposed Newton’s view and argued for relational time. Leibniz considered time to be a framework for ordering events and describing relationships between physical occurrences rather than an independently existing substance.

3. Relative Spacetime (Einstein)

Albert Einstein unified space and time into a four-dimensional framework called spacetime. Special relativity established that measurements of time can depend on the relative motion of observers. This produces effects such as time dilation, in which clocks moving at different relative velocities can measure different elapsed times.

General relativity further established that gravity affects the passage of time. Clocks at different gravitational potentials can therefore measure different elapsed durations.


How We Measure Time: The Base-60 System

Our method of dividing time is based on the sexagesimal (base-60) numeral system, which originated in ancient Mesopotamia and was developed and refined through Babylonian mathematics.

We use base-60 because 60 is a highly composite number. It has 12 positive divisors: 1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30, and 60. This makes many common fractions convenient to represent. For instance, a 60-minute hour can be divided evenly into halves, thirds, quarters, fifths, sixths, tenths, and twelfths.

Evolution of Timekeeping Devices

Early civilizations used water clocks (clepsydras), oil lamps, candle clocks, and sand hourglasses to track elapsed duration.

In 1656, Christiaan Huygens built the first practical pendulum clock, using pendulum oscillation to improve timekeeping accuracy. Today, modern timekeeping relies on highly precise atomic clocks. The SI second is defined using the frequency of radiation associated with a transition between two hyperfine levels of the ground state of the cesium-133 atom.


Related Time and Date Calculators

Need to work with calendar dates or calculate someone’s age? Use our related tools:

  • Date Calculator — Calculate the difference between dates or add and subtract time from a calendar date.
  • Age Calculator — Calculate age in years, months, days, and other time units.

Use the Date Calculator to solve calendar date boundaries or determine chronological ages using the Age Calculator.


Frequently Asked Questions (FAQ)

Why does time have 60 seconds in a minute?

The division of minutes and seconds into 60 parts is connected to the ancient Babylonian sexagesimal (base-60) numerical system. Because 60 has many factors, it makes common fractional divisions convenient.

What is the difference between absolute and relative time?

Absolute time, associated with Newtonian physics, treats time as flowing uniformly and independently of external events. Relativity shows that measured elapsed time can depend on an observer’s motion and gravitational environment.

How does an atomic clock measure time?

Atomic clocks use the frequency of electromagnetic radiation associated with transitions between specific energy levels in atoms. The SI second is defined using exactly 9,192,631,770 periods of radiation corresponding to the transition between two hyperfine levels of the ground state of cesium-133.

How do you add hours and minutes in expression format?

Convert all inputs into a common unit, such as seconds, add or subtract the values, and then convert the result back into days, hours, minutes, and seconds. For example, 1h 10m + 50m equals 120 minutes, which simplifies to 2 hours.

How do you calculate work hours?

Subtract the start time from the end time to find the total shift duration. Then subtract any unpaid breaks. For example, a shift from 9:00 AM to 5:30 PM is 8 hours and 30 minutes. After a 30-minute break, the working time is 8 hours.

How do you calculate an overnight shift?

For a shift that crosses midnight, treat the end time as occurring on the following day. For example, a shift from 10:00 PM to 6:00 AM lasts 8 hours.

How do time zones affect flight duration calculations?

Time-zone differences can make the difference between local departure and arrival clock times appear different from the actual flight duration. Convert the departure and arrival times to a common reference while accounting for the applicable time-zone offsets and daylight saving time before calculating elapsed time.

What is the difference between elapsed time and clock time?

Elapsed time is the actual duration between two events, while clock time is the local time displayed by a clock. Time-zone changes and daylight saving time can cause the difference between two displayed clock times to differ from the actual elapsed duration.