Bitwise Tools
π’ Bitwise Tools
Complete Bitwise Operation Calculators for Digital Logic & Programming
π Quick Reference - Bitwise Operations
| AND (&) | Returns 1 if both bits are 1 | OR (|) | Returns 1 if at least one bit is 1 |
| XOR (^) | Returns 1 if bits are different | NAND | Returns 0 if both bits are 1 (NOT AND) |
| NOR | Returns 1 if both bits are 0 (NOT OR) | XNOR | Returns 1 if bits are same (NOT XOR) |
XOR Calculator
βExclusive OR - Returns 1 when bits differ
β
π Result:
Truth Table:
| A | B | β |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
AND Calculator
&Returns 1 only when both bits are 1
&
π Result:
Truth Table:
| A | B | & |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |
NAND Calculator
βΌNOT AND - Returns 0 only when both bits are 1
βΌ
π Result:
Truth Table:
| A | B | βΌ |
|---|---|---|
| 0 | 0 | 1 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
OR Calculator
|Returns 1 when at least one bit is 1
|
π Result:
Truth Table:
| A | B | | |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 1 |
NOR Calculator
β½NOT OR - Returns 1 only when both bits are 0
β½
π Result:
Truth Table:
| A | B | β½ |
|---|---|---|
| 0 | 0 | 1 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 0 |
XNOR Calculator
βExclusive NOR - Returns 1 when bits are same
β
π Result:
Truth Table:
| A | B | β |
|---|---|---|
| 0 | 0 | 1 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |
