Bitwise NAND calculator
Apply NAND to two integers and read the result as unsigned decimal, hexadecimal, octal, and 32-bit padded binary. NAND computes AND on both 32-bit words and then inverts every bit in the result.
Universal logic
NAND is a universal logic gate: any other boolean operation can be constructed from NAND gates alone. In software it is less common than AND, OR, or XOR, but the behaviour is predictable. NAND of a value with itself is equivalent to NOT of that value.
Fixed 32-bit word
The inversion step makes the word size critical. This page fixes the word at 32 bits, so all results reflect a 32-bit unsigned NOT. Input accepts decimal, hexadecimal (0xFF), binary (0b10110010), and octal (0o377) automatically. For a different word size, use the full Bitwise Calculator.