Time calculators

Seconds Calculator

Updated Aug 23, 2026 By Jehan Wadia
Rate Formulas
Convert a Time Value
Decimals allowed (e.g. 1.5). Very large values are supported.
Every other unit is listed below as well.
Conversion Result

Human-Readable Breakdown
00:00:00
What That Duration Looks Like
    Magnitude in Each Unit (log scale)
    Step-by-Step Solution
    Build a Duration → Total Seconds
    Total Duration
    00:00:00

    Contribution of Each Field (in seconds)
    Step-by-Step Solution
    Add or Subtract Two Time Values
    HH:MM:SS accepts values beyond 24 hours (e.g. 100:00:00) and short forms such as 90 or 5:30.
    Arithmetic Result

    Operands vs. Result (seconds)
    Step-by-Step Solution
    Elapsed Time Between Two Moments
    Elapsed Time
    00:00:00

    Elapsed Time Composition
    Step-by-Step Solution
    HH:MM:SS → Seconds
    Values over 24 hours are fine (e.g. 100:00:00). 5:30 is read as 5 min 30 s.
    Total Seconds
    Seconds → HH:MM:SS
    Example: 90 seconds renders as 00:01:30.
    Clock Format
    Step-by-Step Solution
    Batch Conversion — One Value Per Row
    Conversion Table
    Each entered value converted to milliseconds, seconds, minutes, hours, days and clock format
    Row Input Milliseconds Seconds Minutes Hours Days HH:MM:SS
    Row Comparison (seconds)
    Step-by-Step Solution

    Introduction

    This Seconds Calculator helps you work with time in seconds. Type in a number, pick a unit, and get the answer right away. You can turn seconds into minutes, hours, days, weeks, months, or years — and go the other way too.

    The tool has six tabs, each with a different job:

    • Convert Seconds — change one time value into every other unit.
    • Build Duration — add up years, days, hours, minutes, and seconds to get one total.
    • Add / Subtract — put two time values together or find the gap between them, much like the Add Time Calculator and Subtract Time Calculator.
    • Elapsed Time — count the seconds between a start date and time and an end date and time, similar to the Time Duration Calculator.
    • HH:MM:SS Tool — switch between clock format and plain seconds.
    • Batch Converter — convert a whole list of values at once and see the total.

    Every answer comes with a step-by-step solution, so you can see the math and not just the number. Charts and tables show how the units compare. Use it for homework, workouts, cooking, video editing, work hours, or anything else that needs exact time math.

    How to use our Seconds Calculator

    Type in a time value, pick its unit, and this seconds calculator shows the answer in seconds, minutes, hours, days, weeks, months and years, plus a clock (HH:MM:SS) format and step-by-step math. Pick the tab that matches your job, then fill in the fields below.

    Convert Seconds tab

    Value to convert: Type the number you want to change, like 90061. Decimals such as 1.5 are fine.

    Unit of the value entered: Pick what your number means right now — milliseconds, seconds, minutes, hours, days, weeks, months or years. For other kinds of unit swaps, the Unit Converter Calculator and Time Converter Calculator cover more ground.

    Show the headline result in: Pick the unit for the big answer at the top. All other units still show below it.

    Build Duration tab

    Years, Months, Weeks, Days, Hours, Minutes, Seconds: Fill in any boxes you need and leave the rest at 0. The tool adds them all up into total seconds. If you only care about one unit, try the Minutes Calculator, Hours Calculator, Days Calculator or Weeks Calculator.

    Show total in: Pick the unit for the total, such as seconds, hours or days.

    Add / Subtract tab

    First value (A): Type your first time, like 01:30:00 or 5400.

    Format of A: Tell the tool how you typed value A — HH:MM:SS, milliseconds, seconds, minutes, hours or days.

    Operation: Choose Add (A + B) or Subtract (A − B). To stack clock times in bigger chunks, see the Add Hours and Minutes Calculator, Add Hours Calculator or Add Minutes Calculator.

    Second value (B): Type your second time value.

    Format of B: Pick the unit or clock format you used for value B.

    Elapsed Time tab

    Use calendar dates: Turn this on when your start and end are on different days. Turn it off to work inside one day. For date-only spans, the Date Duration Calculator and Days Since Calculator are handy.

    Start date: Pick the day your time began.

    Start time: Enter the clock time you started, in HH:MM:SS.

    End date: Pick the day your time ended.

    End time: Enter the clock time you stopped, in HH:MM:SS. If you are logging shifts instead, the Time Card Calculator and Shift Calculator add up whole days of work.

    HH:MM:SS Tool tab

    Clock value (HH:MM:SS): Type a clock time like 01:30:45 to get total seconds. Hours over 24 are allowed. For payroll-style decimals, use the Time to Decimal Calculator or Minutes to Decimal Calculator.

    Time value: Type a number, like 90, to turn it into clock format. Going from a decimal back to a clock reading is what the Decimal to Time Calculator does.

    Unit: Pick the unit of that number — milliseconds, seconds, minutes, hours or days.

    Batch Converter tab

    Value (each row): Type one time value per row to convert many at once.

    Unit for value (each row): Pick the unit for that row. Use Add Row for more values, then Convert All Rows to see the table and the combined total. To average a list of times instead of summing it, try the Average Time Calculator.

    Seconds: The Base Unit of Time

    A second is the standard unit of time. Every other time unit — minutes, hours, days, weeks, months, and years — is just a set number of seconds stacked together. That makes seconds the easiest way to compare two lengths of time, add them, or subtract them. Turn both values into seconds first, do the math, then turn the answer back into whatever unit you want.

    How Many Seconds Are in Each Unit

    UnitSeconds
    1 millisecond0.001
    1 minute60
    1 hour3,600
    1 day86,400
    1 week604,800
    1 month (average)2,629,800
    1 year (average)31,557,600

    Why Months and Years Are Averages

    Months are not all the same length. They run from 28 to 31 days. Years are not equal either, because a leap year adds one extra day every four years. So time math uses averages: a month is 30.4375 days and a year is 365.25 days. Those averages are great for rough planning. If you need an exact answer between two real calendar dates, count the actual days instead with the Date Calculator, the Month Calculator or the Weeks to Months Calculator.

    Converting Time by Hand

    To go from a bigger unit down to seconds, multiply. Two hours becomes 2 × 3,600 = 7,200 seconds. To go from seconds up to a bigger unit, divide. 7,200 seconds becomes 7,200 ÷ 3,600 = 2 hours. If a division leaves an awkward remainder, the Division Calculator and Modulo Calculator show the leftover clearly.

    Reading HH:MM:SS Clock Format

    Clock format shows hours, minutes, and seconds split by colons. To read it as one number, multiply the hours by 3,600, the minutes by 60, then add the seconds. So 01:30:45 is 3,600 + 1,800 + 45 = 5,445 seconds. For 24-hour clock readings, the Military Time Calculator handles the conversion.

    Going the other way, you peel units off one at a time. Take 90,061 seconds. Divide by 86,400 to get 1 whole day, leaving 3,661 seconds. Divide that by 3,600 to get 1 hour, leaving 61 seconds. Divide by 60 to get 1 minute, leaving 1 second. The answer is 1 day, 1 hour, 1 minute, and 1 second.

    Elapsed Time Between Two Moments

    Elapsed time is how long something lasted. Change the start time and the end time into seconds past midnight, then subtract the start from the end. If the two moments fall on different dates, add 86,400 seconds for each full day in between. If the end time looks earlier than the start time on the same day, the clock crossed midnight, so add one day. When the two moments sit in different regions, check the Time Zone Calculator or the Time Difference Calculator first.

    Where Seconds Get Used

    Seconds show up in work timesheets, race and lap times, video and audio lengths, cooking timers, billing by the hour, and computer code. Runners lean on the Pace Calculator and Running Pace Calculator for split times, while file transfers are measured with the Download Time Calculator. Programs almost always store time as seconds or milliseconds, then format it for people to read.

    Quick Facts Worth Remembering

    • 1,000 milliseconds make 1 second.
    • A million seconds is about 11.6 days.
    • A billion seconds is close to 31.7 years — try it in the Age Calculator to see how that compares to a lifetime.
    • An 8-hour work day is 28,800 seconds.
    • Light travels about 299,792 kilometers in one second.

    Formulas used

    Convert a value in any unit to SI seconds
    t_{s} = v \times f_{u}, \quad f_{u} \in \{0.001,\ 1,\ 60,\ 3600,\ 86400,\ 604800,\ 2629800,\ 31557600\}
    Convert seconds to a target unit
    v_{out} = \frac{t_{s}}{f_{out}}
    Total seconds of a built duration
    t = 31557600\,Y + 2629800\,M + 604800\,W + 86400\,D + 3600\,h + 60\,m + s
    Seconds to HH:MM:SS (peeling whole units)
    hh = \left\lfloor \frac{t}{3600} \right\rfloor,\quad mm = \left\lfloor \frac{t - 3600\,hh}{60} \right\rfloor,\quad ss = t - 3600\,hh - 60\,mm
    HH:MM:SS to seconds
    t = 3600\,hh + 60\,mm + ss
    Add or subtract two time values
    R = A_{s} \pm B_{s}
    Elapsed time between two moments
    \Delta t = 86400 \,\Delta_{days} + (t_{end} - t_{start}), \quad \Delta t \mathrel{+}= 86400 \text{ if } \Delta t < 0 \text{ (no dates)}
    Batch total of all rows
    T = \sum_{i=1}^{n} v_{i} \times f_{u_{i}}

    Frequently asked questions

    Can I type decimals like 1.5 hours?

    Yes. Every value box takes decimals. Type 1.5 with hours picked and you get 5,400 seconds. You can also use decimals for minutes, days, weeks, months and years.

    Can I enter more than 24 hours in HH:MM:SS?

    Yes. Type 100:00:00 and the tool reads it as 360,000 seconds. The clock does not reset at 24 hours, so long project times and race times work fine.

    What does 5:30 mean when I type it?

    Two numbers with one colon are read as minutes and seconds. So 5:30 is 5 minutes 30 seconds, or 330 seconds. If you want 5 hours 30 minutes, type 5:30:00.

    Why can't I type a negative number in the Build Duration tab?

    That tab only adds pieces together, so all boxes must be zero or more. To take time away, switch to the Add / Subtract tab and pick Subtract (A − B).

    What happens if my subtraction gives a negative answer?

    The tool still shows it. A minus sign appears in front of the seconds and the clock value, which means value B was bigger than value A. The size of the gap is still correct.

    Can I mix units in one calculation?

    Yes. In the Add / Subtract tab you can set value A to HH:MM:SS and value B to seconds, minutes, hours or days. The tool turns both into seconds first, then does the math.

    Does the Elapsed Time tab handle overnight shifts?

    Yes. Turn off Use calendar dates and it adds one day when the end time looks earlier than the start time. A note tells you it crossed midnight. With dates turned on, just pick the next day as the end date.

    Does it adjust for daylight saving time or time zones?

    No. It treats both moments as being in the same zone with no clock change. If your start and end fall in different zones, or across a DST switch, fix the times first, then enter them here.

    Does it count leap seconds?

    No. A minute is always 60 seconds and a day is always 86,400 seconds. Leap seconds are rare and tiny, so they are left out.

    Why does my answer show something like 1.2345e+15?

    That is scientific notation for very big or very small numbers. 1.2345e+15 means 1.2345 followed by 15 zeros worth of size. It keeps huge answers readable.

    Are the results rounded?

    The math is done in full, but the display is rounded so it stays easy to read. Big numbers show fewer decimals, small numbers show more. The step-by-step section shows the same rounded values.

    How many rows can I add in the Batch Converter?

    As many as you need. Click Add Row for each new value, pick a unit per row, and the table shows each row plus a combined total at the bottom. Use the trash button to drop a row.

    What is the countdown box under the breakdown?

    It shows the date and time you land on if you count forward that many seconds from right now, and the date and time you get counting backward. It is a quick sanity check for long spans.

    Why is the bar chart on a log scale?

    Because milliseconds and years are wildly different sizes. On a normal chart the small bars would vanish. A log scale squeezes the range so every unit is still visible.

    How do I turn seconds into minutes and seconds, like 90 into 1:30?

    Open the HH:MM:SS Tool tab, type 90 in the right-hand box, keep the unit on Seconds, and it prints 00:01:30. The steps below show how the hours and minutes were peeled off.

    Can I use this to add up seconds from a stopwatch or lap times?

    Yes. Put each lap in its own row in the Batch Converter and read the total row, or use the Add / Subtract tab for two times. Both accept clock format and plain seconds.

    Do I need to click Calculate every time?

    No. Results update as you type or change a dropdown. The Calculate button is there if you want to force a refresh, and Reset puts the fields back to simple starting values.

    Is my data saved or sent anywhere?

    No. All the math runs in your browser. Nothing you type is stored or uploaded, and refreshing the page clears it.