← All tools

Bitwise Calculator

Perform bitwise operations — AND, OR, XOR, NOT, shifts, and two's-complement add/subtract — on integers entered in binary, octal, decimal or hexadecimal, at a chosen bit width (8, 16, 32 or 64). Results are shown in all four bases plus signed decimal. Operands and the result are masked to the selected width so the behaviour matches real fixed-width hardware. Everything runs locally in your browser.

Operand values in every base (at selected width)