Logic Gate Simulator

Interactive digital logic visualization tool.

Input A
Input B
AND
Result
0

Truth Table

A B OUT

Understanding Digital Logic Gates

Logic gates are the basic building blocks of any digital system. They are electronic circuits having one or more than one input and only one output.

Example Calculation (XOR Gate)

An XOR (Exclusive OR) gate gives an output of 1 only when the inputs are different. If A=1 and B=0, the output is 1.