Conversion

Time to Seconds Calculator

Settings
Reset
Share
Save
Embed
Report a bug

Share calculator

Add our free calculator to your website

Please enter a valid URL. Only HTTPS URLs are supported.


Use as default values for the embed calculator what is currently in input fields of the calculator on the page.


Input border focus color, switchbox checked color, select item hover color etc.


Please agree to the Terms of Use.

Preview

Save calculator

Calculator Settings

Please enter a value within the allowed range.

Please enter a value within the allowed range.

Please enter a value within the allowed range.

Please enter a value within the allowed range.

Share calculator

What is a time to seconds calculator?

A time to seconds calculator takes a duration written in the familiar hours, minutes, and seconds format and collapses it into a single number: the total number of seconds. It also reports the same duration expressed as total minutes. You enter however many hours, minutes, and seconds you have, and the tool adds the contributions of each unit together for you.

This is handy whenever a system, a stopwatch, or a piece of software expects a duration as one plain count of seconds rather than as a split hours:minutes:seconds value. Video timestamps, API timeouts, race times, billing intervals, and physics calculations all tend to live in seconds, even though people naturally read and write time in mixed units.

Understanding the basic concept

Hours, minutes, and seconds are nested units of time. Each larger unit is built from a whole number of the next smaller one:

1 hour=60 minutes=3600 seconds1 \text{ hour} = 60 \text{ minutes} = 3600 \text{ seconds} 1 minute=60 seconds1 \text{ minute} = 60 \text{ seconds}

Because every unit ultimately reduces to seconds, any combined duration can be flattened into a single second count by converting each part and summing the results. The factor 3600 is simply 60 minutes per hour times 60 seconds per minute, a consequence of the ancient base-60 system that still governs how we keep time.

How does the calculator work?

The calculator reads three fields - hours, minutes, and seconds - and combines them. Any field left blank is treated as zero, so you can enter only the parts you actually have. If all three fields are empty, no result is shown, and non-numeric text is ignored.

The total seconds are computed with:

S=h×3600+m×60+sS = h \times 3600 + m \times 60 + s

The same duration in total minutes is:

M=S60M = \frac{S}{60}

Where:

  • hh = number of hours
  • mm = number of minutes
  • ss = number of seconds
  • SS = total seconds
  • MM = total minutes

Fractional inputs are allowed and scale through cleanly, so 0.5 hours contributes 1800 seconds just as you would expect.

Worked examples

Example 1: Convert 1 hour 30 minutes 0 seconds

S=1×3600+30×60+0=3600+1800+0=5400 secondsS = 1 \times 3600 + 30 \times 60 + 0 = 3600 + 1800 + 0 = 5400 \text{ seconds} M=540060=90 minutesM = \frac{5400}{60} = 90 \text{ minutes}

So 1 h 30 min = 5400 seconds = 90 minutes.

Example 2: Convert 0 hours 0 minutes 45 seconds

S=0×3600+0×60+45=45 secondsS = 0 \times 3600 + 0 \times 60 + 45 = 45 \text{ seconds}

A plain 45 seconds simply stays 45 seconds.

Example 3: Convert 2 hours 0 minutes 0 seconds

S=2×3600+0×60+0=7200 secondsS = 2 \times 3600 + 0 \times 60 + 0 = 7200 \text{ seconds}

Two hours therefore equal 7200 seconds.

Common conversions table

HoursMinutesSecondsTotal seconds
004545
01060
03001800
1003600
13005400
2007200
240086400

The last row is a useful landmark: a full 24-hour day contains 86,400 seconds.

Practical applications

Developers configure timeouts, cache lifetimes, and scheduled jobs in seconds, even when the requirement is stated in mixed units. Turning “1 hour 30 minutes” into 5400 seconds is a routine step when editing configuration files or calling an API.

Athletes, coaches, and event organizers record performances in seconds while planning sessions in hours and minutes. Flattening a training block to a single second count makes it easy to compare splits and budget rest intervals precisely.

In science and engineering, rates are usually expressed per second, so a duration logged as hours, minutes, and seconds must first be reduced to one number. A reliable time-to-seconds conversion keeps those calculations consistent and free of arithmetic slips.

Frequently asked questions

How do I convert hours, minutes, and seconds to total seconds?

Multiply the hours by 3600, the minutes by 60, leave the seconds as they are, and add the three results together. For example, 1 h 30 min 0 s gives 1×3600+30×60+0=54001 \times 3600 + 30 \times 60 + 0 = 5400 seconds.

How many seconds are in 1 hour and 30 minutes?

There are 5400 seconds, because 1×3600+30×60=3600+1800=54001 \times 3600 + 30 \times 60 = 3600 + 1800 = 5400.

What is the total number of minutes for a duration?

Divide the total seconds by 60. For 5400 seconds that is 5400÷60=905400 \div 60 = 90 minutes.

Can I enter only seconds or only minutes?

Yes. Any field you leave blank counts as zero, so you can fill in just the parts you have. To go the other direction, use the seconds to minutes converter or the minutes to seconds converter.

How many seconds are in a full day?

A day is 24 hours, so it holds 24×3600=8640024 \times 3600 = 86400 seconds. You can verify the hour part with the hours to seconds converter.

Report a bug

This field is required.