Online Bitwise Operations Calculator
Online Bitwise Operations Calculator is a free tool to perform bitwise operations on binary, hexadecimal,decimal, and octal numbers.
Tips: Press the
Tab
key to indent the result display.
Bitwise Operations
&
— bitwise AND|
— bitwise inclusive OR^
— bitwise exclusive XOR~
— bitwise NOT<<
— left shift>>
— sign propagating right shift>>>
— zero-fill right shift
Cheat Sheets
- Bit Pos Read:
(1 << pos) & n
- Bit Pos Set:
n |= 1 << pos
- Bit Pos Check:
(1 << pos) & n != 0