Conversion

Milliseconds to days (ms to day) converter

Settings
Reset
Share
Save
Embed
Report a bug

Share calculator

Add our free calculator to your website

Source

Please enter a valid URL. Only HTTPS URLs are supported.

Styling

Input border focus color, switchbox checked color, select item hover color etc.

Advanced

Please agree to the Terms of Use.

Preview

Save calculator

Calculator Settings

Please enter a value within the allowed range.

Please enter a value within the allowed range.

Please enter a value within the allowed range.

Please enter a value within the allowed range.

Share calculator

What is a milliseconds to days converter?

A milliseconds to days converter is an online tool that translates a duration expressed in milliseconds into the equivalent number of days, and vice versa. The millisecond is a tiny unit of time, equal to one thousandth of a second, and it is the heartbeat of most computer systems: timestamps, log entries, animation frames, and performance measurements are routinely stored in milliseconds. A day, by contrast, is a human-scale unit. Bridging the two by hand means juggling a chain of conversions through seconds, minutes, and hours, which is exactly where this converter helps.

Because the tool works both ways, you can type a value into either field. Enter a millisecond count to see how many days it represents, or enter a day count to find out the matching number of milliseconds.

How it works

There are exactly 86,400,000 milliseconds in a single day. That figure comes from chaining the standard time units together: 1 day has 24 hours, each hour has 60 minutes, each minute has 60 seconds, and each second has 1,000 milliseconds. Multiplying these together gives 24 × 60 × 60 × 1,000 = 86,400,000.

To go from milliseconds to days you divide by 86,400,000. To go the other way, from days back to milliseconds, you multiply by 86,400,000. The converter applies this constant for you and updates the opposite field as soon as you type, so you never have to remember the number.

Formula

To convert milliseconds to days, divide the millisecond value by 86,400,000:

days=milliseconds86,400,000\text{days} = \frac{\text{milliseconds}}{86{,}400{,}000}

To convert days to milliseconds, multiply the day value by 86,400,000:

milliseconds=days×86,400,000\text{milliseconds} = \text{days} \times 86{,}400{,}000

Milliseconds to days conversion table

The table below lists common millisecond values and their day equivalents based on 86,400,000 milliseconds per day.

Milliseconds (ms)Days
86,400,0001
172,800,0002
259,200,0003
432,000,0005
604,800,0007
864,000,00010
43,200,0000.5
3,600,0000.0416667
1,0000.0000115741

Examples

Example 1: 86,400,000 milliseconds to days

Convert 86,400,000 milliseconds to days by dividing by 86,400,000:

86,400,00086,400,000=1 day\frac{86{,}400{,}000}{86{,}400{,}000} = 1 \text{ day}

So 86,400,000 milliseconds is exactly 1 day.

Example 2: 1 day to milliseconds

Convert 1 day to milliseconds by multiplying by 86,400,000:

1×86,400,000=86,400,000 ms1 \times 86{,}400{,}000 = 86{,}400{,}000 \text{ ms}

A single day contains 86,400,000 milliseconds.

Example 3: half a day to milliseconds

Convert 0.5 day to milliseconds:

0.5×86,400,000=43,200,000 ms0.5 \times 86{,}400{,}000 = 43{,}200{,}000 \text{ ms}

Half a day is 43,200,000 milliseconds.

Example 4: 2 days to milliseconds

Convert 2 days to milliseconds:

2×86,400,000=172,800,000 ms2 \times 86{,}400{,}000 = 172{,}800{,}000 \text{ ms}

Two days add up to 172,800,000 milliseconds.

Notes

  • The conversion assumes a standard 24-hour day of 86,400,000 milliseconds and does not account for leap seconds or daylight saving time adjustments.
  • Because a day is so much larger than a millisecond, small millisecond counts produce very small fractional day values; expect many leading zeros after the decimal point.
  • Leave a field empty and no result is shown; type a value into either field to convert in that direction.
  • Milliseconds are abbreviated as “ms”; the day has no universally standardized symbol but is often written as “d”.

Frequently asked questions

How many milliseconds are in a day?

There are 86,400,000 milliseconds in one day. This comes from 24 hours × 60 minutes × 60 seconds × 1,000 milliseconds.

How do I convert milliseconds to days?

Divide the number of milliseconds by 86,400,000. For example, 172,800,000 ms ÷ 86,400,000 = 2 days.

How many milliseconds are in half a day?

Half a day equals 43,200,000 milliseconds, which is 86,400,000 divided by 2.

Does this converter account for leap seconds or daylight saving time?

No. It uses a fixed value of 86,400,000 milliseconds per day. Real calendar days can occasionally differ by an hour during daylight saving transitions or by a second when a leap second is added, but those edge cases are not part of this conversion.

Can I convert days back to milliseconds with the same tool?

Yes. The converter is bidirectional. Enter a value in the days field and the matching millisecond value appears automatically, multiplying by 86,400,000.

What does a single millisecond look like in days?

One millisecond is roughly 0.0000115741 of a day, since 1 ÷ 86,400,000 is an extremely small fraction.

Report a bug

This field is required.