Time Unit Converter
A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call
Free time unit converter. Convert nanoseconds, milliseconds, seconds, minutes, hours, days, weeks, months, years, decades and centuries, all at once.
Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.
How to use the time unit converter
- Enter an amount of time, such as 1, 90 or 0.5.
- Choose the unit it's in: nanoseconds, microseconds, milliseconds, seconds, minutes, hours, days, weeks, months, years, decades or centuries.
- Read the table. The time unit converter shows the same amount in every other unit at once, and each value has a Copy button.
Decimals and very large or very small values are fine; tiny and huge results are shown in scientific notation so nothing is lost. Everything is calculated in your browser.
Time conversion factors
| Unit | In seconds |
|---|---|
| 1 nanosecond (ns) | 0.000000001 s |
| 1 microsecond (µs) | 0.000001 s |
| 1 millisecond (ms) | 0.001 s |
| 1 second (s) | 1 s |
| 1 minute (min) | 60 s |
| 1 hour (h) | 3,600 s |
| 1 day | 86,400 s |
| 1 week | 604,800 s |
| 1 month (average) | 2,629,746 s (30.436875 days) |
| 1 year (average) | 31,556,952 s (365.2425 days) |
| 1 decade | 10 years |
| 1 century | 100 years |
The second is the base unit of time in the International System of Units (SI). Since 1967, it has been defined by atomic clocks, using the frequency of radiation from caesium-133 atoms.
Exact and average units
Seconds, minutes, hours, days and weeks convert exactly (ignoring the rare leap second added to clock time). Months and years don't have fixed lengths, so the time unit converter uses averages:
- A year is 365.2425 days, the average length of a year in the Gregorian calendar, which has 97 leap years every 400 years. A plain 365-day year and a 366-day leap year are both close to it.
- A month is one twelfth of that year: 30.436875 days. Real months run from 28 to 31 days.
These averages are right for long-term conversions, such as "how many seconds in a century" or "how many weeks in 18 months on average". For counting the days between two actual dates, use the date calculator, which knows each month's real length.
Useful conversions
- 1 day = 24 hours = 1,440 minutes = 86,400 seconds = 86,400,000 milliseconds.
- 1 week = 7 days = 168 hours = 10,080 minutes.
- 1 year (average) = 52.18 weeks = 8,765.82 hours = 525,949.2 minutes = 31,556,952 seconds.
- 1 hour = 3,600 seconds = 3,600,000 milliseconds.
- 1 million seconds ≈ 11.57 days. 1 billion seconds ≈ 31.69 years.
- 1 millisecond = 1,000 microseconds = 1,000,000 nanoseconds.
Where time conversions come up
- Programming: timeouts, cache lifetimes and timers are usually set in milliseconds or seconds. A one-day cache is 86,400 seconds; a 30-second timeout is 30,000 ms. Unix timestamps count seconds (or milliseconds) since 1 January 1970; the Unix timestamp converter turns them into dates.
- Project planning: converting estimates between hours, days and weeks. Remember that a working day is often 7.5 or 8 hours, not 24, so convert working time separately.
- Science and engineering: reaction times in microseconds, signal timings in nanoseconds, half-lives in years.
- Fitness and cooking: turning minutes into hours and back.
- Payroll and timesheets: the decimal hours converter turns 7 hours 45 minutes into 7.75 hours, and the add time calculator totals a list of durations.
- Ages and anniversaries: how many days or seconds old someone is.
Time and frequency
Time and frequency are reciprocals. Something that happens every 0.02 seconds has a frequency of 50 per second, or 50 hertz. The frequency converter converts between Hz, RPM and other frequency units and shows the matching period.
Converting by hand
To convert to a smaller unit, multiply; to convert to a larger unit, divide.
- Hours to minutes: × 60. 2.5 hours = 150 minutes.
- Minutes to hours: ÷ 60. 90 minutes = 1.5 hours.
- Seconds to days: ÷ 86,400. 1,000,000 seconds = 11.574 days.
- Weeks to days: × 7.
A common mistake is treating minutes as decimals of an hour: 1 hour 30 minutes is 1.5 hours, not 1.30 hours.
How long things take: a time duration
To find the time between two clock times (say, 9:15 to 17:40), use the time duration calculator. The time unit converter is for converting one amount of time into other units.
Time units in science
Very short and very long times have their own units:
- Nanoseconds (ns): light travels about 30 cm in one nanosecond, and computer memory operations are measured in nanoseconds.
- Microseconds (µs): used for electronics, camera shutter timings and some sensor readings.
- Milliseconds (ms): human reaction times are usually around 200–300 ms; network latency and screen refresh times are measured in ms.
- Years and centuries: geology, astronomy and history use much longer spans, from millennia (1,000 years) to millions of years.
The time unit converter handles units from nanoseconds to centuries, with tiny or huge values shown in scientific notation.
Leap seconds and calendar time
Clock time is kept close to the Earth's rotation, which isn't perfectly steady. To keep them in step, leap seconds have occasionally been added to Coordinated Universal Time (UTC), most recently at the end of 2016. International timekeeping bodies have agreed to stop adding leap seconds by 2035. For almost every everyday purpose, a minute is exactly 60 seconds, which is what the time unit converter uses.
Different kinds of year
- Calendar year: 365 days, or 366 in a leap year.
- Gregorian average year: 365.2425 days, used by this converter.
- Julian year: exactly 365.25 days, used in astronomy for light-years.
- Tropical (solar) year: about 365.2422 days, the time from one spring equinox to the next.
The differences are small, but over centuries they add up, which is why the Gregorian calendar skips some leap years.
Time in spreadsheets
Spreadsheets store times as fractions of a day: 12:00 is 0.5, and one hour is 1/24. To convert a time cell to hours, multiply by 24; to minutes, multiply by 1,440; to seconds, multiply by 86,400. Format the result as a number rather than a time to see it.
Converting working time
Working time often uses different "days" and "weeks" from calendar time. A working day might be 7.5 or 8 hours, and a working week 37.5 or 40 hours. If a task takes 60 working hours at 8 hours a day, it takes 7.5 working days, not 2.5 calendar days. The time unit converter uses 24-hour days and 7-day weeks, so divide working hours by your working day length for project estimates instead.
Quick mental conversions
Some shortcuts for converting time in your head:
- Minutes to hours: divide by 60. A quick check is that 15 minutes is a quarter, 20 minutes a third, 30 minutes a half and 45 minutes three quarters of an hour.
- Hours to days: divide by 24. 36 hours is a day and a half; 72 hours is three days.
- Days to weeks: divide by 7. 30 days is 4 weeks and 2 days.
- Weeks to months: a month averages about 4.35 weeks, not 4, which is why "4 weeks" and "1 month" aren't the same when budgeting or scheduling.
- Seconds in a day: 86,400, which is worth remembering for programming and data work.
When accuracy matters, check the result in the time unit converter, which uses exact factors.
Converting durations for reports
When reporting durations, choose the unit your readers understand best. Support response times read well in hours, project timelines in days or weeks, and system performance in milliseconds. Convert with the time unit converter, then round sensibly: "about 3.5 days" is clearer than "302,400 seconds".
Time zones are separate
Converting units of time is different from converting between time zones. An hour is always 3,600 seconds, but the clock time in another city depends on its time zone and daylight saving rules. The time unit converter handles durations; for the time on the clock somewhere else, use a world clock or time zone tool.
A worked example
A developer is setting cache lifetimes for a website. She enters 1 day into the time unit converter and gets 86,400 seconds, 1,440 minutes and 86,400,000 milliseconds, so she sets the cache header to max-age=86400.
Next, an API's rate limit resets every 900,000 milliseconds. She switches the unit to milliseconds and enters 900,000: it's 15 minutes.
Finally, out of curiosity, she enters 1 billion seconds: about 31.69 years (using the average Gregorian year), which she shares in the team chat.
Need more customers from Google?
This tool is free and runs in your browser. If your business also needs more leads or sales, Google Ads is where people search with their wallet out. DeepRit manages Google Ads for small and mid-size businesses, and only Google Ads. We check your account before we ever get on a call, then fix the structure, the keywords, the tracking and the ads, with month-to-month terms and no long contract. Book a free audit call.
Frequently asked questions
How many seconds are in a day?
86,400: 24 hours × 60 minutes × 60 seconds.
How many seconds are in a year?
31,556,952 for an average Gregorian year of 365.2425 days, or 31,536,000 for a 365-day year.
How many days are in a month?
Between 28 and 31. The time unit converter uses the average, 30.436875 days.
How do I convert milliseconds to seconds?
Divide by 1,000. 1,500 ms is 1.5 seconds.
How many weeks are in a year?
About 52.18 weeks: 52 weeks plus 1 or 2 days.
Is the time unit converter free?
Yes. It's free, needs no sign-up, and works in your browser.
Free PPC audit
See where your ad budget leaks.
We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.