This website requires JavaScript.
Coupons Download APP
Ship to
Blog

Logic Gate Symbols: The Complete Chart, Truth Tables [2026]

Published Aug 11, 2026, updated Aug 11, 2026

12 min

Table of Contents
  • Logic Gate Symbols Chart (Quick Reference)
  • Understanding Logic Gate Symbols in Circuit Schematics
  • Basic Logic Gate Symbols and Truth Tables
  • ANSI/IEEE vs IEC Logic Gate Symbols: Key Differences
  • How to Read the Inversion Bubble on Any Gate Symbol
  • Universal Gates: Building Any Function From NAND or NOR
  • Logic Gate Symbols to 74xx and 4000-Series ICs: Pinout Reference
  • Conclusion
  • FAQs about Logic Gate Symbols

When we define digital logic on a schematic, we use logic gate symbols to represent Boolean operations and show how signals are processed in a circuit. A single symbol can represent an entire logical function with only a few lines. However, one missed inversion bubble can change the output behavior, leading to design errors, debugging time, or costly board rework.

Logic gate symbols are the foundation of digital circuit design, appearing everywhere from basic logic ICs to complex embedded systems.

In this guide, you will learn:

  • Every ANSI/IEEE and IEC symbol for all seven gates, side by side
  • Truth tables and Boolean expressions for each gate
  • How to read the inversion bubble on any gate
  • Which 74xx and 4000-series IC implements each gate
  • How a gate symbol becomes a PCB footprint

Logic Gate Symbols Chart (Quick Reference)

logic gate symbols in ansi and iec form

Figure: Logic gate symbols in ANSI/IEC form.

This chart lists every basic logic gate symbol in both drawing standards, with its Boolean expression and output rule. Use it as a lookup, then jump to any gate below for its full truth table.

GateANSI/IEEE Distinctive ShapeIEC Qualifying SymbolBoolean ExpressionOutput Is HIGH When
ANDFlat back, curved nose&Y = A · BAll inputs are HIGH
ORCurved back, pointed nose≥1Y = A + BAny input is HIGH
NOTTriangle, output bubble1Y = A'The input is LOW
NANDAND shape, output bubble& with negationY = (A · B)'Any input is LOW
NOROR shape, output bubble≥1 with negationY = (A + B)'All inputs are LOW
XOROR shape, doubled back=1Y = A ⊕ BExactly one input is HIGH
XNORXOR shape, output bubble=1 with negationY = (A ⊕ B)'The inputs match
BufferPlain triangle, no bubble1Y = AThe input is HIGH

Understanding Logic Gate Symbols in Circuit Schematics

A logic gate symbol is a standardized graphic representation of a logical function in an electronic schematic. In the common schematic convention, input signals enter from the left and the output leaves from the right. The symbol shape or internal identifier shows which Boolean operation the gate performs.

Every logic gate symbol carries three key pieces of information:

  • The function identifier: The ANSI/IEEE outline shape, or IEC function symbols such as &, ≥1, or =1 inside a rectangular block.
  • The negation indicator: A small circle (bubble) on an input or output pin indicates signal inversion or an active-low function.
  • The pin arrangement: Inputs are typically shown on the left and outputs on the right, with pin numbers assigned after the symbol is linked to a physical component.

The two most common logic symbol systems are ANSI/IEEE-style symbols and IEC rectangular symbols. ANSI/IEEE symbols use distinctive gate shapes, while IEC 60617 defines rectangular blocks with standardized function identifiers for international use.

Basic Logic Gate Symbols and Truth Tables

The seven basic logic gates are AND, OR, NOT, NAND, NOR, XOR and XNOR. Each has its own symbol, truth table and Boolean expression. A buffer is added below because it shares the NOT gate outline.

Note

In every truth table, 1 is a logic HIGH and 0 is a logic LOW. A prime mark, as 'A', means NOT A.

#1 AND Gate Symbol

An AND gate drives its output HIGH only when every input is HIGH. Its ANSI symbol is a flat-backed D shape; the IEC form is a rectangle marked `&`.

and gate symbol with inputs a and b

Figure: AND gate symbol with inputs A and B

ABY
000
010
100
111

Table: AND gate truth table.

Boolean expression: Y = A · B

In practice: An AND gate gates a clock or data line, passing it only while an enable input stays HIGH.

#2 OR Gate Symbol

An OR gate drives its output HIGH when at least one input is HIGH. Its ANSI symbol has a curved back and a pointed nose; the IEC rectangle is marked `≥1`.

or gate symbol with inputs a and b

Figure: OR gate symbol with inputs A and B

