Developer Tools

Bitwise Calculator

Calculate bitwise operations with visual binary representation.

dec: 170hex: 0xAAbin: 0b10101010oct: 0o252
1
0
1
0
4
1
0
1
0
0
dec: 85hex: 0x55bin: 0b01010101oct: 0o125
0
1
0
1
4
0
1
0
1
0

Results

A & BAND
0
0
0
0
4
0
0
0
0
0
A | BOR
1
1
1
1
4
1
1
1
1
0
A ^ BXOR
1
1
1
1
4
1
1
1
1
0
~ANOT A
0
1
0
1
4
0
1
0
1
0
~BNOT B
1
0
1
0
4
1
0
1
0
0
A << 1Left Shift A << 1
0
1
0
1
4
0
1
0
0
0
A >> 1Right Shift A >> 1
0
1
0
1
4
0
1
0
1
0

🔒 This tool runs entirely in your browser. No data is sent to any server.