Bitwise Calculator

Apply bitwise operations to whole numbers and view decimal, binary, and hexadecimal results.

Result

Bitwise operations

AND keeps bits set in both operands. OR keeps bits set in either operand. XOR keeps bits that differ, while NOT flips every bit in the signed integer representation.

Shifts

A left shift moves bits toward higher place values and commonly multiplies by a power of two. A right shift moves signed values toward lower place values.

Large integers

The calculator uses browser big integers rather than limiting operations to JavaScript’s usual 32-bit bitwise values.