18 in Hexadecimal 0x12 Hex (base 16) Copy 18 = 0x12 (hex) = 10010 (binary). Frequently Asked Questions What is 18 in hex?0x12.