Skip to content
gg
coder
Home
Apps
Games
Tools
Docs
Find Me
Toggle theme
Tools
Generators
Bitwise Calculator
Built: 6/25/2026, 3:03:36 PM
Bitwise Calculator
Perform bitwise operations. Supports decimal,
0x
hex,
0o
octal, and
0b
binary input.
Input A
= 42 dec / 0x0000002A / 0o52
Input B
= 15 dec / 0x0000000F / 0o17
Operation
&
AND
|
OR
^
XOR
~
NOT ~A
~(&)
NAND
~(|)
NOR
~(^)
XNOR
<<
Left Shift
>>>
Right Shift
A (click bits to toggle)
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
1
0
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
B (click bits to toggle)
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Result: A & B
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
Result
Decimal
10
Hexadecimal
0x0000000A
Octal
0o12
Binary (32-bit)
0000 0000 0000 0000 0000 0000 0000 1010