This page shows the ANSI, IEC and DIN symbols for the eight major logic gates: NOT, AND, NAND, OR, NOR, XOR, XNOR and the buffer.
| Gate | ANSI/MIL | IEC | DIN | British (BS 3939) | 
|---|---|---|---|---|
| Buffer |  
 | 
 
 | 
 
 | 
 
 | 
| NOT |  
 | 
 
 | 
 
 | 
 
 | 
| AND |  
 | 
 
 | 
 
 | 
 
 | 
| NAND |  
 | 
 
 | 
 
 | 
 
 | 
| OR |  
 | 
 
 | 
 
 | 
 
 | 
| NOR |  
 | 
 
 | 
 
 | 
 
 | 
| XOR |  
 | 
 
 | 
 
 | 
 
 | 
 
 | ||||
| XNOR |  
 | 
 
 | 
 
 | 
 
 | 
 
 |