AND vs NAND vs OR vs NOR gates | AND,NAND,OR,NOR gate

This page on AND vs NAND vs OR vs NOR gates mentions truth table and logic symbols of AND,NAND,OR and NOR gate.

Almost all the digital logic ciruits are built using basic logic gates such as AND and OR gates. NAND and NOR is derived from AND and OR respectively.

• The inputs (input-1, input-2) can be considered as logical (True or False) values. • We can also think of the inputs as voltage (True) or Ground (False). • The output of the gate will also be voltage (true) or ground (false) (true) or ground (false).

AND Logic Gate Symbol and Truth Table

AND logic gate Figure:1 AND gate logic symbol

The AND gate is an electronic circuit which gives a true output(1) only if all its inputs are true. A dot(•) is used to show the AND operation i.e. A•B. The figure-1 depicts AND logic gate symbol and table-1 below mentions truth table of AND gate.


Input-1 Input-2 Output
0 0 0
0 1 0
1 0 0
1 1 1
Table:1 AND gate truth table

NAND Logic Gate Symbol and Truth Table

NAND logic gate Figure:2 NAND gate logic symbol

This is basically a NOT-AND gate which is equal to an AND gate followed by a NOT gate. The outputs of all NAND gates are true if any of the inputs are false. The Symbol is an AND gate with a small circle on the output terminal. The small circle represents inversion. The figure-2 depicts NAND logic gate symbol and table-2 below mentions truth table of NAND gate.


Input-1 Input-2 Output
0 0 1
0 1 1
1 0 1
1 1 0
Table:2 NAND gate truth table

OR Logic Gate Symbol and Truth Table

OR logic gate Figure:3 OR gate logic symbol

The OR gate is an electronic circuit which gives a true output(1) if one or more of its inputs are true. A plus is used to show the OR operation. The figure-3 depicts OR logic gate symbol and table-3 below mentions truth table of OR gate.


Input-1 Input-2 Output
0 0 0
0 1 1
1 0 1
1 1 1
Table:3 OR gate truth table

NOR Logic Gate Symbol and Truth Table

NOR logic gate Figure:4 NOR gate logic symbol

This is basically a NOT-OR gate which is equal to an OR gate followed by a NOT gate. The outputs of all NOR gates are false if any of the inputs are true. The symbol is OR gate with small circle on the output. The small circle represents inversion. The figure-4 depicts NOR logic gate symbol and table-4 below mentions truth table of NOR gate.


Input-1 Input-2 Output
0 0 1
0 1 0
1 0 0
1 1 0
Table:4 NOR gate truth table

What is Difference between

difference between FDM and OFDM
Difference between SC-FDMA and OFDM
Difference between SISO and MIMO
Difference between TDD and FDD
Difference between 802.11 standards viz.11-a,11-b,11-g and 11-n
OFDM vs OFDMA
CDMA vs GSM
Bluetooth vs zigbee
Fixed wimax vs mobile

RF and Wireless Terminologies