FullCalculator

Logic Gate Calculator

Two-Input Gate

Calculate the output of a logic gate with two binary inputs

NOT Gate (Inverter)

Calculate the output of a NOT gate (single input inverter)

Three-Input Gate

Calculate output of a gate with three binary inputs

Formula

AND: A·B | OR: A+B | XOR: A⊕B | NAND: ¬(A·B) | NOR: ¬(A+B) | NOT: ¬A

Frequently Asked Questions

What are logic gates?
Logic gates are the fundamental building blocks of digital circuits. They perform basic logical operations (AND, OR, NOT, etc.) on binary inputs (0 and 1) to produce a binary output. All digital devices from calculators to computers are built from combinations of logic gates.
What is the difference between XOR and XNOR?
XOR (Exclusive OR) outputs 1 when the inputs are different. XNOR (Exclusive NOR) outputs 1 when the inputs are the same. XNOR is the inverse of XOR. For two inputs: XOR gives 1 for (0,1) and (1,0), while XNOR gives 1 for (0,0) and (1,1).
What are NAND and NOR gates used for?
NAND and NOR are 'universal gates' because any other logic gate can be built using only NAND gates or only NOR gates. This makes them fundamental in digital circuit design and manufacturing.

You may also need