NAND Gate

A NAND gate inverts the AND function: output is 0 only when every input is 1, otherwise 1. NAND is universal — every other Boolean function can be built using only NAND gates, which is why the 7400 quad 2-input NAND was the founding device of the 7400 TTL family.

Two NMOS transistors are stacked in series between the output and ground, while two PMOS sit in parallel between the output and Vₒₒ. Both inputs HIGH closes the NMOS chain and pulls the output low; any other combination has at least one PMOS conducting, pulling the output high. No inverter is needed — NAND is the natural CMOS topology, which is why NAND beats AND in transistor count.

In plain terms

Imagine a warning light that stays ON unless every required switch is ON. Only when all inputs are HIGH does the NAND output go LOW.

Why designers use it

Best for

Key specifications

When not to use it

Common mistakes

Where you will find it

A short history

A NAND gate is a digital logic gate whose output is false only when all inputs are true; if any input is low, the output is high, making it the complement of an AND gate. Because NAND gates are functionally complete, they can be combined to build other logic functions such as AND, OR, and NOT, serving as basic building blocks in digital circuits.

Good to know

Related