The symbol for XOR gate (Exclusive-OR) depends entirely on the regional drafting standard your schematic follows. In the US and regions following ANSI/IEEE standards, the XOR gate is drawn as a curved shield shape with a secondary, detached arc at the inputs. In Europe and regions following the IEC 60617 standard, it is drawn as a rectangular block with the label =1 inside. Both symbols represent the exact same Boolean function: the output goes HIGH (1) only when an odd number of inputs are HIGH.
Because logic schematics often mix legacy and modern components, you need to recognize both families. Below is the complete reference matrix for basic logic gates, anchoring the XOR gate within its broader family.
| Gate Function | ANSI/IEEE Symbol Shape | IEC 60617 Block Label | Standard TTL IC (5V) | Standard CMOS IC (3-15V) | Typical Prop Delay |
|---|---|---|---|---|---|
| XOR (2-Input) | Curved shield + detached input arc | =1 | 74LS86 | CD4030B / 74HC86 | 10ns (LS) / 18ns (HC) |
| XNOR (2-Input) | Curved shield + arc + output bubble | =1 with output bubble | 74LS266 | CD4077B / 74HC266 | 12ns (LS) / 20ns (HC) |
| OR (2-Input) | Curved shield (no detached arc) | ≥1 | 74LS32 | CD4071B / 74HC32 | 9ns (LS) / 14ns (HC) |
| AND (2-Input) | Straight back, curved front | & | 74LS08 | CD4081B / 74HC08 | 9ns (LS) / 14ns (HC) |
| NAND (2-Input) | AND shape + output bubble | & with output bubble | 74LS00 | CD4011B / 74HC00 | 9ns (LS) / 12ns (HC) |
| NOR (2-Input) | OR shape + output bubble | ≥1 with output bubble | 74LS02 | CD4001B / 74HC02 | 10ns (LS) / 14ns (HC) |
| NOT (Inverter) | Triangle + output bubble | 1 with output bubble | 74LS04 | CD4069UB / 74HC04 | 9ns (LS) / 12ns (HC) |
Decoding the Symbol for XOR Gate Across Standards
When reading a schematic, the visual distinction between an OR gate and an XOR gate is the most critical detail to catch, as a single misread arc will completely change your understanding of the circuit's logic state.
The ANSI/IEEE (US) Standard
In the ANSI Y32.14 / IEEE 91 standard, the OR gate is drawn with a concave back and a convex front, resembling a shield. The symbol for XOR gate takes this exact shape and adds a second, parallel curved line at the input side. This detached arc is the sole visual differentiator. If you are tracing a noisy or low-resolution PDF scan, that secondary arc is often the first casualty of compression artifacts.
The IEC 60617 (International) Standard
The IEC standard abandons shapes in favor of rectangular blocks with alphanumeric qualifiers. An OR gate is labeled ≥1, meaning the output is HIGH if one or more inputs are HIGH. The XOR gate is labeled =1, meaning the output is HIGH if exactly one input is HIGH. For a 3-input XOR gate, the IEC symbol remains "=1" (though technically, a true 3-input XOR outputs HIGH when an odd number of inputs are HIGH, which some strict IEC interpretations label differently, but "=1" remains the standard schematic shorthand).
Rows People Get Wrong and Faded Schematic Recovery
Logic gate misidentification causes hours of wasted debugging time. Here are the most common errors engineers and hobbyists make when interpreting these symbols, and how to recover when the schematic is degraded.
The "Missing Bubble" Trap (XOR vs. XNOR)
The most frequent mistake is confusing an XOR gate with an XNOR (Exclusive-NOR) gate. In both ANSI and IEC standards, an XNOR gate is simply an XOR gate with an inversion bubble on the output. On densely packed schematics, or when a printer runs low on toner, that tiny circle vanishes. If your circuit is behaving as an equality checker (outputting HIGH when both inputs match) rather than a difference checker, you are likely looking at an XNOR gate, regardless of what the faded symbol suggests.
IEC Buffer vs. XOR Confusion
In the IEC standard, a simple non-inverting buffer is a rectangle with the number 1 inside. An XOR gate is =1. If the equals sign is smudged, a buffer can easily be mistaken for an XOR gate. Remember that a buffer only has one input; if the block has two input traces routing into it, it cannot be a standard buffer.
Safe Interpretation of Faded or Missing Markings
When working on legacy industrial equipment or repairing old amateur radio gear, silk-screen labels on PCBs fade, and schematic symbols rub off. If you cannot visually confirm the symbol for an XOR gate, use empirical hardware testing:
- Isolate the IC: Identify the VCC and GND pins (usually Pin 14 and Pin 7 on 14-pin DIPs). Ensure the chip is receiving proper voltage (5.0V to 5.25V for 74LS series; 3V to 15V for CD4000 series).
- Inject Logic Levels: Use a logic pulser or a simple jumper wire tied to GND (0) and VCC (1) to stimulate the two inputs of the suspected gate.
- Measure the Output: Use a digital multimeter or a logic probe.
- If Input A=0, B=0 yields Output=0
- If Input A=0, B=1 yields Output=1
- If Input A=1, B=0 yields Output=1
- If Input A=1, B=1 yields Output=0 → It is an XOR Gate.
- If Input A=1, B=1 yields Output=1 → It is an OR Gate.
Real-World XOR ICs: 74LS86 vs CD4030 Pinouts and Specs
Understanding the symbol is only half the battle; you must also know how to wire the physical integrated circuits. The two most common quad 2-input XOR chips found on the bench are the TTL-based SN74LS86 and the CMOS-based CD4030B (or its 74HC equivalent, the 74HC86).
| Specification | 74LS86 (TTL) | CD4030B (CMOS) | 74HC86 (High-Speed CMOS) |
|---|---|---|---|
| Supply Voltage (VCC) | 4.75V to 5.25V (Strict 5V) | 3.0V to 15.0V (Wide range) | 2.0V to 6.0V |
| Input Current (Logic LOW) | -0.4 mA (Sources current) | ~0 µA (Negligible) | ~0 µA (Negligible) |
| Max Output Drive | 8 mA (Sink) / -0.4 mA (Source) | ~6.8 mA at 10V | ±25 mA (Symmetrical) |
| Floating Input Behavior | Floats HIGH (internal pull-ups) | Unpredictable, high current draw | Unpredictable, oscillation risk |
Standard 14-Pin DIP Pinout
Both the 74LS86 and CD4030B share the exact same physical pinout in a 14-pin Dual In-line Package (DIP). The chip contains four independent XOR gates.
- Pin 14: VCC (Positive Supply)
- Pin 7: GND (Ground)
- Gate A: Inputs on Pins 1, 2 | Output on Pin 3
- Gate B: Inputs on Pins 4, 5 | Output on Pin 6
- Gate C: Inputs on Pins 9, 10 | Output on Pin 8
- Gate D: Inputs on Pins 12, 13 | Output on Pin 11
Critical Bench Rule: Never Leave CMOS Inputs Floating
If you are using a CD4030B or 74HC86 and you only need three of the four XOR gates in the package, you must tie the unused inputs to either VCC or GND. Unlike the older 74LS86 TTL chips, which have internal pull-up resistors that cause floating inputs to default to a logic HIGH, CMOS chips have extremely high input impedance. A floating CMOS input will act as an antenna, picking up ambient electromagnetic noise. This causes the internal MOSFETs to rapidly switch back and forth, leading to high-frequency oscillation. This oscillation will not only corrupt your logic states but will cause the IC to overheat and dramatically increase the current draw on your power rail, potentially triggering a brownout on your microcontroller.
Always place a 0.1 µF (100 nF) ceramic decoupling capacitor as close to Pin 14 and Pin 7 as physically possible. Logic gates switch in nanoseconds, drawing sharp spikes of current from the power rail; without local decoupling, those spikes will induce voltage ripple that can falsely trigger adjacent XOR gates on the same silicon die.






