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 NameBooleanANSI/IEEE Symbol ShapeIEC 60617 Symbol TextStandard 14-Pin IC (Quad/Dual)
ANDY = A · BD-shaped with flat input sideRectangle with '&' inside74HC08 / CD4081
ORY = A + BCurved input, pointed outputRectangle with '≥1' inside74HC32 / CD4071
NOT (Inverter)Y = A'Triangle with output bubbleRectangle with '1' and output bubble74HC04 / CD4069
NANDY = (A · B)'D-shape with output bubbleRectangle with '&' and output bubble74HC00 / CD4011
NORY = (A + B)'Curved input, pointed output + bubbleRectangle with '≥1' and output bubble74HC02 / CD4001
XORY = A ⊕ BCurved input with extra detached curveRectangle with '=1' inside74HC86 / CD4030
XNORY = (A ⊕ B)'XOR shape with output bubbleRectangle with '=1' and output bubble74HC266 / 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.

US & Legacy Designs (ANSI/IEEE Std 91-1984): This standard uses 'distinctive shapes' (D-shapes, curves, triangles). It is highly visual and remains the default in US university textbooks, hobbyist tutorials, and older military schematics (MIL-STD-806). If you are reading a schematic from an American source pre-2010, expect these shapes.
International & Modern CAD (IEC 60617-12): The International Electrotechnical Commission standard abandons distinctive shapes in favor of uniform rectangular outlines. The logic function is indicated by text inside the box: & 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 ConditionRequired Logic FamilyExample IC (Quad AND)Why This Wins
5V supply, interfacing with modern CMOS74HC (High-Speed CMOS)74HC08Standard 5V logic, low power, high noise margin.
5V supply, interfacing with legacy 74LS TTL74HCT (High-Speed CMOS, TTL compatible)74HCT08Accepts the lower 2.0V HIGH threshold of old TTL outputs.
3.3V supply (ESP32, Raspberry Pi, STM32)74LVC (Low-Voltage CMOS)74LVC08Operates safely at 3.3V; 5V-tolerant inputs on many variants.
Wide voltage (3V to 15V), low speed, high noise4000B Series (Standard CMOS)CD4081Massive 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.

Safety First: Always de-energize the circuit and discharge filter capacitors before probing IC pins. Applying a logic probe to a live circuit with a floating ground can destroy the IC or your test equipment.
  1. 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.
  2. 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.
  3. 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.