Logic gates are the fundamental building blocks of digital electronics, processing binary signals to execute logical operations. When reading or drawing schematics, you will encounter two dominant symbol standards: the shape-based ANSI/IEEE standard (common in the US and legacy textbooks) and the rectangle-based IEC standard (common in Europe and modern CAD tools). Below is the definitive reference for identifying these symbols, understanding regional variants, and selecting the correct physical IC for your breadboard or PCB.
Complete Logic Gate Symbol Reference Table
This table maps the seven basic logic gates to their Boolean expressions, physical IC equivalents, and both major symbol standards. Use this as your primary bench reference.
| Gate Name | Boolean | ANSI/IEEE Symbol Shape | IEC 60617 Symbol Text | Standard 14-Pin IC (Quad/Dual) |
|---|---|---|---|---|
| AND | Y = A · B | D-shaped with flat input side | Rectangle with '&' inside | 74HC08 / CD4081 |
| OR | Y = A + B | Curved input, pointed output | Rectangle with '≥1' inside | 74HC32 / CD4071 |
| NOT (Inverter) | Y = A' | Triangle with output bubble | Rectangle with '1' and output bubble | 74HC04 / CD4069 |
| NAND | Y = (A · B)' | D-shape with output bubble | Rectangle with '&' and output bubble | 74HC00 / CD4011 |
| NOR | Y = (A + B)' | Curved input, pointed output + bubble | Rectangle with '≥1' and output bubble | 74HC02 / CD4001 |
| XOR | Y = A ⊕ B | Curved input with extra detached curve | Rectangle with '=1' inside | 74HC86 / CD4030 |
| XNOR | Y = (A ⊕ B)' | XOR shape with output bubble | Rectangle with '=1' and output bubble | 74HC266 / CD4077 |
Regional Standards: ANSI/IEEE vs. IEC 60617
The way a logic gate is drawn depends heavily on where the schematic was authored and which CAD library the engineer used.
& for AND, ≥1 for OR, 1 for NOT, and =1 for XOR. Modern tools like Altium Designer and KiCad often default to IEC symbols for complex programmable logic (FPGAs/CPLDs) because drawing custom shapes for 64-bit bus logic is impractical.
When interpreting faded or old military prints, watch for the MIL-STD-806 'exclusive-OR' variant, which sometimes uses a modified OR shape with a double-curved back rather than the detached input curve of the modern IEEE standard.
The 'Rows People Get Wrong' Notes
Even experienced technicians misread specific gate configurations when tracing complex schematics. Watch out for these common pitfalls:
- De Morgan's Equivalents (Bubble Pushing): A NAND gate (AND shape with output bubble) is logically identical to a 'Negative-OR' (OR shape with input bubbles). CAD software will often swap an AND gate for an OR gate with input bubbles to make the signal flow read more cleanly (e.g., showing active-low reset lines). If you see an OR shape with bubbles on the inputs, it is physically the exact same silicon as a NAND gate.
- XOR vs. XNOR Bubble Placement: In the ANSI standard, an XNOR gate can be drawn with the inversion bubble on the output or on one of the inputs. Both represent the same truth table. Do not confuse an XOR with an input bubble for an AND gate; the double-curve on the input side is the giveaway for XOR/XNOR family.
- Active-Low Inputs vs. Inversion: A bubble on an input pin does not always mean a physical NOT gate precedes it. On flip-flops, multiplexers, and complex gates, an input bubble simply denotes an 'active-low' trigger (like Chip Enable or Reset). The physical silicon gate inside might just be a standard NAND configured to respond to a low signal.
Decision Path: Picking the Right Logic IC Family
Knowing the symbol is only half the battle; you must select the correct silicon family to match your system's voltage and speed. Use this decision matrix to pick your physical IC.
| System Condition | Required Logic Family | Example IC (Quad AND) | Why This Wins |
|---|---|---|---|
| 5V supply, interfacing with modern CMOS | 74HC (High-Speed CMOS) | 74HC08 | Standard 5V logic, low power, high noise margin. |
| 5V supply, interfacing with legacy 74LS TTL | 74HCT (High-Speed CMOS, TTL compatible) | 74HCT08 | Accepts the lower 2.0V HIGH threshold of old TTL outputs. |
| 3.3V supply (ESP32, Raspberry Pi, STM32) | 74LVC (Low-Voltage CMOS) | 74LVC08 | Operates safely at 3.3V; 5V-tolerant inputs on many variants. |
| Wide voltage (3V to 15V), low speed, high noise | 4000B Series (Standard CMOS) | CD4081 | Massive voltage range, very slow, but highly robust for simple industrial interlocks. |
The Concrete Pick: If you are building a modern digital project interfacing with 3.3V microcontrollers (like an ESP32 or Arduino Due) but need to drive 5V relays or read 5V sensors, buy the 74LVC08A (or the equivalent LVC family for your specific gate). It operates natively at 3.3V, features 5V-tolerant inputs, and provides excellent drive strength. For pure 5V breadboard prototyping, default to the 74HC series.
Safe Interpretation When Markings Are Faded or Missing
When salvaging boards or troubleshooting legacy equipment, you may encounter a 14-pin DIP IC with the silkscreen laser-etched markings rubbed off. Here is how to safely identify the gate and its pinout without guessing.
- Identify VCC and GND: For 99% of 14-pin DIP logic gates (both 74xx and 40xx series), Pin 7 is Ground (GND) and Pin 14 is VCC. Verify this by checking continuity from Pin 7 to the board's ground plane, and from Pin 14 to the decoupling capacitor's positive leg.
- Use Diode Test Mode: Set your multimeter to diode test. Place the black probe on Pin 7 (GND) and touch the red probe to the other pins. Input pins will typically show a forward voltage drop of ~0.5V to 0.7V due to the internal ESD protection diodes. Output pins will usually read open (OL) in this direction.
- Trace the Logic: Once powered, use a logic probe or a fast multimeter. Ground one input of a suspected gate and toggle the other. If the output follows the toggled input, it is an AND/NAND gate (if inverted). If the output stays high regardless, it is an OR/NOR gate. Cross-reference your findings with a standard datasheet pinout diagram to confirm the exact gate arrangement.






