Implementation of NOR Gate from NAND Gate
The NAND gate is functionally complete, which means every other gate can be built from it alone. This page shows how to build a NOR gate using only NAND gates, why the construction works, and how many gates it costs.
Why NOR can be built from NAND
Build OR out of NANDs first, then invert it. NOR is just OR with an inverter on the output, and you already know how to make both pieces.
Functional completeness is the reason chip designers care: a fab only has to get one gate right, and every circuit can be built from copies of it. NAND and NOR are both functionally complete; no other two-input gate is, on its own.
Step-by-step construction
Step 1
A OR B from three NANDs, as in the OR construction.
Step 2
Step 3
NOT (A OR B), which is NOR.
The boolean expression
A NOR B = NAND(A OR B, A OR B)
Truth table
| A | B | NOR |
|---|---|---|
| 0 | 0 | 1 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 0 |
Build the circuit, then check every row. If all four match, the construction is correct: a truth table is a complete specification for a combinational circuit, so agreeing on every row means the two circuits are the same function.
Gate count
This construction uses 4 NAND gates. Gate count matters in real hardware because every gate costs area, power and a small propagation delay, which is why a circuit built entirely from one gate type is usually larger than the same logic built from mixed gates.
Build it yourself
Reading the construction is not the same as getting it working. Open the editor, drop in the gates, and watch the output change as you toggle the inputs.
Related pages
Every conversion follows the same two moves: get the un-inverted version, then cancel or add an inversion. Once you have seen AND from NAND and OR from NAND, the rest are variations. The wider digital logic track covers where these gates end up: adders, latches and memory.