Binary & Hex Calculator

Science & Tech

Does arithmetic and bitwise operations in binary (BIN), octal (OCT), decimal (DEC) and hexadecimal (HEX), and shows the result in all four bases.

OperationExample (decimal)Result
AND12 AND 10 (1100 & 1010)8 (1000)
OR12 OR 1014 (1110)
XOR12 XOR 106 (0110)
<<5 << 220
>>20 >> 25

Shifting left by one bit multiplies by 2; shifting right divides by 2. In HEX, A-F stand for 10-15, so FF = 255.

Calculations use 64-bit integers; overflow or division by zero shows no result.

Results are for information only. For tax, salary, loan or health decisions, check official sources or ask a professional.

All Science & Tech tools