Why this tool is useful
Use this calculator to verify flags, permissions, register values and protocol fields when JavaScript's signed 32-bit bitwise coercion would otherwise hide the intended fixed-width result.
Apply AND, OR, XOR, NOT and logical shifts to unsigned 8-, 16-, 32- or 64-bit integers with padded binary and hexadecimal output.
Ready. Your working data stays in this browser.
Use this calculator to verify flags, permissions, register values and protocol fields when JavaScript's signed 32-bit bitwise coercion would otherwise hide the intended fixed-width result.
Both operands are parsed as bounded BigInt values, the selected operation is applied at the requested width, and every result is masked before decimal, hexadecimal and binary rendering.
At 8 bits, 42 AND 15 produces decimal 10, hexadecimal 0x0A and binary 00001010; NOT 42 produces 213 rather than an unbounded negative value.
The calculation is deterministic and explains validation errors instead of silently changing invalid input.
Input and output remain in this tab. Copy and download happen through browser APIs without a server upload.
Every run reports its tool mode, timestamp and input/output size so transformed data can be audited.