๐ง Logic Gate Truth Table Generator
| A | B | Output |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |
Select a logic gate (AND, OR, XOR, NAND, NOR, XNOR, NOT) to display its standard truth table. Useful for studying or checking boolean logic in digital circuits and programming.
How to use
- Select the logic gate you want to check.
- The truth table showing output for each combination of inputs (A, B) is displayed.
FAQ
Why does NOT look different from the other gates?
NOT is a unary gate with only one input, so its truth table only has an A column, unlike the other 2-input gates.
Whatโs the difference between XOR and XNOR?
XOR outputs 1 (true) when the inputs differ, while XNOR outputs 1 (true) when the inputs match โ theyโre logical negations of each other.
What are NAND and NOR used for?
NAND and NOR are each known as "universal gates" because any boolean function can be built from just one of them, which is why theyโre common in real digital circuit design.