Skip to main content

Bitwise Calculator

Math & Logic

Perform bitwise operations (AND, OR, XOR, NOT, shifts) on integers with binary visualization and multi-base output.

Result will appear here...
📖 Usage Guide

Performs bitwise operations on two integers and shows the result in decimal, binary, and hex with bit visualization.

  • AND (&) — both bits must be 1
  • OR (|) — either bit is 1
  • XOR (^) — exactly one bit is 1
  • NOT (~) — flips all bits (uses only A)
  • << — shift left by B positions
  • >> — shift right by B positions
A: 170 (10101010) B: 85 (01010101) AND: 0 (00000000) OR: 255 (11111111) XOR: 255 (11111111)