Bitwise Calculator (AND, OR, XOR)
Compute AND, OR, XOR, NOT, and bit-shift operations between two integers, with binary output.
Bitwise Logic Operations Mathematics
Bitwise calculator computes AND, OR, XOR, NOT, and bit-shift operations between two integers, with binary output.
Bitwise operations compare two numbers bit-by-bit in their binary representation. AND returns 1 only where both bits are 1; OR returns 1 where either bit is 1; XOR returns 1 where exactly one bit is 1.
- 1Enter two integers, A and B.
- 2View the result of AND, OR, XOR, NOT, and left/right bit-shift operations.
Compare 45 (binary 101101) and 27 (binary 011011) using bitwise operations.
Frequently Asked Questions (FAQ)
AND requires both bits to be 1 to produce a 1 (used for "masking" specific bits). OR produces a 1 if either bit is 1 (used for "setting" specific bits).
Shifting left by 1 bit (A << 1) doubles the value β it's mathematically equivalent to multiplying by 2. Shifting right by 1 bit halves the value (integer division by 2).
Top Similar Tools (Math)
Explore more tools in Math (83+ more calculators available)
Browse our complete directory with category filters, formulas, and verified engines.