Bitwise Calculator
Binary: 00001010
Binary: 00001100
Operations
AND (&)
8
00001000
OR (|)
14
00001110
XOR (^)
6
00000110
NOT (~A)
-11
1111111111111111111111111111111111111111111111111111111111110101
NAND
-9
1111111111111111111111111111111111111111111111111111111111110111
NOR
-15
1111111111111111111111111111111111111111111111111111111111110001
XNOR
-7
1111111111111111111111111111111111111111111111111111111111111001
A << 1
20
00010100
A >> 1
5
00000101
Bitwise Logic Definitions
AND (&): Result is 1 only if both bits are 1.
OR (|): Result is 1 if at least one bit is 1.
XOR (^): Result is 1 only if exactly one bit is 1.
NOT (~): Inverts all bits (Operation performed on Value A).
NAND: Inverse of AND.
NOR: Inverse of OR.
XNOR: Inverse of XOR (bits are same).