Tested tool guide
Tested browser tools
Checked August 16, 2026
What Bitwise Operation Calculator does, with a checked example
Takes up to two values in binary, hex, or decimal - or one value for NOT, shifts, and rotations - applies a bitwise operator bit by bit, and shows the result in every base plus a bit grid that lines each operand up by place value. You can trace which input bit produced which output bit. The usual surprise is NOT: it flips every bit, it is not negation. On 8 bits, NOT 0x0F is 0xF0, while negation of the same value is 0xF1, because two's complement is NOT plus 1. Width decides what NOT, shifts, and rotations return, so set it deliberately.
Worked example
A concrete input and expected output from the current implementation.
->
Expected output
0xFF (binary 11111111, decimal 255)
A5 hex is binary 10100101 and 5A is 01011010. XOR sets a bit only where the two operands differ; every position differs, so the result is 11111111, which is FF hex and 255 decimal.