Time Unit Converter
Convert between time units (seconds, minutes, hours, days).
Convert between units of time: nanoseconds, microseconds, milliseconds, seconds, minutes, hours, days, weeks, months and years. Enter a value and unit to see all the others at once. Months and years use average Gregorian lengths (a year is 365.2425 days), which is right for averages and rates; for the exact span between two dates, use a date calculator.
1 hour, 30 minutes
| Nanoseconds | 5,400,000,000,000 | |
|---|---|---|
| Microseconds | 5,400,000,000 | |
| Milliseconds | 5,400,000 | |
| Seconds | 5,400 | |
| Minutes | 90 | |
| Hours | 1.5 | |
| Days | 0.0625 | |
| Weeks | 0.008929 | |
| Months (30.44 days) | 0.002053 | |
| Years (365.2425 days) | 0.000171 | |
| Decades | 0.000017 | |
| Centuries | 0.000002 |
Months and years use average Gregorian lengths (a year is 365.2425 days). For the exact span between two dates, use the date difference calculator.
Common use cases
- Convert milliseconds from logs or code into seconds or minutes
- Work out how many seconds are in a week or a year
- Convert durations for timeouts, caches and schedules
How to use
- Enter a value.
- Choose its unit.
- Read the equivalents.
FAQ
How many seconds are in a year?
31,556,952 using the average Gregorian year; a common year of 365 days has 31,536,000.
Why not use 30 days for a month?
An average month is 30.44 days. Using 30 makes a year come out five days short.
Related tools
- Bandwidth CalculatorCalculate bandwidth and transfer times.
- Data Unit CalculatorConvert between data units (KB, MB, GB, TB).
- Cron Expression BuilderBuild cron expressions with interactive UI.
- Regex Cheat SheetRegular expression syntax reference with a live tester: click any token to see what it matches.
- Cron Expression ParserParse cron expressions to human-readable format.
- File Metadata ViewerView file metadata and properties.