Mathematics · Interactive tool
Fixed-Width Bit Operations
Calculate unsigned bitwise logic, shifts and rotations.
Your inputs
Result
Calculated output
Enter inputs to calculate.
Operands are unsigned integers with w bits. AND, OR and XOR combine corresponding bits; NAND and NOR invert within the w-bit mask.
Shifts insert zeros and discard overflow. Rotations wrap bits around; rotation count is k mod w. These are unsigned, fixed-width operations.