All tools

Bitwise Calculator

Calculate AND, OR, XOR, NOT, and bit shifts for numerical inputs and inspect the resulting values.

Bitwise Calculator
Calculation result
Waiting for input

Input and result notes

Bitwise operations use JavaScript's 32-bit integer rules and truncate higher bits. Right shift preserves sign; shift counts use their low five bits, not arbitrary-precision arithmetic.