Why 1,000?
The prefix "milli-" means one-thousandth. So a millisecond is literally one-thousandth of a second. That's why you divide by 1,000 to go from milliseconds to seconds, and multiply by 1,000 to go the other direction.
Practical Examples
API response time: Your monitoring tool reports that a request took 450 ms. That's 0.45 seconds — a bit under half a second.
JavaScript timeout: You have setTimeout(fn, 3000) in your code. That's 3 seconds of delay.
Video frame duration: At 30fps, each frame lasts about 33.33 ms, which is roughly 0.033 seconds.
Page load time: A Lighthouse report shows your page loaded in 2,340 ms. That's 2.34 seconds.
How Milliseconds Relate to Other Time Units
- 1 ms = 0.001 seconds
- 1,000 ms = 1 second
- 60,000 ms = 1 minute
- 3,600,000 ms = 1 hour
- 86,400,000 ms = 1 day
Leave a Comment
We'd love to hear from you