AND#

The AND gate outputs high only when all of its inputs are high. It is the “every condition met” gate: the output asserts precisely when nothing is missing.

ABA AND B
000
010
100
111

The physical picture is two switches in series: current reaches the output only when both are closed, which is exactly the behavior first built from relay contacts in series.

A Gate That Costs an Extra Inverter#

AND is one of the first functions anyone learns, but it is not one a CMOS process builds naturally. CMOS gates are inherently inverting, so the native gate is NAND; a true AND is a NAND followed by an inverter — six transistors where the NAND alone is four. For that reason real logic is often designed in NAND and NOR, with AND appearing only where the non-inverted output is actually needed. Recognizing that “AND = NAND + inversion” is the first small lesson of De Morgan’s theorems.

Where It’s Used#

The AND gate’s most common role is as an enable: feed a signal into one input and a control line into the other, and the signal passes only while the control is high — a clean way to gate a clock, qualify a pulse, or arm a path. Widened to many inputs, AND also masks and tests: a bit is forced to zero unless the corresponding mask bit is one, and an all-ones detector is simply a wide AND. Whenever a design needs “all of these must be true at once,” it is an AND.

Page last modified: July 13, 2026