Unit Converters

Milliseconds to Seconds Converter

Convert milliseconds to seconds and back using the exact relationship of 1,000 ms per second. It has quick picks for the values developers, gamers, musicians, and clinicians reach for most.

Reviewed and updated

Try
Converted time
5 s

5,000 milliseconds → seconds

Conversion factor
÷1,000
1 second equals
1,000 ms
Conversion factors are exact; rounding may affect the final digit.
Was this helpful?

Divide by 1,000

seconds = milliseconds ÷ 1000

A millisecond is one thousandth of a second, so converting is just shifting the decimal point three places left. 1,500 ms is 1.5 s; 250 ms is 0.25 s. To go back the other way, multiply seconds by 1,000.

Common values

MillisecondsSecondsWhat it is
16.67 ms0.01667 sOne frame at 60 FPS
100 ms0.1 sFeels instant in a UI
250 ms0.25 sTypical human reaction time
500 ms0.5 sOne beat at 120 BPM
1,000 ms1.0 sOne second
60,000 ms60 sOne minute

Two handy shortcuts from the same divide-by rule: frame time is 1000 / FPS (60 FPS → ~16.7 ms), and beat time is 60000 / BPM (120 BPM → 500 ms).

Where the conversion goes wrong

  • ms is not µs. "ms" means milliseconds (thousandths); "µs" means microseconds (millionths), a 1,000× difference. In code, setTimeout(1000) waits one second, not one microsecond.
  • Timestamps in ms vs s. JavaScript's Date.now() returns milliseconds, but a Unix timestamp is in seconds. Feeding one where the other is expected lands you in 1970 or the year 50,000.
  • Rounding. Floating-point math means 1 ÷ 1000 can print as 0.00099999…. For anything precise, keep integers (work in nanoseconds) and convert once at the end.

Common questions

How many milliseconds are in a second?

Exactly 1,000. A millisecond is one thousandth of a second, so to convert milliseconds to seconds you divide by 1,000. For example, 500 ms is 0.5 s.

How do I convert milliseconds to seconds?

Divide the number of milliseconds by 1,000, which is the same as moving the decimal point three places to the left. So 2,500 ms becomes 2.5 s.

What is the difference between a millisecond and a microsecond?

A millisecond (ms) is one thousandth of a second; a microsecond is one millionth. A microsecond is 1,000 times shorter than a millisecond, so mixing up ms and the microsecond symbol causes a 1,000-fold error.

From the blog

Guides & how-tos

All articles →