4 in Hexadecimal 0x4 Hex (base 16) Copy 4 = 0x4 (hex) = 100 (binary). Frequently Asked Questions What is 4 in hex?0x4.