ABY
000
011
101
111

Table: OR gate truth table.

Boolean expression: Y = A + B

In practice: An OR gate merges several fault lines into one interrupt line.

#3 NOT Gate Symbol (Inverter)

A NOT gate has one input and inverts it. Its ANSI symbol is a triangle with a bubble on the output, and the bubble, not the triangle, does the inverting.

not gate symbol

Figure: NOT gate symbol

AY
01
10

Table: NOT gate truth table.

Boolean expression: Y = A'

In practice: An inverter turns an active-low flag, such as `nRESET,` into an active-high signal that a GPIO can read.

#4 NAND Gate Symbol

A NAND gate drives its output LOW only when every input is HIGH. Its symbol is the AND shape with an output bubble, and it is the most widely stocked gate of all.

nand gate symbol

Figure: NAND gate symbol

ABY
001
011
101
110

Table: NAND gate truth table.

Boolean expression: Y = (A · B)'

In practice: Two cross-coupled NAND gates form an SR latch, the classic debounce for a mechanical switch.

#5 NOR Gate Symbol

A NOR gate drives its output HIGH only when every input is LOW. Its symbol is the OR shape with an output bubble, and it is the second universal gate.

nor gate symbol

Figure: NOR gate symbol

ABY
001
010
100
110

Table: NOR gate truth table.

Boolean expression: Y = (A + B)'

In practice: A NOR gate holds a reset asserted until every active-high power-good line has settled.

#6 XOR Gate Symbol

An XOR gate drives its output HIGH when its two inputs differ. Its ANSI symbol adds a second curved line across the input side of the OR shape.

xor gate symbol

Figure: XOR gate symbol

ABY
000
011
101
110

Table: XOR gate truth table.

Boolean expression: Y = A ⊕ B = A · B' + A' · B

In practice: An XOR gate produces the sum bit of a half adder. Tying one input HIGH turns it into a controlled inverter.

#7 XNOR Gate Symbol

An XNOR gate drives its output HIGH when its two inputs match. Its symbol is the XOR shape with an output bubble, so it is also called an equivalence gate.

xnor gate symbol

Figure: XNOR gate symbol

ABY
001
010
100
111

Table: XNOR gate truth table.

Boolean expression: Y = (A ⊕ B)' = A · B + A' · B'

In practice: XNOR gates build the bit comparators in address decoders, where every bit must match.

#8 Buffer Gate Symbol

A buffer passes its input straight through. The symbol is a plain triangle with no bubble, and it exists to restore drive strength rather than to change the logic.

buffer gate symbol

Figure: Buffer gate symbol

AY
00
11

Table: Buffer truth table.

Boolean expression: Y = A

In practice: A buffer restores edge rate on a long trace. The CD4050B also accepts inputs above its own supply, making it a simple down-level shifter.

ANSI/IEEE vs IEC Logic Gate Symbols: Key Differences

ANSI/IEEE Std 91-1984 uses distinctive gate outlines where the shape itself identifies the basic logic function.

IEC 60617-12 represents logic functions using rectangular symbols with standardized qualifying symbols inside.

nand gate drawn in ansi and iec form

Figure: NAND gate drawn in ANSI and IEC form

AttributeANSI/IEEE Distinctive ShapeIEC Rectangular Shape
Governing standardANSI/IEEE Std 91-1984, supplement 91a-1991IEC 60617-12, binary logic elements
OutlineA unique shape per functionStandardized rectangular block with function qualifiers
Function identifierThe shape itselfQualifying symbol: &, ≥1, =1, or 1
Inversion shown bySmall circle on the pinSmall circle, or a right-triangle wedge
More inputsAdditional input pins are added to the gate shapeAdditional input pins are added to the rectangular block
Common inUS datasheets, default ECAD librariesIEC-aligned drawings, European textbooks
Best atFast visual scanning of dense logicDocumenting multi-function blocks

How to Read the Inversion Bubble on Any Gate Symbol

The small circle on a gate symbol is a negation indicator. On an output, it inverts the result. On an input, it indicates an active-low input, meaning the gate interprets that pin using the opposite logic level.

inversion bubble anatomy comparing a bubble on the output

Figure: Inversion bubble anatomy comparing a bubble on the output

  • Bubble on the output: The function is complemented. AND becomes NAND, OR becomes NOR, and XOR becomes XNOR.
  • Bubble on an input: That pin is active LOW. The gate sees the inverted net.
  • No bubble at all: The symbol is the plain function: AND, OR, XOR or buffer.
  • Wedge instead of a circle: A polarity indicator under direct-polarity notation. It marks an active-LOW pin without inverting the logic function.
  • Bubble facing bubble: Two negations on one net cancel, so the pair acts as a direct connection.

