Converters
Time Unit Converter
Convert ns, µs, ms, seconds, minutes, hours, days, and weeks.
Time Unit Converter tool
Loading tool…
Jump to a section
About This Tool
Convert a fixed duration between subsecond units, seconds, minutes, hours, days, and weeks. This tool is useful for code timings, media lengths, timesheets, schedules, and scientific measurements when the input is an elapsed amount rather than a clock time or calendar interval. Calculations run locally in your browser.
How To Use It
- Enter a nonnegative duration, including a decimal when needed.
- Choose the source unit, such as milliseconds, seconds, hours, or days.
- Choose the destination unit and read the converted result.
- Use the comparison table to see the same fixed duration in every supported unit.
- Use a date-aware tool instead when daylight-saving changes, months, years, or calendar boundaries matter.
Examples
1.5 hours to minutes
Multiply by 60 minutes per hour: 1.5 hours equals 90 minutes.
90,000 milliseconds to seconds
Divide by 1,000 milliseconds per second: 90,000 ms equals 90 seconds.
2 days to hours
Using fixed 24-hour days, 2 days equals 48 hours.
1 week to seconds
A fixed 7-day week contains 7 × 24 × 60 × 60 = 604,800 seconds.
Useful Notes
Fixed duration factors
The converter uses 1 minute = 60 seconds, 1 hour = 60 minutes, 1 day = exactly 24 hours, and 1 week = exactly 7 days. Subsecond units use decimal SI factors: 1 ms = 10^-3 s, 1 µs = 10^-6 s, and 1 ns = 10^-9 s.
Duration is not a clock time
A value such as 2.5 hours is an elapsed amount. It does not identify 2:30 on a clock, a timezone, or a start and end time. Use the Time Duration Calculator when comparing clock readings.
Why months and years are excluded
Calendar months have different numbers of days, years can include leap days, and real local days can be affected by timezone transitions. A single exact scale factor would hide those assumptions, so this converter stops at fixed 7-day weeks.
24-hour days versus calendar days
Here a day always means 86,400 seconds. A local calendar day can be 23 or 25 hours around a daylight-saving transition, so use dated timezone-aware calculations for real events that cross such a change.
Scope and precision
This tool converts units and does not add durations to dates, count business days, or interpret timestamps. Displayed values are rounded for readability while calculations use JavaScript double-precision numbers.
FAQ
How many seconds are in one hour?
One hour contains exactly 3,600 seconds.
How do I convert minutes to decimal hours?
Divide minutes by 60. For example, 90 minutes equals 1.5 hours.
How many milliseconds are in one second?
One second contains exactly 1,000 milliseconds.
Does one day always equal 24 hours?
In this fixed-unit converter, yes. A real local calendar day can differ during a daylight-saving transition, so date and timezone calculations need separate rules.
Can this convert months or years to seconds?
No. Months and years do not have one fixed duration. Use actual start and end dates when calendar accuracy matters.