All Tools

Time to Seconds Converter

Convert hours, minutes, and seconds to total seconds. Useful for calculations and programming.

Time ↔ Seconds Converter

Result

0 seconds


Time to seconds converter

Formula

Convert hours, minutes, and seconds to total seconds.

texttotalSeconds=(texthourstimes3600)+(textminutestimes60)+textseconds\\text{totalSeconds} = (\\text{hours} \\times 3600) + (\\text{minutes} \\times 60) + \\text{seconds}

Worked examples

2 hours, 30 minutes, 45 seconds:

(2times3600)+(30times60)+45=7200+1800+45=9045textseconds(2 \\times 3600) + (30 \\times 60) + 45 = 7200 + 1800 + 45 = 9045 \\text{ seconds}

1 hour, 0 minutes, 0 seconds:

(1times3600)+0+0=3600textseconds(1 \\times 3600) + 0 + 0 = 3600 \\text{ seconds}

How to use

  1. Enter hours, minutes, and seconds
  2. Click "Convert" to see total seconds

Conversion table

| Hours | Minutes | Seconds | Total Seconds | |-------|---------|---------|---------------| | 1 | 0 | 0 | 3,600 | | 2 | 0 | 0 | 7,200 | | 1 | 30 | 0 | 5,400 | | 0 | 1 | 0 | 60 | | 0 | 0 | 1 | 1 | | 1 | 1 | 1 | 3,661 | | 2 | 2 | 2 | 7,322 | | 24 | 0 | 0 | 86,400 |

Adding times

To add multiple times, convert each to seconds, sum them, then convert back.

Example: Add 1:30:00 and 2:45:30

  1. 1:30:00 = 5,400 seconds
  2. 2:45:30 = 9,930 seconds
  3. Sum = 15,330 seconds
  4. Convert back: 4 hours, 15 minutes, 30 seconds

Common use cases

  • Audio and video editing
  • Sports timing
  • Exercise workouts
  • Productivity tracking
  • Programming calculations

FAQ

Can I enter decimal values? Yes, enter 1.5 for 1 hour 30 minutes.

How do I convert back to time? Divide by 3,600 for hours, remainder by 60 for minutes.

What about milliseconds? Multiply your seconds by 1,000 for milliseconds.

Can I subtract times? Yes, enter negative values for the duration to subtract.

Is 60 minutes exactly 3,600 seconds? Yes, by definition: 60 × 60 = 3,600.

How many seconds in a day? 86,400 seconds (24 × 60 × 60).

Other related tools