Binary NOT
Result
—
Binary NOT
Perform bitwise NOT on a binary value.
Conversion formula
Bitwise NOT (one's complement): Flip each bit in the input: NOT(0) = 1, NOT(1) = 0. For an N-bit value x, NOT(x) = (2^N - 1) XOR x Example (4-bit): Input: 1010 Output: 0101 Example (32-bit IPv4-style): Input: 00000000000000000000000000001101 (13) Output: 11111111111111111111111111110010 (bitwise NOT of 13)