NOR gate: truth table and symbol
A NOR gate is a logic gate that outputs 1 only when both inputs are 0, and 0 otherwise. It is the inverse of OR. Here are its symbol, its full truth table, the boolean expression, and how it is actually built.
NOR gate truth table
| A | B | Y |
|---|---|---|
| 0 | 0 | 1 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 0 |
Boolean expression: Y = (A + B)̅. A 1 in the table means a high voltage (logic true) and a 0 means low (false). Read each row as: for these inputs, the output Y is this value.
Try the NOR gate live
3-input NOR gate truth table
| A | B | C | Y |
|---|---|---|---|
| 0 | 0 | 0 | 1 |
| 0 | 0 | 1 | 0 |
| 0 | 1 | 0 | 0 |
| 0 | 1 | 1 | 0 |
| 1 | 0 | 0 | 0 |
| 1 | 0 | 1 | 0 |
| 1 | 1 | 0 | 0 |
| 1 | 1 | 1 | 0 |
A 3-input NOR gate outputs 1 only when all three inputs are 0, and 0 in the other seven rows.
4-input NOR gate truth table
| A | B | C | D | Y |
|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 1 |
| 0 | 0 | 0 | 1 | 0 |
| 0 | 0 | 1 | 0 | 0 |
| 0 | 0 | 1 | 1 | 0 |
| 0 | 1 | 0 | 0 | 0 |
| 0 | 1 | 0 | 1 | 0 |
| 0 | 1 | 1 | 0 | 0 |
| 0 | 1 | 1 | 1 | 0 |
| 1 | 0 | 0 | 0 | 0 |
| 1 | 0 | 0 | 1 | 0 |
| 1 | 0 | 1 | 0 | 0 |
| 1 | 0 | 1 | 1 | 0 |
| 1 | 1 | 0 | 0 | 0 |
| 1 | 1 | 0 | 1 | 0 |
| 1 | 1 | 1 | 0 | 0 |
| 1 | 1 | 1 | 1 | 0 |
A 4-input NOR gate outputs 1 only when all four inputs are 0 (the 0000 row), and 0 in the other 15 rows.
What the NOR gate does
NOR is the other universal gate: like NAND, any logic function can be built from NOR gates alone. It is also four transistors in CMOS, with the pull-up and pull-down networks swapped relative to NAND.
Build it yourself
Reading a table is one thing; watching the signals flow is another. Open the logic gate simulator and wire a NOR gate up from transistors, or read how the NOR gate works in CMOS. You can also generate the table for any expression with the truth table generator.
On a breadboard, four NOR gates come in one chip, the 7402 (74LS02, 74HC02): see its pinout and try every gate live. The CMOS CD4001 has four NOR gates for 3 V to 18 V, with a different pinout.
Other gates (or all seven symbols and truth tables on one page):
The NOR gate is one small step toward a working CPU. Build every gate from CMOS transistors and work up to an 8-bit processor in the free digiwleea lab, with the free theory reference alongside.
Open the gate simulator →Frequently asked
What is a NOR gate?
A NOR gate is a logic gate that outputs 1 only when both inputs are 0, and 0 otherwise. It is the inverse of OR.
What is the truth table of a NOR gate?
The NOR gate outputs 1 only when both inputs are 0, and 0 otherwise. It is the inverse of OR. For inputs (A,B) the outputs are 0,0→1 0,1→0 1,0→0 1,1→0.
What does the NOR gate symbol look like?
It is drawn as the OR gate's shield shape with a small circle (the inversion bubble) at the output.
What is the truth table of a 3-input NOR gate?
A 3-input NOR gate outputs 1 only when all three inputs are 0, and 0 in the other seven rows.
What is the truth table of a 4-input NOR gate?
A 4-input NOR gate outputs 1 only when all four inputs are 0 (the 0000 row), and 0 in the other 15 rows.
What is the boolean expression for NOR?
The NOR gate is written Y = NOT (A OR B) (symbolically Y = (A + B)).
How many transistors does a NOR gate take?
A standard CMOS NOR gate uses 4 transistors. In digiwleea you build it from transistors and the simulator verifies it against this exact truth table.
Which IC is a NOR gate?
The 7402 (74LS02, 74HC02) chip holds four NOR gates in one 14-pin package; its pinout runs live on the 7402 page.
Why is the NOR gate called a universal gate?
Because NOR gates alone can build NOT, AND and OR, and from those any logic function. A NOR with its inputs tied together is a NOT gate.