All Tools
T

Bitwise Operations Calculator

Evaluate fixed-width two's complement bitwise math in decimal, binary, and hex without JavaScript's 32-bit number coercion.

This calculator uses explicit fixed-width semantics for AND, OR, XOR, NOT, and shifts. Negative values are normalized with two's complement before every operation.

Width is mandatory because signed values, NOT, and right shifts depend on it.

Result

Signed and unsigned decimals are both shown for the same width-constrained bit pattern.

Enter valid values to render the width-normalized result, binary row, and signed versus unsigned interpretations.