Logic Gate Calculator

Simulate basic digital logic gates.
Calculator
Enter your values
0
0
Analysis
Interpretation of the current calculator output

Enter values to see detailed analysis and insights.

How to Use

Step-by-step instructions
  1. 1Toggle Input A and Input B.
  2. 2The calculator will show the output for all common logic gates.

Boolean Logic

Shows the output of standard logic gates (AND, OR, XOR, etc.) for the given inputs.
Y = f(A, B)

Variables:

1True / High
0False / Low

Example

AND Gate

Inputs:

A:1 (True)
B:0 (False)

Steps:

  1. 1.A AND B = 1 AND 0 = 0
Result:
0 (False)

Frequently Asked Questions

What is XOR?

Exclusive OR. It is true only if one input is true and the other is false. If both are true, it is false.