Bitwise Calculator
AND / OR / XOR
Bit Shift / NOT
Try these examples:
12 & 10
5 | 3
1010 ^ 1100
0xFF & 0xAA
Input Format
Binary (Base-2)
Decimal (Base-10)
Hexadecimal (Base-16)
Bit Width
Auto
8-bit
16-bit
32-bit
64-bit
First Number (A)
Second Number (B)
& AND
| OR
^ XOR
Calculate All
Tip:
Enter numbers in your chosen format. For binary use only 0 and 1. For hexadecimal use 0-9 and A-F. Results are shown in all three formats with visual bit diagrams.