Time Calculator

Add or subtract time values, find the difference between two times, and convert hours, minutes and seconds instantly.

➕ Add / Subtract
⏱️ Time Difference
🔄 Convert
+ Add
− Subtract
First Time Value
h
m
s
Add This Value
h
m
s
0h 0m 0s
Total Hours
0
Total Minutes
0
Total Seconds
0
Decimal Hours
0.00
Days
0
Weeks
0.00

Time Calculator — Add, Subtract and Convert Time Values

Time arithmetic is deceptively tricky because time uses a base-60 system (60 seconds per minute, 60 minutes per hour) rather than the base-10 decimal system we use for everything else. Adding 1 hour 45 minutes to 2 hours 30 minutes does not equal 3 hours 75 minutes — it equals 4 hours 15 minutes after carrying the excess minutes into hours. Our time calculator handles all carrying and borrowing automatically across seconds, minutes, hours, days and weeks, and presents results in every useful format simultaneously.

Adding Time — How the Calculation Works

Adding time values requires converting to the smallest common unit (seconds), performing the addition, then converting back. Add the seconds first — if the total exceeds 60, carry the excess into minutes. Add the minutes — if the total exceeds 60, carry into hours. Add the hours. Example: 3 hours 47 minutes 52 seconds + 2 hours 28 minutes 35 seconds. Seconds: 52 + 35 = 87 = 1 minute 27 seconds (carry 1). Minutes: 47 + 28 + 1 = 76 = 1 hour 16 minutes (carry 1). Hours: 3 + 2 + 1 = 6. Result: 6 hours 16 minutes 27 seconds. Our time calculator handles this instantly for any combination of values. Use our date difference calculator to add or subtract time across calendar dates, and our overtime calculator to convert time worked into pay calculations.

FromTo SecondsTo MinutesTo HoursTo Days
1 Second10.016670.0002780.0000116
1 Minute6010.016670.000694
1 Hour3,6006010.04167
1 Day86,4001,440241
1 Week604,80010,0801687
1 Year (365d)31,536,000525,6008,760365

Calculating Time Differences — The Clock Time Approach

Finding the time between two clock readings (e.g., 9:15 AM to 4:45 PM) uses a different approach to pure time addition. Convert both times to total minutes from midnight: 9:15 AM = 9×60 + 15 = 555 minutes. 4:45 PM = 16×60 + 45 = 1,005 minutes. Difference = 1,005 − 555 = 450 minutes = 7 hours 30 minutes. When the end time is before the start time (crossing midnight), add 1,440 minutes (24 hours) to the end time before subtracting. Example: 10:30 PM to 6:00 AM spans midnight — 6:00 AM = 360 minutes + 1,440 = 1,800 minutes. 10:30 PM = 1,350 minutes. Difference = 1,800 − 1,350 = 450 minutes = 7 hours 30 minutes.

Decimal Hours — Why They Matter for Payroll

Payroll calculations require time in decimal hours (not hours and minutes) because pay rates are expressed per hour and multiplied directly. 7 hours 45 minutes × $18/hour requires converting to decimal first: 45 ÷ 60 = 0.75 → 7.75 decimal hours × $18 = $139.50. This is why time tracking software, timesheets and payroll systems express time in decimal format. The conversion is straightforward: decimal hours = hours + (minutes ÷ 60). Common conversions: 15 min = 0.25 hr, 20 min = 0.33 hr, 30 min = 0.50 hr, 45 min = 0.75 hr. Our time calculator automatically shows the decimal hours conversion in every result.

Time (H:M)Decimal HoursTotal MinutesPay at $20/hrPay at $35/hr
4 h 00 m4.00240$80.00$140.00
6 h 15 m6.25375$125.00$218.75
7 h 30 m7.50450$150.00$262.50
8 h 20 m8.33500$166.60$291.55
8 h 45 m8.75525$175.00$306.25
10 h 00 m10.00600$200.00$350.00

Time Zone Arithmetic — Calculating Across Time Zones

Time zone calculations involve adding or subtracting a fixed offset from UTC (Coordinated Universal Time). New York (EST) is UTC-5, London (GMT) is UTC+0, Dubai is UTC+4, Tokyo is UTC+9. A meeting scheduled for 2:00 PM in New York (UTC-5) occurs at: London 7:00 PM (UTC+0, +5hrs), Dubai 11:00 PM (UTC+4, +9hrs), Tokyo 4:00 AM next day (UTC+9, +14hrs). When adding time zone offsets pushes past midnight into the next day or before midnight into the previous day, the date changes accordingly. For scheduling across time zones, always work in UTC first then convert to each local time to avoid confusion about which day or which AM/PM the meeting falls on.

Practical Time Calculation Scenarios

Project duration tracking: add multiple work session durations to find total time spent. A project spanning four sessions of 2h 30m, 1h 45m, 3h 15m and 45m totals 8h 15m (8.25 decimal hours). Cooking and recipe timing: a recipe requiring 45 minutes prep and 1 hour 20 minutes cooking started at 5:45 PM finishes at 7:50 PM (45m + 80m = 125m from 5:45 PM → 5:45 + 2h 05m = 7:50 PM). Fitness tracking: multiple workout segments totalled for weekly training volume. Travel planning: flight durations across time zones with layovers. Shift work calculations: total hours across multiple shifts in a pay period for payroll. Our time calculator handles all these scenarios through the add/subtract and time difference modes.

Time in Scientific and Mathematical Contexts

