Time Unit Converter
Converts a duration into every other time unit at once, from nanoseconds up to years. Enter a number and a unit, such as "90 minutes" or "1.5 h".
Converts a duration into every other time unit at once, from nanoseconds up to years. Enter a number and a unit, such as "90 minutes" or "1.5 h".
Units accepted are ns, us, ms, s, min, h, d, wk, mo, and yr, along with their full names and common short forms.
Use cases
- Turning a timeout in milliseconds into something readable
- Working out how many hours a number of weeks comes to
Examples
Ninety minutes
90 minutes
{"ns": 5400000000000.0, "us": 5400000000.0, "ms": 5400000.0, "s": 5400.0, "min": 90.0, "h": 1.5, "d": 0.0625, "wk": 0.008929, "mo": 0.002053, "yr": 0.000171}FAQ
Is my data sent to a server?
Yes — the conversion runs on the server for this tool.
How long is a month or a year here?
A year is the average Gregorian year of 365.2425 days, and a month is a twelfth of that. Neither has a fixed length, so any conversion involving them is an average rather than an exact figure.
Can I enter a negative duration?
Yes. Negative values convert normally, which is useful for offsets.