what does this symbol mean?
IEEE Std 91 An OR gate shape with a second curved line just behind its back

XOR gate

An XOR (exclusive OR) gate’s output is 1 when its inputs differ and 0 when they are the same. Its symbol is the OR gate’s shape with a second curved line behind its back.

Easily confused with

How to read it

Kuphaldt’s Lessons in Electric Circuits gives the rule: the output is high if the inputs are at different logic levels, 0 and 1 or 1 and 0, and low if they are the same. It differs from the OR gate only when both inputs are 1. Boolean algebra writes XOR with a circled plus, Y = A ⊕ B, as Texas Instruments does for each gate on its SN74HC86; Unicode also has a separate ⊻ named XOR. Kuphaldt lists comparing binary numbers bit for bit, error detection (parity checks) and code conversion among the gate’s uses.

Also searched as: ⊕, =1, EOR, exclusive OR, XOR gate symbol, XOR truth table.

Truth table

ABY = A ⊕ B
000
011
101
110

The two standard shapes

  • Distinctive shape ANSI/IEEE Std 91: the OR shape with a second curve behind it.
  • Rectangular shape IEC 60617-12: a box marked =1.

The rectangular form is a box marked =1. Texas Instruments’ guide to IEEE Std 91 defines it as one and only one input active to activate the output, and gives a separate qualifying symbol, 2k + 1, for an odd number of active inputs. With two inputs the two come to the same truth table.

Look-alikes

The OR gate has a single curved back. The XNOR gate is the XOR shape with a small circle at the output.

More logic gate symbols

The same shape elsewhere

Sources

Researched, edited and approved by Rory Hansen before publishing. Last reviewed October 9, 2026. How we research

Added .

Report a problem

Please don’t include personal details.