Time Duration Converter
Convert time durations across all common units — from nanoseconds in computing to years in planning. Enter any duration and see the equivalent in seconds, minutes, hours, days, weeks, months, and years instantly.
How It Works
This time converter uses the second (s) as its base unit, which is the SI base unit for time. Every other time unit stores a factor equal to its number of seconds. Converting from hours to minutes, for example, multiplies by 3,600 (seconds per hour) then divides by 60 (seconds per minute) to arrive at 60 minutes.
The second itself is now defined with extreme precision: since 1967, one second is the duration of 9,192,631,770 periods of the radiation corresponding to the transition between two hyperfine levels of the ground state of the caesium-133 atom. Atomic clocks based on this definition are accurate to about 1 second in 300 million years.
Calendar time units — months and years — are approximations because they vary:
• The average Gregorian calendar month = 365.2425 days ÷ 12 = 30.436875 days = 2,629,746 s.
• The mean tropical year (time for Earth to orbit the sun) = 365.24219 days = 31,556,926 s.
• This converter uses 31,556,952 s for a year (the Julian year of exactly 365.25 days), a common scientific convention.
For precise calendar calculations involving specific dates, use a dedicated date-difference tool. This converter is appropriate for approximate conversions of durations (e.g., "roughly how many seconds in a year?").
Worked example — How many seconds in a year?
1 yr × 31,556,952 s/yr = 31,556,952 s ≈ 31.6 million seconds.
A common approximation: π × 10⁷ ≈ 31,415,927 s — accurate to within 0.5%.
Worked example — Software timing:
A web server response of 250 ms = 0.25 s = 250,000 µs = 250,000,000 ns. Browser performance budgets target 16.67 ms per frame (60 fps) — that is 16,666,667 nanoseconds.
Worked example — Project planning:
18 months = 18 × 2,629,746 s ÷ 86,400 s/day = 547 days ≈ 78.1 weeks.
Worked example — Historical timescales:
The Roman Empire lasted roughly 500 years in the West. In days: 500 × 365.25 = 182,625 days.
Nanosecond (ns) and microsecond (µs) conversions are particularly relevant in electronics, networking, and computing. CPU speeds in GHz mean operations happening billions of times per second — at 3 GHz, each clock cycle is about 0.33 ns.
Frequently Asked Questions
How many seconds are in a day?
86,400 seconds in a day. The calculation: 24 hours × 60 minutes/hour × 60 seconds/minute = 86,400 s. Leap seconds occasionally adjust UTC clocks, but for everyday duration conversions this figure is used.
How many hours are in a year?
Approximately 8,765.8 hours in a mean calendar year (365.2425 days × 24). Exactly 8,760 hours in a common year (365 days) and 8,784 hours in a leap year (366 days).
What is a microsecond?
One microsecond (µs) = one millionth of a second (0.000001 s = 1×10⁻⁶ s). Light travels about 300 meters in one microsecond. Network ping times and CPU interrupt handlers operate in the microsecond range.
How many weeks in a year?
A common year has 52 weeks and 1 day (52.143 weeks), while a leap year has 52 weeks and 2 days (52.286 weeks). The ISO 8601 week calendar always has 52 or 53 weeks per year.
Why do months and years give approximate results?
Calendar months vary from 28 to 31 days, and years can be 365 or 366 days. This tool uses the mean values: 2,629,746 s per month and 31,556,952 s per year. For exact date-based calculations, use a date-difference calculator.