Milliseconds Converter

Enter milliseconds — or any duration like 1h 30m, 01:30:00 or PT1H30M — and get every unit at once.

Conversions

Converted on your device.

What you can type

  • A number — read in the unit you pick (milliseconds by default): 90000 is 1 minute 30 seconds.
  • Units — 1h 30m, 2 days 3 hours, 1.5h, 250ms, 45s.
  • Clock time — 01:30:00, 5:30 (minutes:seconds) or 1.02:00:00 (days.hours:minutes:seconds, as .NET's TimeSpan writes it).
  • ISO 8601 durations — PT1H30M, P2DT3H, as used in JSON APIs, YouTube data, Azure and many config files.

Quick reference

DurationMilliseconds
1 second1,000
1 minute60,000
1 hour3,600,000
1 day86,400,000
1 week604,800,000
30 days2,592,000,000

Where milliseconds show up

JavaScript timers (setTimeout(fn, 30000)), HTTP and database timeouts, cache TTLs, animation durations and performance measurements all use milliseconds; log files often record request times in ms. Watch the limits: setTimeout overflows above 2,147,483,647 ms (about 24.8 days) and fires immediately. For points in time rather than lengths of time, use the Unix timestamp converter.

Is my data uploaded?

No. Everything is calculated in your browser, so nothing you add is sent to gratistools.be. See the privacy page for details.