DevTab

Bitwise Calculator

Never leaves your browser

Compute AND, OR, XOR, NOT, and shift operations on 32-bit integers with binary/hex visualization.

Bits set in both A and B

A

Dec: 42Hex: 0x2AOct: 0o52Bin: 101010
00000000000000000000000000101010

B

Dec: 15Hex: 0xFOct: 0o17Bin: 1111
00000000000000000000000000001111

Result: A & B

Decimal: 10Hex: 0xAOctal: 0o12Binary: 1010
00000000000000000000000000001010