When reading datasheets or drawing schematics, you will encounter two entirely different visual languages for logical gates symbols. The shape of the symbol on your screen dictates the regional standard your CAD library is using, while the part number on your physical IC dictates its voltage and speed characteristics. Below is the definitive translation matrix, followed by field-tested rules for identifying unmarked chips and selecting the right logic family for your bench.
The Complete Logic Gate Symbol Reference
The table below maps the seven fundamental logic gates across the two dominant global standards: the North American/Japanese ANSI/IEEE Std 91 (distinctive shapes) and the European/International IEC 60617-12 (rectangular outlines). Use this as your primary cross-reference when importing footprints into KiCad, Altium, or Eagle.
| Gate Function | ANSI/IEEE Symbol (Distinctive Shape) | IEC 60617 Symbol (Rectangular) | Boolean Expression | Common Quad IC (5V) |
|---|---|---|---|---|
| AND | D-shaped with flat input side | Rectangle with "&" qualifier | Y = A · B | 74HC08 |
| OR | Curved input side, pointed output | Rectangle with "≥1" qualifier | Y = A + B | 74HC32 |
| NOT | Triangle with output bubble | Rectangle with "1" and output circle | Y = A' | 74HC04 (Hex) |
| NAND | D-shape with output bubble | Rectangle with "&" and output circle | Y = (A · B)' | 74HC00 |
| NOR | Curved input, pointed output + bubble | Rectangle with "≥1" and output circle | Y = (A + B)' | 74HC02 |
| XOR | OR shape with detached input curve | Rectangle with "=1" qualifier | Y = A ⊕ B | 74HC86 |
| XNOR | XOR shape with output bubble | Rectangle with "=1" and output circle | Y = (A ⊕ B)' | 74HC266 |
Regional Standards: Which Symbol Set Applies to You?
Your choice of symbol standard is rarely a matter of personal preference; it is dictated by your location, your employer's drafting standards, and your target audience.
- North America, Japan, and Australia: The ANSI/IEEE distinctive shapes are the undisputed standard. Educational materials, hobbyist tutorials, and US-based engineering firms almost exclusively use the D-shapes and curved OR gates.
- Europe, UK, and International IEC markets: The IEC 60617-12 rectangular standard is mandatory for formal documentation. The philosophy here is uniformity: every gate is a rectangle, and the logic function is defined purely by the alphanumeric qualifier inside (e.g., "&" for AND, "≥1" for OR).
The "Rows People Get Wrong" Field Notes
When tracing schematics on a whiteboard or reading a poorly scanned vintage datasheet, specific symbol variations cause costly wiring errors. Watch for these common traps:
1. The XOR Detached Curve
In ANSI symbols, the XOR gate looks nearly identical to the OR gate, except for a second curved line on the input side. If the second curve is attached to the gate body, it is an OR gate. If there is a visible gap between the second curve and the gate body, it is an XOR gate. Faded photocopies often close this gap, turning an XOR into an OR and breaking parity-check circuits.
2. The Inversion Bubble Misconception
A bubble on a logic symbol does not always mean a physical NOT gate is present. On complex ICs (like flip-flops or microcontrollers), a bubble on an input pin (e.g., RESET or CHIP_SELECT) indicates active-low logic. The pin triggers when pulled to GND (0V). Do not add an external physical NOT gate to an active-low pin unless you are intentionally inverting your control signal.
3. IEC Qualifier Confusion: "=1" vs "≥1"
In the IEC rectangular standard, an OR gate is marked "≥1" (meaning the output is high if greater than or equal to one input is high). An XOR gate is marked "=1" (meaning the output is high if exactly equal to one input is high). Misreading the "≥" as an "=" will completely alter your truth table expectations.
Safe Interpretation of Faded or Unmarked Logic ICs
Every maker eventually encounters a scavenged 14-pin DIP IC with rubbed-off laser etching. You can safely identify the internal logical gates without a datasheet using a multimeter and a logic probe.
- Identify Power Pins: Set your multimeter to diode-test mode. On a standard 14-pin DIP, Pin 7 is almost universally GND, and Pin 14 is VCC. Test for a forward voltage drop (typically 0.5V - 0.7V) between the suspected GND pin and the substrate/ground plane of the chip.
- Isolate a Gate: A quad-gate IC (like an AND or OR) uses pins 1 & 2 as inputs and pin 3 as the output for the first gate. Pins 4 & 5 are inputs, 6 is output, and so on.
- Map the Truth Table: Apply 5V to Pin 14 and GND to Pin 7. Use jumper wires to pull inputs (Pins 1 & 2) to either 5V (Logic 1) or GND (Logic 0). Measure the output (Pin 3) with your multimeter.
- If 0,0→0 | 0,1→0 | 1,0→0 | 1,1→1: You have an AND gate.
- If 0,0→0 | 0,1→1 | 1,0→1 | 1,1→1: You have an OR gate.
- If 0,0→0 | 0,1→1 | 1,0→1 | 1,1→0: You have an XOR gate.
Decision Path: Selecting Your Physical Logic Family
Knowing the logical gates symbols is only half the battle; you must select the correct silicon family to match your microcontroller's voltage and speed requirements. Use the decision matrix below to terminate your component selection.
| System Voltage | Speed / Drive Requirement | Recommended Logic Family | Example Part Number |
|---|---|---|---|
| 5.0V (Standard Arduino/AVR) | Standard (up to 50 MHz) | 74HC (High-speed CMOS) | 74HC08 (Quad AND) |
| 3.3V (ESP32, STM32, Pi Pico) | Standard to High (up to 100+ MHz) | 74LVC (Low-Voltage CMOS) | 74LVC08A |
| 9V to 15V (Automotive/Industrial) | Low speed, high noise immunity | CD4000 Series (Legacy CMOS) | CD4011 (Quad NAND) |
| 5.0V (Legacy TTL Replacement) | High drive current, older designs | 74LS (Low-power Schottky) | 74LS08 |
The Default Recommendation
If you are starting a new design today and need to buffer signals, combine logic, or interface between voltage domains, default to the 74HC family for 5V systems and the 74LVC family for 3.3V systems. The Texas Instruments logic portfolio and NXP logic families heavily favor these two lines for modern production. Avoid the 74LS (TTL) family for new designs; it draws significantly more quiescent current and its input threshold voltages are incompatible with modern 3.3V microcontrollers. Use the CD4000 series only when your supply voltage exceeds 6V or when you specifically need the high input impedance of unlatched CMOS for analog-adjacent timing circuits.






