Bitwise NOT calculator
Invert every bit of a single integer and read the result as unsigned decimal, hexadecimal, octal, and 32-bit padded binary. NOT takes only one operand; the second input field is not used.
Word-size dependence
NOT does not have one universal result for a given input. The answer is determined by how many bits are in the word. On this page the word is fixed at 32 bits, so NOT 0 produces 0xFFFFFFFF (4294967295) and NOT 0xFFFFFFFF produces 0. For an 8-bit result (0xFF for NOT 0), use the full Bitwise Calculator.
Fixed 32-bit word
Input accepts decimal, hexadecimal (0xFF), binary (0b10110010), and octal (0o377) automatically. The result is always unsigned. For signed output or a different word size, use the full Bitwise Calculator.