Binary Bitwise Calculator & Bit Inspector

Perform bitwise operations (AND, OR, XOR, NOT, Shifts), view 32-bit registers, and count active bits.

Boolean Logic Gates & Bitwise Operations

Bitwise operators manipulate individual bits of binary numbers. They are fundamental in system programming, networking masks, cryptography, graphics rendering, and embedded systems.

Bitwise Truth Table

ABAND (&)OR (|)XOR (^)
00000
01011
10011
11110

Step-by-Step Worked Examples

Example: 42 AND 15

42 = 0010 1010₂
15 = 0000 1111₂
42 & 15 = 0000 1010₂ = 10 (Hex 0xA).

Frequently Asked Questions

What is Hamming weight?

Hamming weight is the total number of non-zero bits (1s) in a binary string (also known as population count or popcount).