Convert numbers between binary, decimal, hexadecimal, and octal. Enter a number in any base and see all four representations instantly.
Multiply each bit by 2 raised to its position counting from right starting at 0, then sum all results.
Repeatedly divide by 2 and record the remainders. Read the remainders from bottom to top.
Representing binary data compactly — each hex digit represents exactly 4 binary bits. Used in memory addresses and colour codes.
256 values ranging from 0 to 255. This is why RGB colour channels use 0-255.
A method for representing negative integers in binary where -1 in 8 bits is all ones. It makes arithmetic work correctly for negative numbers.