Time Unit Converter
Convert one known duration between milliseconds, seconds, minutes, hours, days, and weeks. Built for workout blocks, project estimates, media runtimes, server logs, recipes, schedule planning, and quoted durations.
Examples
Workout block into hours
Convert a 90-minute workout or study block into hours for a schedule.
- Duration
- 90
- From unit
- Minutes (min)
- To unit
- Hours (h)
Embed this calculator
Copy a free iframe snippet for articles, learning pages, forums, wikis, newsletters, and internal docs.
How It Works
Formula
Variables, symbols and units
- Input duration
- Converted duration
- Seconds per source unit(s)
- Seconds per target unit(s)
Calculation method explained
The calculator uses seconds as the canonical base unit. It multiplies your entered duration by the source-unit factor to reach seconds, then divides by the target-unit factor. That keeps every supported pair auditable and exact.
Exact fixed definitions used by the calculator:
- 1 s = 1000 ms
- 1 min = 60 s
- 1 h = 3600 s
- 1 day = 86400 s
- 1 week = 604800 s
The calculator applies result = value × fromFactor / toFactor, using seconds as the shared base for every conversion pair.
Examples
Workout block into hours90 · Minutes (min) → 1.5 h
Convert a 90-minute workout or study block into hours for a schedule.
- Duration
- 90
- From unit
- Minutes (min)
- To unit
- Hours (h)
- Converted duration
- 1.5 h
Log timeout into seconds2,500 · Milliseconds (ms) → 2.5 s
Restate a 2500 ms timeout in seconds before checking a server log or runtime note.
- Duration
- 2,500
- From unit
- Milliseconds (ms)
- To unit
- Seconds (s)
- Converted duration
- 2.5 s
Shift estimate into days36 · Hours (h) → 1.5 day
Translate a 36-hour quote into days for project planning or staffing notes.
- Duration
- 36
- From unit
- Hours (h)
- To unit
- Days (day)
- Converted duration
- 1.5 day