Logic gates
Explore the fundamental building blocks of digital electronics with our interactive logic gate simulator!
Interactive Gate Visualization:
Dynamically visualize the input and output signals of each gate (AND, OR, NOT, NAND, NOR, XOR, XNOR). Observe how the output changes in real-time as you modify the input signals by clicking on the gate inputs.Truth Tables:
Refer to the truth table for each gate to understand its Boolean function and expected output for all possible input combinations.Learn by Interacting:
Gain a deeper understanding of how logic gates operate by experimenting with different input combinations and observing the resulting output signals.Start Exploring Now!
Click on a gate input to begin your interactive learning journey.
AND Gate
&
| A | B | OUT |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |
OR Gate
≥1
| A | B | OUT |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 1 |
NAND Gate
&̅
| A | B | OUT |
|---|---|---|
| 0 | 0 | 1 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
NOT Gate
1
| A | OUT |
|---|---|
| 0 | 1 |
| 1 | 0 |
NOR Gate
≥̅1
| A | B | OUT |
|---|---|---|
| 0 | 0 | 1 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 0 |
XOR Gate (Exclusive OR)
=1
| A | B | OUT |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
XNOR Gate (Exclusive NOR)
=̅1
| A | B | OUT |
|---|---|---|
| 0 | 0 | 1 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |