Time Converter.

Convert between milliseconds, seconds, minutes, hours, days, weeks and years.

ms
Copied ✓
s
Copied ✓

Reference Table

ms s min hr day wk mo yr
10.0010.00001666672.777778e-71.157407e-81.653439e-93.802571e-103.168809e-11
100.010.00016666670.00000277781.157407e-71.653439e-83.802571e-93.168809e-10
1000.10.00166666670.00002777780.00000115741.653439e-73.802571e-83.168809e-9
100010.01666666670.00027777780.00001157410.00000165343.802571e-73.168809e-8
10000100.16666666670.00277777780.00011574070.00001653440.00000380263.168809e-7
1000001001.6666670.02777777780.00115740740.00016534390.00003802570.0000031688
1000000100016.6666670.27777777780.01157407410.00165343920.00038025710.0000316881

Units in this converter

msMillisecond
sSecond
1 ms = 0.001s
minMinute
1 ms = 0.00001667min
hrHour
1 ms = 2.7778e-7hr
dayDay
1 ms = 1.1574e-8day
wkWeek
1 ms = 1.6534e-9wk
moMonth (avg)
1 ms = 3.8026e-10mo
yrYear
1 ms = 3.1688e-11yr

Understanding time conversion

A time converter changes a duration from one unit into another — hours to minutes, days to hours, or seconds to weeks. It is useful for project planning, calculating billable hours, reading timeouts and durations in software, and answering the everyday "how many days is that?" questions. This tool covers milliseconds, seconds, minutes, hours, days, weeks, months and years.

The formula. Every value passes through one base unit, the second. The factors are 1 minute = 60 s, 1 hour = 3,600 s, 1 day = 86,400 s and 1 week = 604,800 s. Months and years need care: a calendar month varies from 28 to 31 days, so this converter uses the average month of 30.44 days (2,629,800 s) and the Julian year of 365.25 days (31,557,600 s), which accounts for leap years. Use exact calendar dates rather than these averages when the specific month matters.

Worked example. A 90-minute meeting is 90 × 60 = 5,400 seconds, or 1.5 hours. A 30-day billing period is 30 × 86,400 = 2,592,000 seconds, which is about 4.29 weeks. And a one-million-second countdown works out to 1,000,000 ÷ 86,400 ≈ 11.57 days.

Where it's used. Time conversion appears in payroll and timesheets, cooking and fermentation schedules, subscription and warranty periods, and constantly in software — cache lifetimes, session timeouts and API rate limits are typically specified in seconds or milliseconds while humans think in hours and days. For an exact count between two specific calendar dates, including leap years, use the date difference calculator instead.

How to convert time units

  1. Choose the unit you are converting from. This converter covers 8 units: ms, s, min, hr and 4 more.
  2. Choose the unit you want in the second dropdown, or press the swap button to reverse the direction.
  3. Type your value. The result updates as you type; there is no calculate button.
  4. Use Copy to take the number, or Share to send a link with your value already filled in.

Frequently Asked Questions

How many seconds are in a day?

A day is 86,400 seconds — 24 hours × 60 minutes × 60 seconds. A week is 604,800 seconds. Very occasionally a leap second is added to keep clocks aligned with the Earth's rotation, but everyday calculations ignore it.

How many days are in a month for this converter?

It uses an average month of 30.44 days (365.25 ÷ 12), because real calendar months run from 28 to 31 days. That average is right for estimates like "how many months is 100 days", but for an exact count between two specific dates use the date difference calculator instead.

Why is a year 365.25 days here?

That is the Julian year, which averages in the extra day added every fourth year. It gives 31,557,600 seconds per year. A common (non-leap) calendar year is 365 days, and the true tropical year is about 365.2422 days — the small remainder is why century years are usually not leap years.

How do I convert minutes to hours as a decimal?

Divide the minutes by 60. So 90 minutes = 1.5 hours and 20 minutes ≈ 0.33 hours. This is exactly how timesheets and billing systems express part-hours — 7 hours 45 minutes becomes 7.75, not 7.45.

All tools