Logic Gates · Cambridge syllabus 10.1, 10.2 · Lesson 4 of 5
NAND and NOR
NAND is NOT applied to AND, so it outputs 0 only for two 1 inputs. NOR is NOT applied to OR, so it outputs 1 only for two 0 inputs. The inversion is shown by a small output bubble.
By the end, you can
- Understand NAND as NOT AND.
- Understand NOR as NOT OR.
- Construct truth tables for NAND and NOR.
- Determine outputs from combinations of gates.
Derived logic gates
NAND and NOR are built by putting a NOT on the output of an AND or an OR. Their names are contractions of exactly that: NOT AND and NOT OR.
A NAND gate gives 0 only when both inputs are 1, and 1 in every other case. Its truth table is the AND column with every value flipped: three 1s and a single 0 at the bottom.
A NOR gate gives 1 only when both inputs are 0, and 0 otherwise. Its truth table is the OR column flipped: a single 1 at the top and three 0s below.
Their symbols are the AND and OR symbols with a small circle added on the output, and that circle is the whole difference. Reading a circuit means treating the circle as a NOT applied to whatever the gate would otherwise have produced. In a logic expression they are written A NAND B and A NOR B.
The reliable method for any question on these is to work out the AND or OR value first, then invert it. Trying to memorise four separate tables leads to confusing NAND with NOR, which is the commonest mistake.
Worth remembering
- NAND is NOT AND: 0 only when both inputs are 1.
- NOR is NOT OR: 1 only when both inputs are 0.
- Work out the AND or OR first, then invert; the circle on the symbol is the NOT.
Worked example
For A = 1 and B = 0, NAND gives 1 while NOR gives 0.
Practice
Warm-up · not marked
Check your understanding
Answer in your own words, then compare with the worked answer. Nothing here is saved or scored.
Worked answer
AND gives 0, so NAND is 1. OR gives 0, so NOR is 1.
Check your method, units and explanation against it.
Marked practice
Set 1 of 4 · easiest first · Checked as you go, with the worked answer. Sign in or create a free account to save your progress.