Beyond everyday arithmetic, time calculations appear throughout science, engineering and mathematics. Astronomy uses Julian Day Numbers — a continuous count of days from January 1, 4713 BC — to calculate intervals between astronomical events without calendar complications. Computer science measures time in Unix timestamps — seconds elapsed since January 1, 1970 00:00:00 UTC — enabling precise duration calculations regardless of time zone. Physics often requires extremely precise time measurements: GPS satellites must account for both special and general relativistic time dilation to maintain accuracy — satellite clocks run approximately 38 microseconds per day faster than ground clocks and require constant correction. In everyday coding and data science, date-time libraries handle all these conversions automatically, but understanding the underlying arithmetic — that time is fundamentally an integer count of the smallest relevant unit — is what makes debugging time calculation errors intuitive rather than mysterious.

Historical and Calendar Time Calculations

Calendar systems add significant complexity to time calculations. The Gregorian calendar (the internationally adopted standard) has irregular month lengths (28-31 days), leap years every 4 years (with exceptions for century years not divisible by 400), and no year zero (1 BC is immediately followed by 1 AD). Calculating days between historical dates therefore cannot use simple multiplication — it requires accounting for all leap years and month-length variations in the interval. The date difference approach — converting both dates to a day count from a fixed epoch, then subtracting — is the standard computational method. Our date difference calculator handles full calendar date arithmetic including leap years and month-length variations. For payroll and shift work specifically, our overtime calculator converts total hours worked into regular and overtime pay calculations automatically once you have the total hours from our time calculator.

Speed, Distance and Time — The Fundamental Relationship

Time calculation is at the core of every speed and distance problem. The fundamental relationship: Distance = Speed × Time. Rearranged: Time = Distance ÷ Speed. Speed = Distance ÷ Time. A driver covering 280 miles at 65 mph takes 280 ÷ 65 = 4.31 hours = 4 hours 18 minutes 28 seconds. A runner completing a 10km race in 52 minutes 30 seconds ran at 52.5 minutes ÷ 10 km = 5 minutes 15 seconds per km = 11.43 km/h. Converting between pace (time per distance unit) and speed (distance per time unit) requires time arithmetic. If a cyclist averages 24 km/h for 1 hour 40 minutes, the distance is 24 × (100/60) = 24 × 1.667 = 40 km. Time calculations underlie navigation, athletics, logistics, finance (time value of money), cooking, project management and virtually every domain where duration and sequence matter — making a reliable time calculator one of the most broadly useful tools available.

The broader point is that time, like any measurement system, has consistent mathematical rules that make all calculations tractable. The base-60 system of time arithmetic feels unfamiliar compared to decimal arithmetic only because we encounter it less frequently — the underlying logic of converting between units by multiplication or division, carrying values when a unit overflows, and borrowing when subtracting larger from smaller, is identical to the arithmetic you already know. Our time calculator removes the manual work from every scenario while the underlying formulas remain available for reference whenever you need to understand or verify a time calculation independently. Use our sleep cycle calculator to apply time arithmetic directly to optimising your sleep schedule.

Frequently Asked Questions

How do I add hours and minutes together? +
Add the hours, then add the minutes separately. If minutes exceed 60, subtract 60 from the minutes and add 1 to the hours. Example: 2h 45m + 1h 30m = 3h 75m = 4h 15m (since 75-60=15, carry 1 hour). For seconds: same process — if seconds exceed 60, subtract 60 and carry 1 minute. Our calculator handles all carrying automatically for any combination of hours, minutes and seconds.
How do I calculate the time between two times? +
Convert both times to minutes from midnight, subtract the earlier from the later. If the result is negative (crossing midnight), add 1440. Example: 9:30 AM to 5:45 PM — 9:30 AM = 570 min, 5:45 PM = 1,065 min, difference = 495 min = 8 hours 15 minutes. Use the Time Difference tab above to calculate this instantly with any start and end time.
How do I convert hours to minutes? +
Multiply hours by 60. Example: 3.5 hours = 210 minutes. Minutes to hours: divide by 60. Example: 195 minutes = 3.25 hours = 3 hours 15 minutes. Hours to seconds: multiply by 3,600. Seconds to minutes: divide by 60. The Convert tab above handles all unit conversions instantly — enter any value and see it expressed in all time units simultaneously.
How do I calculate decimal hours from hours and minutes? +
Decimal hours = hours + (minutes ÷ 60). Example: 2 hours 30 minutes = 2 + (30÷60) = 2.5 hours. Example: 7 hours 45 minutes = 7.75 hours. This format is required for payroll calculations and billing. To convert back: the decimal part ×60 gives the minutes. So 7.75 hours = 7 hours and (0.75×60) = 45 minutes. Our calculator always shows decimal hours in the result.
How do I subtract time values? +
Convert both values to total seconds, subtract, then convert back. Example: 3h 20m minus 1h 45m. Convert: 3h20m = 200 min, 1h45m = 105 min. 200 - 105 = 95 min = 1 hour 35 minutes. If the value being subtracted is larger (would produce a negative result), check your inputs — use the Add/Subtract tab with the minus operator and the calculator will flag when the second value exceeds the first.
How many minutes are in a day, week and year? +
Minutes in a day: 1,440 (24×60). Minutes in a week: 10,080 (1,440×7). Minutes in a year: 525,600 (1,440×365) — or 527,040 in a leap year. Hours in a week: 168. Hours in a year: 8,760. Seconds in a day: 86,400. Seconds in a year: 31,536,000. These reference conversions appear in the Convert tab results whenever you input days or weeks.
How do I calculate hours worked for payroll? +
Record start and end times for each work period, calculate the difference using the Time Difference tab (enter break duration to subtract automatically), then add all periods together using the Add/Subtract tab. The result shows decimal hours — multiply by your hourly rate to get gross pay. Example: 8:00 AM to 5:15 PM with 45 minute break = 8.5 hours × $22/hr = $187.