AAllMyToolsa pocketful of little tools

Seconds to milliseconds converter

Convertersconversion pair

Convert seconds to milliseconds instantly: 1 s is 1,000 ms. Timers, latency and logs, with the exact math and a copy button.

one second is 1,000 milliseconds — the base unit behind every "slow" complaint.

work surface

Math, not advice — results are indicative.Read the disclaimer.

pro tips

Multiply by 1,000: 30 s is 30,000 ms, 0.25 s is 250 ms.

Timeouts and animation timers want milliseconds — mind the zeros.

A 60 fps frame is 16 ms; a second is about 62 of them.

what it does

One second is 1,000 milliseconds, so seconds to milliseconds is a multiply-by-1,000. It turns a human-scale duration into the units timers, timeouts and logs count in.

It appears when a timeout is set in seconds but a library wants milliseconds: a 30 s limit is 30,000 ms, a 2 s animation is 2,000, and a 0.25 s debounce is 250 ms.

The shortcut: add three zeros. 1 s is 1,000 ms, 0.5 s is 500, 90 s is 90,000. The classic bug is passing 5 for "5 seconds" to a function that wants milliseconds — 5 ms, and the thing you waited for never happens.

Type any second value and the widget answers in milliseconds instantly, with the math in the hint. Click to copy, and swap to go from milliseconds to seconds.

quick answers

How many milliseconds are in 2 seconds?

2,000. Multiply by 1,000, and mind the zeros when you feed a timer.

How do I convert seconds to milliseconds?

Multiply the seconds by 1,000. 0.5 s becomes 500 ms, 5 s becomes 5,000 ms.

Where do milliseconds matter most?

In code: timeouts, animation frames and API limits are all specified in milliseconds, while people think in seconds.