NAND Gate

Truth table for a NAND gate
Input AInput BOutput
falsefalsetrue
falsetruetrue
truefalsetrue
truetruefalse

A NAND gate (sometimes referred to by its extended name, Negated AND gate) is a digital logic gate with two or more inputs and one output with behavior that is the opposite of an AND gate. The output of a NAND gate is true when one or more, but not all, of its inputs are false. If all of a NAND gate's inputs are true, then the output of the NAND gate is false.

The truth table for a NAND gate with two inputs appears to the right.

Symbols

Each of the symbols below can be used to represent a NAND gate. There are multiple international stnandards defined, and one may preferred over the other in your region of the world.

ASNI / IEEEIEC
ANSI / IEEE NAND Gate symbolIEC NAND Gate symbol

Live Example

Try the following interactive example to see for yourself how a NAND gate behaves.

Further Reading

To learn more, check out the following external resources:

« Table of Contents

Simulate with Logicly

Logicly provides an engaging, hands-on learning environment for teaching logic gates and circuits. Download the Free 30-Day Trial today to evaluate Logicly in your classroom or lab. Learn More »

Screenshot of Logicly

Buy Logicly Desktop Now! $59 USD

Download Logicly Desktop