Milliseconds to Seconds Converter — ms, Minutes, Hours, Days Online

Convert between milliseconds, seconds, minutes, hours, days, weeks, months, and years

Duration Units

Milliseconds (ms)
Seconds (s)
Minutes (min)
Hours (h)
Days (d)
Weeks (w)
Months (mo)
Years (yr)

Type a value in any unit to convert

All units update simultaneously

Common Durations

Quick Reference

UnitIn SecondsIn Milliseconds
1 minute6060,000
1 hour3,6003,600,000
1 day86,40086,400,000
1 week604,800604,800,000
1 month2,629,7462,629,746,000
1 year31,556,95231,556,952,000
Easy to UseEasy to Use
FastFast
100% Private100% Private
Share this tool

How to Convert Time Durations: ms, Seconds, Minutes, Hours

Milliseconds to Seconds Converter is a free browser-based tool that instantly converts between all common time units — milliseconds, seconds, minutes, hours, days, weeks, months, and years. Type any value and every other unit updates live.

Useful for developers working with API timeouts, Redis TTLs, JWT token expiry, rate limits, cache durations, and cron job intervals. All conversion runs in your browser — nothing is sent to any server.

Common reference values: 1 second = 1,000 ms · 1 minute = 60 seconds = 60,000 ms · 1 hour = 3,600 seconds = 3,600,000 ms · 1 day = 86,400 seconds. Conversion formulas: ms ÷ 1,000 = seconds · seconds ÷ 60 = minutes · minutes ÷ 60 = hours.

When to Use a Time Duration Converter

  • Convert milliseconds to seconds for API timeout configuration.
  • Set Redis TTL values — confirm hours expressed in seconds.
  • Verify JWT expiry: "expires_in: 3600" = exactly 1 hour.
  • Convert cron interval durations to human-readable time.
  • Check cache max-age values in HTTP Cache-Control headers.
  • Calculate rate-limit windows (e.g. 1000 req / 15 minutes in ms).
  • Verify OAuth token lifetimes against policy requirements.
  • Convert durations for monitoring alerts and SLA definitions.

Frequently Asked Questions

How many milliseconds are in a second?

1 second = 1,000 milliseconds. Milliseconds are the standard unit for API timeouts, database query durations, and animation timing in browsers.

How many seconds are in an hour?

1 hour = 3,600 seconds. That comes from 60 minutes × 60 seconds. It's one of the most common values in backend configuration — JWT expiry, OAuth token lifetimes, and rate-limit windows are frequently set to 3600 seconds.

How many seconds are in a day?

1 day = 86,400 seconds (24 hours × 60 minutes × 60 seconds). This is a standard constant for daily TTL values, cache max-age headers, and cron schedules.

What is 86400 seconds in hours?

86,400 seconds = exactly 24 hours = 1 full day. Divide by 3600 to convert: 86400 ÷ 3600 = 24. This is the most common daily TTL value in Redis and HTTP cache configurations.

How many minutes are in a day?

1 day = 1,440 minutes (24 hours × 60 minutes). In milliseconds that's 86,400,000 ms.

How do I convert seconds to minutes in JavaScript?

Divide by 60: const minutes = seconds / 60. To convert milliseconds to seconds first: const seconds = ms / 1000. Chained: const minutes = ms / 1000 / 60.

How are months and years calculated?

Months use an average of 30.436875 days (365.2425 / 12), and years use 365.2425 days to account for leap years. These are the standard Gregorian calendar averages used in most programming contexts.

What is a TTL and how is it expressed?

TTL (Time To Live) defines how long a value is cached or valid. Redis and most caches express TTL in seconds. HTTP Cache-Control headers use seconds. DNS TTL values are also in seconds.

What are common cron interval durations?

Every minute = 60s, every 5 minutes = 300s, every hour = 3600s, every day = 86400s, every week = 604800s. Use this tool to quickly sanity-check cron job configurations and rate limits.

How many milliseconds in an hour?

1 hour = 3,600,000 ms. That's 3600 seconds × 1000. JWT expiry and OAuth token lifetimes are often expressed in seconds or milliseconds depending on the library.

Related Tools

JSON Formatter Online

Format, validate, and minify JSON

Base64 Encoder Online

Encode and decode Base64 strings

URL Encoder Online

Encode and decode URL components

UUID Generator Online

Generate UUID v4 values in bulk

Hash Generator Online

Generate SHA-256 and SHA-512 hashes

Regex Tester Online

Test regular expressions with live match highlighting

JWT Decoder Online

Decode JWT tokens without verification

Diff Viewer Online

Compare two text blocks side by side

Timestamp Converter Online

Convert Unix timestamps to human-readable dates and back

YAML to JSON Converter Online

Convert YAML to JSON and JSON to YAML instantly

Prompt Formatter Online

Format prompts into OpenAI, Anthropic, and Gemini message structures

ENV File Parser Online

Parse .env files into a clean table, JSON, or export format

JSON Schema Validator Online

Validate JSON against a JSON Schema with detailed error messages

JSON Schema Generator Online

Generate JSON Schema from example JSON instantly

Token Counter Online

Count tokens for GPT-4, Claude, and Gemini models instantly

CSV to JSON Converter Online

Convert CSV data to JSON — paste, upload, or download

Number Base Converter Online

Convert numbers between binary, octal, decimal, and hexadecimal

File Size Converter Online

Convert between B, KB, MB, GB, TB (SI) and KiB, MiB, GiB, TiB (IEC binary)

Unix Permissions Calculator Online

Convert between numeric (755) and symbolic (rwxr-xr-x) Unix file permissions