Seconds to Milliseconds
3 seconds is 3000 milliseconds, because one second is 1000 milliseconds and 3 times 1000 is 3000. The MSecond format returns the total in milliseconds.
Code expects milliseconds almost everywhere a delay shows up. A setTimeout call, a CSS animation duration, or an API timeout field all count in ms, so a 2-second pause has to be entered as 2000. To convert, multiply the seconds by 1000.
FormulaMultiply the number of seconds by 1000 to get milliseconds: 7 seconds × 1000 = 7000 ms.
Convert seconds to milliseconds
Type hours, minutes, days, weeks, months, years, or seconds, as full words or shorthand (h m d w), with + - * /. Pick how the answer reads with Show result as up top. It all runs in your browser. Drag the card’s right edge to make it wider.
Seconds to Milliseconds conversion table
| Seconds | Milliseconds |
|---|---|
| 1 Second | 1000 MSeconds |
| 2 Seconds | 2000 MSeconds |
| 3 Seconds | 3000 MSeconds |
| 5 Seconds | 5000 MSeconds |
| 10 Seconds | 10000 MSeconds |
| 15 Seconds | 15000 MSeconds |
| 30 Seconds | 30000 MSeconds |
| 60 Seconds | 60000 MSeconds |
Common questions
How many milliseconds is 1.5 seconds?
1.5 seconds is 1500 milliseconds. Multiply 1.5 by 1000. Decimal seconds work cleanly because each whole second holds exactly 1000 ms, so half a second is 500 ms and a quarter second is 250 ms.
How do I convert milliseconds back to seconds?
Divide the milliseconds by 1000. So 4500 ms becomes 4.5 seconds, and 250 ms becomes 0.25 seconds. It is the exact inverse of the seconds-to-milliseconds step, where you multiply by 1000 instead.