A XNOR gate, also known as an exclusive NOR gate, does the function of the XOR gate and then negates it. This means that if the result was one it would change it to zero and vice versa. A XNOR gate also has two or more inputs but only a single output. This negated function is done on the XOR gate by putting a small circle at the end of it. As you can see to the right, the symbol is identical to the XOR gate but with a little circle.
The Boolean equation of the logic gate is:
Based on this equation we can find out all possible results of different outputs. This gate can have two or more inputs. Below is the truth table that shows the outputs for all the different input combinations for a twoinput XNOR gate.
The truth table and Venn diagram below represent the different inputs and outputs of the gate. For more information on truth tables and Venn diagrams, click here.
Truth Table: XNOR Gate  2 Inputs 
Input 
Output 
0 
0 
1 
0 
1 
0 
1 
0 
0 
1 
1 
1 


Below, we have provided GIF animations to represent the function of the gate.


XNOR Gate: Input = 00

XNOR Gate: Input = 01




XOR Gate: Input = 10

XNOR Gate: Input = 11

Application
A XNOR gate can be used in a variety of different applications. One example of a XNOR gate in used is in a heat exchanger tank. In the tank, the water can not be too high or too low. There are sensors at both those points. When the water is in the correct range, it is only triggering the lower sensor so there is an input of 1 and 0. Since the output is 0 the alarm won't sound. However when the water is too high and both sensors are at one, or if it is too low and both sensors are at 0, the output will be 1 and the alarm will sound.