Binary Converter
Binary, decimal, hexadecimal and octal — with every step of the working shown, so you can follow how the answer is reached. Everything happens in your browser; nothing is uploaded or stored.
Convert
Enter a number.
Result
Enter a number and press Convert.
—
Step by step
How this tool works
How it converts. Binary to decimal multiplies each bit by its place value (1, 2, 4, 8…) and adds them. Decimal to another base divides by that base again and again and reads the remainders from bottom to top. Binary to hex groups bits in fours; binary to octal groups them in threes.
Signed mode. In two's complement, the leftmost bit is the sign: 8-bit 11111111 is −1, 10000000 is −128 and 01111111 is 127.
Privacy. Calculation happens entirely in your browser. Nothing is uploaded, stored or shared.
Limits. Only integers are supported; fractions are out of scope. Conversions are exact for integers up to 53 bits.