Hexadecimal number 1F in decimal

"Hex to Decimal" Calculator
Hex number (without 0x)

What is 1F hex in decimal?

Answer

Hexadecimal number 1F (0x1F) in decimal is
31

Read as an unsigned hex number — A = 10 … F = 15, case does not matter, 0x is only a prefix.

Digit × place value, then add
16¹16⁰
161
1F
= 15

1×16 + 15×1 = 16 + 15 = 31

See Also

FAQ

What is 1F hex in decimal?

Hexadecimal number 1F (0x1F) in decimal is 31

What is 1F hex in binary?

1F hex in binary is 11111: each hex digit is 4 bits — 1 = 0001, F = 1111.

How many bits is 1F?

31 takes 5 bits; 2 hex digits hold 8 (0001 1111).