Time Calculator — Calculate123

Time Calculator

Start Time / Base Duration
Days
Hours
Minutes
Seconds
Operation
Time to Add / Subtract
Days
Hours
Minutes
Seconds
Operation
Duration to Apply
Hours
Minutes
Seconds
Total Time
1d 7h 16m 15s
31.27 hrs
Total Clock Format: 31:16:15 112,575 total seconds
Time Unit Exact Value Decimal Equivalent
Excel: =(1+TIME(4,45,30))+(0+TIME(2,30,45))

How to Use This Online Time Calculator

An online time calculator performs base-60 arithmetic on days, hours, minutes, and seconds so you can add durations, subtract intervals, or calculate exact clock times without carrying errors. Whether you need a fast time duration calculator for project scheduling or a time calculator hours and minutes utility for logs, select a tab above for instant results.

Designed to handle everything from quick duration sums to payroll checks, this tool combines three specialized calculators in one compact workspace:

  • Add & Subtract Durations: Use the time calculator add and time calculator subtract mode to combine or deduct days, hours, minutes, and seconds down to exact base-60 totals.
  • Clock Time & Shift Rollovers: Switch to the time clock calculator tab to add or subtract hours, minutes, and seconds from a 12-hour or 24-hour start time and see any day rollover automatically.
  • Elapsed Duration & Decimal Conversions: Run the time card calculator tab between two timestamps with optional unpaid breaks, and view instant conversions via our time calculator in decimals unit breakdown table.
  • Spreadsheet Formulas & Exports: Copy the live syntax directly from the time calculator excel strip, or preview and download a receipt PNG slip, vector PDF report, or CSV file.

Base-60 Time Arithmetic Formulas, Decimal Time & Worked Examples

Unlike base-10 numbers, clocks and stopwatches operate on a base-60 system for seconds and minutes and a base-24 system for hours. Below are the exact conversion rules and spreadsheet formulas used by our calculation engine.

Core Time Math & Spreadsheet Formulas

Base-60 Carry / Borrow Rules: 1 min = 60 sec | 1 hr = 60 min (3,600 sec) | 1 day = 24 hrs (86,400 sec)
Decimal Hours: Decimal Hours = Hours + (Minutes ÷ 60) + (Seconds ÷ 3,600)
Excel Time Syntax: =MOD(End-Start,1)*24 | =TIME(H1,M1,S1)+TIME(H2,M2,S2)
Worked Example 1: Adding 1d 4h 45m 30s + 2h 30m 45s

Start with seconds: 30s + 45s = 75s (write 15s, carry 1m). Next add minutes: 45m + 30m + 1m = 76m (write 16m, carry 1h). Finally add hours and days: 4h + 2h + 1h = 7h alongside 1d, giving 1d 7h 16m 15s (clock format 31:16:15, or 31.27 decimal hours).

Worked Example 2: Adding 3h 45m to 9:30 AM

Add the hours first: 9:30 AM + 3 hours = 12:30 PM. Then add the remaining 45 minutes: 30m + 45m = 75m = 1h 15m, carrying 1 hour to reach 1:15 PM on the same day.

Time Unit & 24-Hour Military Clock Reference Tables

Use these quick-reference tables to convert between seconds, minutes, hours, days, and weeks, or translate 12-hour AM/PM times into 24-hour military format.

Table 1: Time Unit Conversion Table (Seconds, Minutes, Hours, Days & Weeks)

Time Unit Seconds Minutes Hours Days
1 Minute60 sec1 min0.01667 hrs0.000694 days
1 Hour3,600 sec60 mins1 hr0.04167 days
1 Day86,400 sec1,440 mins24 hrs1 day
1 Week604,800 sec10,080 mins168 hrs7 days
1 Common Year31,536,000 sec525,600 mins8,760 hrs365 days

Table 2: 12-Hour AM/PM to 24-Hour Military Time Conversion Chart

12-Hour (AM) 24-Hour Military 12-Hour (PM) 24-Hour Military
12:00 AM (Midnight)00:0012:00 PM (Noon)12:00
1:00 AM01:001:00 PM13:00
2:00 AM02:002:00 PM14:00
3:00 AM03:003:00 PM15:00
4:00 AM04:004:00 PM16:00
5:00 AM05:005:00 PM17:00
6:00 AM06:006:00 PM18:00
7:00 AM07:007:00 PM19:00
8:00 AM08:008:00 PM20:00
9:00 AM09:009:00 PM21:00
10:00 AM10:0010:00 PM22:00
11:00 AM11:0011:00 PM23:00

Related Everyday & Time Calculators

Track employee work shifts, count calendar days between dates, or convert hours into annual earnings using our related calculators.

Frequently Asked Questions

How do you add and subtract hours, minutes, and seconds manually?

Add seconds, minutes, and hours in separate columns using base-60 arithmetic. Whenever seconds or minutes reach 60 or more, subtract 60 and carry 1 to the next larger unit; when hours reach 24, carry 1 day. For subtraction, borrow 60 minutes from 1 hour or 60 seconds from 1 minute.

How do you add hours and minutes to a start clock time?

Convert your start clock time into 24-hour format, add the hours and minutes separately, and carry 1 hour if minutes hit 60 or higher. If the resulting hour reaches 24 or above, subtract 24 and note a +1 day rollover. For example, 9:30 AM plus 3 hours 45 minutes equals 1:15 PM.

How do you calculate elapsed time between two times, including overnight shifts?

Convert both start and end timestamps into total seconds or 24-hour clock minutes, then subtract the start time from the end time. When a shift crosses midnight, add 24 hours (86,400 seconds) to the end time before subtracting, then deduct any unpaid break minutes to get exact net elapsed time.

How do you convert hours, minutes, and seconds into decimal hours?

Keep whole hours unchanged, divide minutes by 60, and divide seconds by 3,600, then sum all three numbers together. If your duration includes days, multiply days by 24 and add them too. For example, 1 day, 7 hours, 16 minutes, and 15 seconds equals 31.2708 decimal hours (rounded to 31.27).

How many minutes and seconds are in a day, a week, and a year?

One 24-hour day contains exactly 1,440 minutes and 86,400 seconds. Multiplying by 7 days gives 10,080 minutes and 604,800 seconds in a standard week. Across a common 365-day calendar year (8,760 hours), there are 525,600 minutes and 31,536,000 seconds in total, or 31,622,400 seconds during leap years.

How do you convert 12-hour AM/PM time to 24-hour military time?

For midnight (12:00 AM to 12:59 AM), change the hour 12 to 00. Keep morning times from 1:00 AM to 11:59 AM as they are, with a leading zero before single digits. Keep noon (12:00 PM to 12:59 PM) at 12, and add 12 to afternoon hours from 1:00 PM through 11:59 PM.

How do you add or subtract time in Microsoft Excel or Google Sheets?

Use =TIME(H1,M1,S1)+TIME(H2,M2,S2) to add two durations, and format the cell as [h]:mm:ss so hours over 24 do not wrap back to zero. To calculate elapsed decimal hours between start cell A2 and end cell B2, including overnight spans, use the formula =MOD(B2-A2,1)*24 directly inside your spreadsheet.

What is the difference between a Time Calculator and an Hours Calculator?

A Time Calculator performs general base-60 arithmetic—adding or subtracting days, hours, minutes, and seconds, calculating future or past clock times, and converting between time units. An Hours Calculator focuses specifically on employee work shifts, deducting unpaid lunch breaks, tracking weekly Monday-to-Sunday timesheets, and estimating regular plus overtime payroll.