For example binary 1011₂ = 1·8 + 0·4 + 1·2 + 1·1 = 11. Hex (base 16) uses A–F for 10–15 and is compact for bytes; octal is base 8. To convert to a base, repeatedly divide by the base and read the remainders bottom-up.
Converting between number bases
Different bases represent the same value with different digits. This tool parses your input in the base you choose and instantly shows the binary, octal, decimal and hexadecimal equivalents. It accepts optional prefixes like 0x or 0b and validates that your digits are legal for the selected base.
Binary and hex are everywhere in computing — from RGB colors (#FF8800) to file permissions and memory addresses.