Bitwise Calculator
AND / OR / XOR
Bit Shift / NOT
Try these examples:
5 << 2
20 >> 2
1010 << 1
0xFF >> 4
Input Format
Binary (Base-2)
Decimal (Base-10)
Hexadecimal (Base-16)
Bit Width
Auto
8-bit
16-bit
32-bit
64-bit
Number
Shift Amount (1-64)
<< Shift Left
>> Shift Right
Calculate All
Tip:
Left shift multiplies by powers of 2 (fast multiplication). Right shift divides by powers of 2 (fast integer division). NOT inverts all bits within the specified bit width.