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)
Converted duration
1.5 h
Seconds conversion trail
90 min -> 5400 s -> 1.5 h; 1 min = 60 s, 1 h = 3600 s

Embed this calculator

Copy a free iframe snippet for articles, learning pages, forums, wikis, newsletters, and internal docs.

How It Works

Formula

r=v×ffromftor = v \times \dfrac{f_{\text{from}}}{f_{\text{to}}}

Variables, symbols and units

vv

Input duration

rr

Converted duration

ffromf_{\text{from}}

Seconds per source unit(s)

ftof_{\text{to}}

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.

References and source material

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

Frequently Asked Questions

How does this time unit converter work?
Each supported unit is defined as an exact fixed number of seconds. The calculator converts your source value into seconds first, then divides by the target-unit factor and shows that same path in the result area.
When should I use Hours Between or Date Difference instead?
Use Hours Between or Date Difference when your problem starts with actual dates or timestamps. Those tools measure elapsed time between real moments; this page only restates one duration you already know.
Why are months and years missing?
Months and years are intentionally excluded because they are calendar units, not fixed-duration units. This page stays in exact units only: ms, s, min, h, day, and week.
What does this page not do?
It does not handle time zones, daylight-saving shifts, business days, countdowns, or calendar arithmetic. It also does not figure out elapsed time from dates or timestamps.
Why does the number get larger or smaller after conversion?
The duration stays the same while the unit size changes. Smaller target units need more counted units, so the number grows; larger target units need fewer, so the number shrinks.

Related Calculators

All calculators