Time Unit Converter
Convert a duration between milliseconds, seconds, minutes, hours, days, weeks and years.
Processed on your device — no upload
How to use it
- Type the duration.
- Choose its unit.
- Read every other unit at once.
How it works
Durations convert through the second. Up to the week, every factor is exact: sixty seconds to a minute, sixty minutes to an hour, twenty-four hours to a day, seven days to a week. No ambiguity anywhere.
Months and years are different, and the tool labels them honestly. A calendar month is 28, 29, 30 or 31 days. A calendar year is 365 or 366. So the month here is defined as exactly 30 days and the year as exactly 365 — the conventional averages, stated on the unit rather than hidden inside it.
That means “3 months” here is 90 days, which may not be the 3 calendar months you meant. From 31 January, three calendar months lands on 30 April — 89 days. From 1 November it lands on 1 February — 92 days. If the answer has to be a real date, use the date difference calculator, which counts actual calendar days.
This tool is for durations — timeouts, video lengths, work estimates — where an average is exactly what you want.
A worked example
A system timeout is configured as 900000 milliseconds and you want to know whether that is sensible.
Type 900000, choose millisecond: 900 seconds, 15 minutes. Reasonable for a session timeout, far too long for an HTTP request.
A project estimate. A task is quoted at 240 hours. Type it: 10 days, or 1.43 weeks. But those are 24-hour days — at eight working hours a day it is 30 working days, closer to six calendar weeks. The conversion is arithmetic; the interpretation is yours, and this is where estimates most often go wrong.
A video example. A file is 5,400 seconds long. Type it: 1.5 hours, 90 minutes. Useful when a tool reports duration in seconds and you are planning a schedule around it.
The month caveat in practice: type 1, choose year, and you get 12.17 months rather than 12. That is the 365-day year divided by the 30-day month, and it is the honest answer for averaged units. If it looks wrong, you wanted calendar arithmetic rather than duration arithmetic.
Questions
How do I convert minutes to hours?
Type the minutes and read the hours, along with seconds, days and weeks. Months and years are marked as approximate, because neither has a fixed length.
How many seconds in a day?
86,400. Sixty seconds times sixty minutes times twenty-four hours, and exact — leap seconds aside, which no ordinary calculation accounts for.
Why does a year convert to 12.17 months?
Because the year here is 365 days and the month is 30 days, and 365 divided by 30 is 12.17. Both are averages, labelled as such. Real calendar months vary from 28 to 31 days.
How long is a month in this tool?
Exactly 30 days, stated on the unit. For real calendar months use the date difference calculator, which counts actual days between two dates.
How many hours in a working month?
Around 160, assuming eight-hour days and a five-day week. This tool converts calendar time, not working time — dividing 720 hours by 8 is not the same question.
Is anything uploaded?
No. The conversion runs in your browser.
How many milliseconds in a minute?
60,000. Useful when reading configuration files, which almost always express timeouts in milliseconds.
Does it account for leap years?
No, and it says so — the year is a flat 365 days. Leap years only matter when converting between actual dates, which is a different tool.
What about leap seconds?
Not accounted for. They are occasional one-second adjustments to atomic time and are irrelevant to any duration you would type into a converter.
Related Convert tools
Length Converter
Metres, feet, miles and more
open$termiva convert 1 kg --to allWeight Converter
Kilograms, pounds, stones, ounces
open$termiva convert 25 C --to allTemperature Converter
Celsius, Fahrenheit, Kelvin
open$termiva convert 1 m2 --to allArea Converter
Square metres, acres, dunams
open