Calcist

Style

Buttons

Spacing

How much to show

Decimal places

Text size

Time calculator

Add or subtract two lengths of time, or convert a time from one unit to another.

First time
Second time

Convert a time

Private: calculated on your device. Nothing you type is sent anywhere.

Next: Working out hours between two clock times? Use the hours calculator. Adding days to a date? Use the date calculator.

How time is added

Time doesn't use base 10, so you can't add 1:45 and 2:30 like decimals. The calculator turns everything into seconds, adds or subtracts, then splits the answer back up:

Seconds = days × 86,400 + hours × 3,600 + minutes × 60 + seconds
Then: days = ⌊total ÷ 86,400⌋, hours = ⌊rest ÷ 3,600⌋, minutes = ⌊rest ÷ 60⌋, seconds = what's left

Worked example

1 day 2 hours 30 minutes + 22 hours 45 minutes 15 seconds:

  • First: 86,400 + 7,200 + 1,800 = 95,400 seconds.
  • Second: 79,200 + 2,700 + 15 = 81,915 seconds.
  • Sum: 177,315 seconds = 2 days (172,800) + 1 hour (3,600) + 15 minutes (900) + 15 seconds = 2 days, 1 hour, 15 minutes, 15 seconds.

Units used

UnitIn seconds
1 minute60
1 hour3,600
1 day86,400
1 week604,800

Limitations

  • Months and years aren't offered, because they have different lengths (28 to 31 days, 365 or 366 days). Use the date calculator to add months or years to a date.
  • A "day" here is exactly 24 hours. A calendar day with a daylight saving change is 23 or 25 hours, and very rarely a minute has a leap second.
  • For the time between two clock times, like 9:15 AM to 5:40 PM, the hours calculator is quicker.

Sources

How we checked this

Before every update, this calculator is run in a real browser with these known answers, and it must match all of them:

  • 1 d 2 h 30 m + 22 h 45 m 15 s = 2 d 1 h 15 m 15 s ✓
  • 2 h − 3 h 30 m = −1 h 30 m ✓
  • 90 minutes = 1.5 hours ✓
  • 1,000,000 seconds = 11 d 13 h 46 m 40 s ✓
  • 2.5 hours = 150 minutes (not 0.104 days) ✓
  • 1 day is 24 hours ✓
  • Edge: 0.0001 seconds isn't rounded to 0 ✓

Last checked October 26, 2026. Spotted something wrong? The math is done in your browser with the formula shown on this page, so you can check any result by hand.

Add this calculator to your website (free)

Paste this code into any web page. The calculator works on your page, resizes itself, has no ads and no tracking, and nothing your visitors type is sent anywhere. More about embedding.

Questions people ask

How do I add hours and minutes?

Add the minutes, and every 60 minutes carries over as an hour. 1 h 45 min + 2 h 30 min = 3 h 75 min = 4 h 15 min.

How many hours is 90 minutes?

1.5 hours, or 1 hour 30 minutes.

How do I subtract times?

Choose Subtract. If the second time is longer, the answer is negative: 2 hours − 3 h 30 min = −1 h 30 min.

How many seconds are in a day?

86,400 (24 × 60 × 60). A week has 604,800.

How long is a million seconds?

11 days, 13 hours, 46 minutes and 40 seconds.

Related calculators