Fifty-seven pages for eight units
This topic converts between nanoseconds, microseconds, milliseconds, seconds, minutes, hours, days and weeks. Each pair has its own page, such as Milliseconds to Seconds converter, Hours to Minutes converter or Days to Hours converter, and the Time converter lets you choose both units from menus. Months and years are not among these units, which is deliberate. A month or year has no fixed length in seconds, so it cannot be converted by a single factor. The pages here cover only units whose length is fixed by definition, and every result is a plain ratio of those definitions.
How the second is defined
The second is the SI base unit of time. Since 1967 it has been tied to the cesium-133 atom, and the current SI Brochure states the definition by fixing the cesium hyperfine transition frequency at exactly 9,192,631,770 hertz. The minute, hour and day are not SI units but are accepted for use with SI: 1 min = 60 s, 1 h = 3,600 s and 1 d = 86,400 s. The week has no SI status, but seven days gives 604,800 seconds, or 168 hours. Everything on these pages follows from those exact relationships and the decimal prefixes nano, micro and milli.
The decimal ladder and the sexagesimal ladder
Below the second, units step by factors of 1,000: a millisecond is 10⁻³ s, a microsecond 10⁻⁶ s and a nanosecond 10⁻⁹ s. Above it the steps are uneven: 60, 60, 24 and 7. Seconds to hours divides by 3,600, hours to days divides by 24, and days to weeks divides by 7. Converting from nanoseconds to weeks therefore spans 15 orders of magnitude, and one nanosecond is about 1.65 × 10⁻¹⁵ of a week. That result is correct, but it shows why scientific notation is often the clearest way to read the output.
Time conversions from milliseconds to weeks
A task that takes 2.5 hours is 150 minutes or 9,000 seconds. A log shows 90,000 seconds, which is 25 hours, or about 1.0417 days. One week holds 10,080 minutes. A request that returns after 250 milliseconds took 0.25 seconds and 250,000 microseconds. At a 3 GHz clock, one cycle lasts about 0.333 nanoseconds. The pages return exact arithmetic on these factors, so you can use a simple check: hours times 60 gives minutes, and minutes times 60 gives seconds.
Where small units are used
Network and storage engineers talk in milliseconds, with ping times of 10 to 100 ms typical for regional connections. Audio at 44,100 samples per second has one sample every 22.68 microseconds. Processor and memory timings are quoted in nanoseconds, and a fast cache access can take a few nanoseconds. Science and instrumentation add shorter intervals still, but this topic stops at the nanosecond. When your value is in picoseconds or beyond, convert first to a supported unit by moving the decimal point: 800 picoseconds is 0.8 nanoseconds. Video frame rates give another familiar scale. At 60 frames per second a frame lasts 16.67 milliseconds, and at 24 frames per second about 41.67 milliseconds. Game and interface developers use these frame budgets to decide whether a computation fits before the next screen refresh, and the Milliseconds to Seconds converter turns a log of frame times into the seconds a profiler expects.
Decimal hours and clock time
The most frequent practical error is treating 1.5 hours as 1 hour and 50 minutes. Decimal hours are fractions of 60 minutes: 0.5 hours is 30 minutes, 0.25 hours is 15 minutes, and 7.75 hours is 7 hours 45 minutes. Timesheets and payroll exports usually use decimal hours, while clocks use hours and minutes. Convert the fractional part with the Hours to Minutes converter, then add the whole hours. Reading 7.45 as 7 hours 45 minutes is also wrong, as 0.45 hours is 27 minutes.
What a fixed factor leaves out
A day here is 86,400 seconds. Calendar days can differ: clocks change for daylight saving time, giving 23 or 25 hours, and occasionally a leap second has been inserted into UTC, making a minute 61 seconds long. Those adjustments belong to date arithmetic with a time zone, not to unit conversion. For durations such as a 36-hour shift, the converters give the same answer in any place. For intervals between two calendar dates, rely on tools that know the calendar. The distinction also matters when you schedule recurring work. A job that runs every 24 hours drifts against the wall clock across a daylight saving change, while a job that runs every day at 02:00 local time does not, and on the spring-forward date that local time may not exist at all. Fixed-length conversion answers how many seconds, and the calendar answers which date.
Choosing the unit that reads best
The same duration can be written many ways, and the best choice depends on the audience. A build that runs 5,400 seconds reads more naturally as 90 minutes or 1.5 hours. A battery rated for 1,440 minutes lasts exactly one day. A project estimate of 336 hours is two weeks, which a manager grasps faster. On the small side, 0.000045 seconds is clumsy, while 45 microseconds is clear. A useful habit is to pick the unit that gives a number between 1 and 1,000, then state it with its symbol: ns, µs, ms, s, min, h, d. Many errors in logs and specifications come from a missing or wrong symbol, such as writing "m" for both minutes and milliseconds.
Rounding and display
Large factors can produce long decimals. Converting 1 week to nanoseconds gives 604,800,000,000,000, and a conversion in the other direction can show very small numbers in exponent form. Keep as many digits as the source supports and round only when reporting. A stopwatch reading to the tenth of a second does not justify nanosecond precision when converted, so the extra digits carry no information even if they are mathematically correct. Spreadsheets add another trap: a cell with 0.1 seconds converted to milliseconds can show 100.00000000000001 because of binary floating point. The underlying value is fine, and rounding to the precision of the measurement removes the noise. When you chain two conversions, such as hours to minutes to seconds, convert once from the original value instead, since each step is another chance to round.
Frequently asked questions
- Why are months and years missing?
- They do not have a fixed number of seconds. A month ranges from 28 to 31 days, and a year is 365 or 366 days, so no single factor converts them.
- How many seconds are in a week?
- There are 604,800 seconds in a week, from 7 days of 86,400 seconds each.
- Do these converters account for leap seconds or daylight saving time?
- No. They use exact fixed factors: 60 seconds per minute, 3,600 per hour and 86,400 per day.
- What is 0.75 hours in minutes?
- 0.75 hours is 45 minutes, since 0.75 times 60 equals 45.