Number 13 in hexadecimal

Decimal to hex converter
Decimal Number to convert

What is number 13 in hex?

Answer

Decimal number 13 in hexadecimal is
D

0xD in code · 1 hex digit

Base 16: digits 0–9 and A–F (A = 10 … F = 15); each place is worth a power of 16.

Divide by 16, keep the remainder
divisionquotientremainder
13 ÷ 16013 = D

↑ Read the remainders from bottom to top: D

See Also

FAQ

What is number 13 in hex?

Decimal number 13 in hexadecimal is D

What is 13 in binary?

13 in binary is 1101: each hex digit of D is 4 bits — D = 1101.

How is 13 written in code?

In code (C, JavaScript, Python) hexadecimal D is written with the 0x prefix: 0xD.