Universal Gates: Building Any Function From NAND or NOR

NAND and NOR are universal gates because either one alone can build every other logic function. That property, called functional completeness, lets a board use one part number instead of four.

nand only construction of not, and, or and xor

Figure: NAND-only construction of NOT, AND, OR and XOR

Target FunctionBuilt From NAND GatesNANDsBuilt From NOR GatesNORs
NOTTie both inputs together1Tie both inputs together1
ANDNAND, then a NAND inverter2Invert both inputs, then NOR3
ORInvert both inputs, then NAND3NOR, then a NOR inverter2
NANDDirect1Build AND, then invert4
NORBuild OR, then invert4Direct1
XORStandard four-gate network4Five-gate network5
XNORFive-gate network5Standard four-gate network4

Table: Gate count for building each function from NAND only or NOR only.

Logic Gate Symbols to 74xx and 4000-Series ICs: Pinout Reference

Each gate symbol maps to a real part number. Pick the family from your rail voltage first: 74HC runs on 2 V to 6 V, while the 4000B series runs on 3 V to 18 V.

Gate74HC Part4000-Series PartGates per PackageInputs per Gate
AND74HC08CD4081B42
OR74HC32CD4071B42
NOT74HC04CD4069UB61
NAND74HC00CD4011B42
NOR74HC02CD4001B42
XOR74HC86CD4070B42
XNOR74HC7266CD4077B42
Buffer74HC4050CD4050B61

Table: Part lookup mapping each logic gate symbol to 74HC and 4000-series devices.

Note

Every device above ships in DIP-14, SOIC-14 and TSSOP-14, except the hex buffers, which are 16-pin parts.

74hc00 dip 14 and soic 14 pinout

Figure: 74HC00 DIP-14 and SOIC-14 pinout with the four internal NAND gates

PinFunctionPinFunction
11A input14VCC
21B input134B input
31Y output124A input
42A input114Y output
52B input103B input
62Y output93A input
7GND83Y output

Table: 74HC00 quad 2-input NAND pinout, 14-pin package.

At the transistor level, a 2-input CMOS NAND gate uses four MOSFETs: two PMOS transistors connected in parallel as the pull-up network and two NMOS transistors connected in series as the pull-down network. For a deeper look at the devices behind CMOS logic, see our MOSFET symbol guide and transistor symbol guide.

jlcpcb parts library for pcba banner
From Logic Gates to Finished PCBs
Get Instant Quote
  • Check real-time availability and pricing for the logic ICs mentioned above in the JLCPCB Parts Library.

  • After completing your schematic and PCB design, upload your files to JLCPCB for an instant quote on PCB fabrication and assembly.

Conclusion

A logic gate symbol answers three questions at once. The shape names the function, the bubble names the polarity, and the pin numbers name the physical package. The third answer is the one that designers get wrong. Four gates share one package, one supply pin and one decoupling capacitor, so gate-level logic never maps one-to-one onto board-level layout.

Download the JLCPCB circuit symbols cheat sheet (PDF) for resistors, capacitors, diodes and transistors.

Keep learning:

FAQs about Logic Gate Symbols

Why Are There Two Sets of Logic Gate Symbols?

Two standards grew up in parallel. The distinctive shapes came from MIL-STD-806 and passed into ANSI/IEEE Std 91-1984, while IEC 60617-12 standardized the rectangle. Both are still valid, so datasheets use either.

What Are the 7 Basic Logic Gates?

The seven basic logic gates are AND, OR, NOT, NAND, NOR, XOR and XNOR. AND, OR and NOT are the primitives. NAND and NOR are universal, and XOR and XNOR compare two inputs.

What Is the Difference Between IEC and ANSI Logic Gate Symbols?

ANSI symbols name the function by outline shape, so you read them at a glance. IEC symbols use one rectangle per gate with a qualifier inside: & for AND, ≥1 for OR, and =1 for XOR.

Why Are NAND and NOR Called Universal Gates?

NAND and NOR are functionally complete, so either one alone can build every other function. Tying both inputs of a NAND together makes an inverter, and NAND networks then give AND, OR, NOR, XOR and XNOR.

Which IC Contains AND Gates?

The 74HC08 holds four two-input AND gates in a 14-pin package, and the CD4081B is its 4000-series equivalent for supplies to 18 V. The single-gate 74LVC1G08 fits a 5-pin SOT-353.

Keep Learning