698 tools
All

Logic Gate Calculator

AND, OR, XOR, or NAND of two bits.

Out

About this calculator

Use this calculator to evaluate a two-input gate. Choose bits A and B and the gate.

1 AND 0 is 0. XOR is 1 when the bits differ. NAND is the invert of AND. More than two inputs are just several of these gates in a row.

A: First bit.

B: Second bit.

Gate: Which operation.

Out: Result bit.