DevToolPal
EN

Time

Days to Hours Converter

Convert days (d) to hours (h). 1 d = 24 h, and 1 h = 0.04166666667 d.

Formula

h = d × 24

How to convert

To convert days to hours, multiply the value by 24. For example, 2 d = 48 h.

Conversion table

Days (d) Hours (h)
1 d 24 h
2 d 48 h
3 d 72 h
5 d 120 h
7 d 168 h
10 d 240 h
14 d 336 h
30 d 720 h
90 d 2,160 h
365 d 8,760 h

About these units

The second is the SI unit of time. 1 second = 1,000 milliseconds, 1 minute = 60 seconds, 1 hour = 60 minutes = 3,600 seconds and 1 day = 24 hours = 86,400 seconds. Programming APIs use milliseconds (JavaScript's Date.now(), timeouts) or seconds (Unix timestamps), so mixing them up is a common off-by-1,000 bug. Days with a daylight saving change last 23 or 25 hours; this converter uses fixed 24-hour days.

FAQ

› How do I convert d to h?

1 d = 24 h. To convert, multiply the value by 24: 2 d = 48 h.

› What is 1 h in d?

1 h = 0.04166666667 d. The reverse formula is d = h ÷ 24.

› How many milliseconds are in a minute?

60,000. A minute has 60 seconds and each second has 1,000 milliseconds.

› How many seconds are in a day?

86,400 in a standard 24-hour day. Leap seconds and daylight saving changes are ignored here.