Bitwise Calculator

Free online bitwise calculator. AND, OR, XOR, NOT, left shift, right shift on binary, octal, decimal, and hex. Big numbers supported. No signup, perfect for programmers.

Bitwise Calculator

AND, OR, XOR, NOT, left shift, right shift on binary, octal, decimal, hex. Free, no signup, perfect for programmers.

Quick reference
& AND — bit is 1 only if both inputs are 1
| OR — bit is 1 if either input is 1
^ XOR — bit is 1 if inputs differ
~ NOT — inverts all bits
<< n Left shift — multiply by 2^n
>> n Right shift — divide by 2^n

How to Use the Bitwise Calculator

  1. 1Enter two numbers and choose their base (decimal, binary or hex).
  2. 2Select the bitwise operation — AND, OR, XOR, NOT or shifts.
  3. 3The result shows in all bases side-by-side with a bit-level visualisation.
  4. 4Toggle the bit-width (8/16/32-bit) to see how overflow and sign bits behave.

Frequently Asked Questions