gizmobench

Milliseconds to Seconds Converter

Milli means a thousandth, so a millisecond is exactly 0.001 seconds and the conversion is one division: seconds = milliseconds / 1,000. In practice it is a decimal point moved three places, which is why the answers stay tidy: 250 ms is 0.25 s, 500 ms is 0.5 s, 1,500 ms is 1.5 s, 1,234 ms is 1.234 s and 90,000 ms is 90 s. This page opens the converter with Millisecond in the From box and Second in the To box, ahead of whatever pair you last used, and recalculates as you type. Two habits of the input matter here: it strips thousands separators, so a pasted 1,234,567 ms is read as 1,234.567 s, and it accepts scientific notation, so 1.5e3 and 1,500 give the same 1.5 s. That makes epoch work quick, since a millisecond timestamp of 1,700,000,000,000 reads 1,700,000,000 seconds, the same instant in the seconds form most back ends store. Under the headline the same span is listed in minutes, hours, days, weeks and Julian years, and an Uncommon units switch labelled Show 2 more brings in microseconds and nanoseconds, where 1 ms is 1,000 and 1,000,000 of them.

To0.001
Category
Time
Base unit
second
Uncommon units

1 ms in every time unit

  • Seconds
    0.001
  • Minutemin
    0.0000166666666667
  • Hourh
    2.777778e-7
  • Dayd
    1.157407e-8
  • Weekwk
    1.653439e-9
  • Year (Julian)yr
    3.168809e-11

Common questions

How many milliseconds are in a second?
Exactly 1,000, which is what the SI prefix milli means, so the two directions are seconds = ms / 1,000 and ms = seconds x 1,000. Swap the boxes and 1 s gives 1,000 ms and 0.5 s gives 500 ms. The relationship is a definition rather than a measurement, so it is exact at every size.
Worked example: what is 1,500 ms in seconds?
1.5 s. The list under the answer carries the same span onward: 0.025 minutes, 0.000416666666667 hours, 0.0000173611111111 days and 0.00000248015873016 weeks, with a Julian year printed as 4.753213e-8 because it has fallen below a millionth. Each row has its own Copy button, and Copy result above copies the headline 1.5 without any thousands separators.
How do I turn a millisecond timestamp into a seconds timestamp?
Paste it in and divide by 1,000, which is what this page already does: 1,700,000,000,000 ms reads 1,700,000,000 s. Language runtimes that hand you a time in milliseconds, such as a JavaScript Date value, meet databases and APIs that count in whole seconds, and this converts between the two counts. It does not turn either number into a date: that is a different job, and the epoch converter does it.
Is ms milliseconds or microseconds?
Milliseconds. A microsecond is a thousand times shorter and is written with a Greek mu rather than an m, and in this converter it sits behind the Uncommon units switch along with the nanosecond. Turn it on and 1 ms shows as 1,000 microseconds and 1,000,000 nanoseconds, so a profiler reading in microseconds can be carried up to seconds in one step.
What is a frame time of 16.6666666667 ms in seconds?
0.0166666666667 s, which is one sixtieth of a second, the budget for a frame at 60 frames per second. A 30 fps frame at 33.3333333333 ms is 0.0333333333333 s. Both are repeating decimals cut off at twelve significant digits, the precision the converter prints everywhere, so typing the rounded 16.7 ms instead gives 0.0167 s.
Why does a small answer come back as 1.157407e-8?
Because the page switches to exponential notation below a millionth rather than printing a run of leading zeroes. One millisecond in days is 1.157407e-8 and in Julian years 3.168809e-11, while one millisecond in minutes is still written out in full as 0.0000166666666667. If you want a readable number instead, pick a smaller unit in the To menu, where 1 ms is a clean 1,000 microseconds.
Does it accept a pasted number with commas, or scientific notation?
Both. Commas are stripped before the value is read, so 1,234,567 ms converts to 1,234.567 s, and an exponent is parsed, so 1.5e3 ms is the same 1.5 s as 1500. A decimal point is fine as well, since 0.5 ms is 0.0005 s. Anything the parser cannot read gets a message under the boxes naming what it accepts: digits, one decimal point, and an optional minus sign.
How do I convert seconds back to milliseconds?
Press the swap button between the two boxes and the page reverses into seconds to milliseconds: 1 s is 1,000 ms, 2.5 s is 2,500 ms and 0.25 s is 250 ms. The unit menus are unchanged by the swap, so from there you can send the same figure to minutes or hours without reloading.
Why does the page open on milliseconds and seconds when I last converted something else?
Because it is the page for that pair and should show it on arrival. The preset wins over the pair the converter remembered, and it does so only here: the main unit converter still opens on whatever you left it on. The number in the box is kept rather than reset, since it is usually the one you are still working with.
Does anything I type leave the browser?
No. The time factors are constants in the page, the division runs in your browser as you type, and nothing is uploaded, logged or tied to an account. After the page has loaded it works with the connection off.

Conversion factors are the exact legal definitions where one exists. An inch is exactly 2.54 cm and a pound exactly 0.45359237 kg, so those conversions are exact rather than approximate. Temperature uses offsets rather than factors, and that is shown in the working.