Milliseconds to seconds converter (ms to s)
One second (s) is exactly 1,000 milliseconds (ms), so 1 ms = 0.001 s.
To convert milliseconds to seconds, divide by 1,000: seconds = milliseconds ÷ 1,000. So 100 ms = 0.1 s, 1,500 ms = 1.5 s and 10,000 ms = 10 s. Dividing by 1,000 moves the decimal point three places to the left.
Milliseconds to seconds formula
Formula
s = ms ÷ 1,000
Divide milliseconds by 1,000 to get seconds, or multiply by 0.001, which is the same thing. To go back from seconds to milliseconds, multiply by 1,000. The prefix milli means one thousandth (10⁻³), so the result is rounded only if you pick fewer significant digits. The factor is exact, because both units are defined exactly.
How to convert milliseconds to seconds: worked examples
Convert 1,500 milliseconds to seconds
1,500 ms ÷ 1,000 = 1.5 s
Move the decimal point three places to the left: 1500. becomes 1.500.
Convert 65 milliseconds to seconds
65 ms ÷ 1,000 = 0.065 s
With fewer than four digits, pad with zeros before moving the point: 065 ms becomes 0.065 s.
Convert 100 milliseconds to seconds
100 ms ÷ 1,000 = 0.1 s
100 ms is one tenth of a second, not one second. It takes 1,000 ms to make 1 s.
Convert one 60 fps frame to seconds
1 s ÷ 60 = 16.667 ms; 16.667 ms ÷ 1,000 = 0.016667 s
A 60 Hz screen draws a new frame about every 16.67 ms. At 30 fps a frame lasts 33.33 ms, or 0.0333 s.
Convert 90,000 milliseconds to minutes and seconds
90,000 ms ÷ 1,000 = 90 s; 90 s ÷ 60 = 1.5 min = 1 min 30 s
Convert to seconds first, then divide by 60 for minutes. In one step, minutes = ms ÷ 60,000.
Convert a Unix timestamp in milliseconds to seconds
1,700,000,000,000 ms ÷ 1,000 = 1,700,000,000 s
That is 22:13:20 UTC on 14 November 2023. JavaScript’s Date.now() and Java’s System.currentTimeMillis() count milliseconds since 1 January 1970; Unix time and Python’s time.time() count seconds.
Convert 2.5 seconds back to milliseconds
2.5 s × 1,000 = 2,500 ms
Multiply by 1,000 to go from seconds to milliseconds. A setTimeout delay of 2,500 waits 2.5 s.
Milliseconds to seconds conversion chart
| Milliseconds (ms) | Seconds (s) |
|---|---|
| 0.1 | 0.0001 |
| 0.5 | 0.0005 |
| 1 | 0.001 |
| 2 | 0.002 |
| 5 | 0.005 |
| 10 | 0.01 |
| 15 | 0.015 |
| 16 | 0.016 |
| 20 | 0.02 |
| 25 | 0.025 |
| 30 | 0.03 |
| 40 | 0.04 |
| 50 | 0.05 |
| 60 | 0.06 |
| 65 | 0.065 |
| 75 | 0.075 |
| 100 | 0.1 |
| 150 | 0.15 |
| 200 | 0.2 |
| 250 | 0.25 |
| 300 | 0.3 |
| 400 | 0.4 |
| 500 | 0.5 |
| 600 | 0.6 |
| 700 | 0.7 |
| 750 | 0.75 |
| 800 | 0.8 |
| 900 | 0.9 |
| 1,000 | 1 |
| 1,200 | 1.2 |
| 1,500 | 1.5 |
| 2,000 | 2 |
| 2,500 | 2.5 |
| 3,000 | 3 |
| 4,000 | 4 |
| 5,000 | 5 |
| 6,000 | 6 |
| 7,500 | 7.5 |
| 10,000 | 10 |
| 15,000 | 15 |
| 20,000 | 20 |
| 30,000 | 30 |
| 45,000 | 45 |
| 60,000 | 60 |
| 90,000 | 90 |
| 100,000 | 100 |
| 120,000 | 120 |
| 300,000 | 300 |
| 600,000 | 600 |
| 1,000,000 | 1,000 |
| 3,600,000 | 3,600 |
| 86,400,000 | 86,400 |
Common durations in milliseconds and seconds
| Duration | Milliseconds (ms) | Seconds (s) |
|---|---|---|
| One frame at 120 Hz | 8.33333 | 0.00833333 |
| One frame at 60 fps (60 Hz) | 16.6667 | 0.0166667 |
| One frame at 30 fps | 33.3333 | 0.0333333 |
| One frame at 24 fps (film) | 41.6667 | 0.0416667 |
| Camera shutter speed of 1/250 s | 4 | 0.004 |
| Good Interaction to Next Paint (INP) limit | 200 | 0.2 |
| Good Largest Contentful Paint (LCP) limit | 2,500 | 2.5 |
| One minute | 60,000 | 60 |
| One hour | 3,600,000 | 3,600 |
| One day | 86,400,000 | 86,400 |
What are milliseconds and seconds?
Millisecond (ms)
A millisecond is one thousandth of a second. Network latency, reaction times and computer timers are measured in milliseconds.
Second (s)
The second is the SI base unit of time, defined as 9,192,631,770 periods of the radiation from a specific transition of the cesium-133 atom.
Why you divide by exactly 1,000: the millisecond is the second with the SI prefix milli, which means 10⁻³, so 1 ms = 0.001 s by definition and 1 s = 1,000 ms. No measured constant is involved, so every result is exact. The same thousand-step pattern continues down the scale: 1 ms = 1,000 microseconds (µs) and 1 µs = 1,000 nanoseconds (ns).
Milliseconds are the working unit of software. JavaScript’s Date.now() and Java’s System.currentTimeMillis() return milliseconds since the Unix epoch (00:00:00 UTC on 1 January 1970), while Unix time, most databases and Python’s time.time() use seconds. To turn a 13-digit millisecond timestamp into a 10-digit Unix timestamp, divide by 1,000 and drop the decimals, as in Math.floor(Date.now() / 1000). Timer functions such as setTimeout and setInterval also take their delay in milliseconds, so 3000 means 3 seconds.
Performance and media figures are quoted in milliseconds too. Google’s Core Web Vitals call an Interaction to Next Paint of 200 ms (0.2 s) or less good and a Largest Contentful Paint of 2,500 ms (2.5 s) or less good. A 60 Hz display shows one frame every 1,000 ÷ 60 = 16.67 ms. For longer spans, divide by 60,000 for minutes or 3,600,000 for hours, or use the seconds to minutes converter on the result. In Excel or Google Sheets, =A2/1000 gives seconds, and =A2/86400000 formatted as [mm]:ss.000 shows minutes and seconds, because spreadsheets store time as fractions of a day.
To add or subtract times such as 2 h 45 min + 1 h 30 min, use the time calculator. For a frequency, the reciprocal of a period, use the frequency converter.
Practice problems
A web page’s largest image appears after 1,850 ms. How many seconds is that?
1,850 ÷ 1,000 = 1.85 s, inside the 2.5 s limit for a good Largest Contentful Paint.
A network ping returns in 38 ms. How many seconds is that?
38 ÷ 1,000 = 0.038 s.
A race is timed at 152,340 ms. Write it in seconds and in minutes and seconds.
152,340 ÷ 1,000 = 152.34 s. Two minutes take 120 s, so the time is 2 min 32.34 s.
Frequently asked questions
How many milliseconds are in a second?
A second has exactly 1,000 milliseconds, so one millisecond is 0.001 seconds. The prefix milli means one thousandth.
How do you convert milliseconds to seconds?
Divide the milliseconds by 1,000, which moves the decimal point three places to the left. For example, 2,750 ms ÷ 1,000 = 2.75 s and 45 ms ÷ 1,000 = 0.045 s.
Is 100 milliseconds 1 second?
No. 100 milliseconds is 0.1 seconds, one tenth of a second. It takes 1,000 milliseconds to make 1 second, so 1 second is ten times longer than 100 ms.
Does 1,000 milliseconds equal 1 second?
Yes. 1,000 ms is exactly 1 s, because 1,000 × 0.001 = 1. Likewise 10,000 ms is 10 s and 60,000 ms is 1 minute.
How many seconds is 10,000 milliseconds?
10,000 milliseconds is 10 seconds: 10,000 ÷ 1,000 = 10.
How do I convert milliseconds to minutes and seconds?
Divide by 1,000 for seconds, then by 60 for minutes. For 125,500 ms: 125,500 ÷ 1,000 = 125.5 s, and 125.5 s is 2 min 5.5 s. In one step, minutes = ms ÷ 60,000.
How many milliseconds are in a minute, an hour and a day?
A minute has 60,000 ms, an hour 3,600,000 ms and a day 86,400,000 ms. Each is the number of seconds multiplied by 1,000.
How do I convert a millisecond timestamp to a Unix timestamp in seconds?
Divide by 1,000 and drop the decimal part. In JavaScript, Math.floor(Date.now() / 1000) turns a 13-digit millisecond timestamp such as 1,700,000,000,000 into the 10-digit Unix time 1,700,000,000. To read a millisecond timestamp as a date, pass it straight to new Date(ms), which gives 14 November 2023, 22:13:20 UTC for this example.
How do I convert milliseconds to seconds in Excel?
If A2 holds milliseconds, use =A2/1000 for seconds. For minutes and seconds, use =A2/86400000 and format the cell as [mm]:ss.000, because Excel stores time as fractions of a day: 125,500 ms then shows as 02:05.500.
How do I convert seconds back to milliseconds?
Multiply the seconds by 1,000. For example, 0.25 s × 1,000 = 250 ms and 3 s × 1,000 = 3,000 ms.
Sources and further reading
- The International System of Units (SI Brochure), 9th edition (opens in a new tab), Bureau International des Poids et Mesures
- NIST Special Publication 811: Guide for the Use of the International System of Units (opens in a new tab), National Institute of Standards and Technology
- Date.now() (opens in a new tab), MDN Web Docs
- Web Vitals (opens in a new tab), web.dev (Google)