Key Takeaways

  • Access truth tables for 32 fundamental logic gates.
  • Explore Boolean expressions and operational descriptions for each gate.
  • Download ready-to-use data for digital logic design and study.
  • Use gate types, inputs, and outputs to simulate digital circuits.
Showing 32 of 32
Gate Type Number of Inputs Input A Input B Output Boolean Expression Description
NOT1-1¬AInverts the input
NOT11-¬AInverts the input
AND2A ∧ BOutput 1 only if both inputs are 1
AND21A ∧ BOutput 1 only if both inputs are 1
AND21A ∧ BOutput 1 only if both inputs are 1
AND2111A ∧ BOutput 1 only if both inputs are 1
OR2A ∨ BOutput 1 if any input is 1
OR211A ∨ BOutput 1 if any input is 1
OR211A ∨ BOutput 1 if any input is 1
OR2111A ∨ BOutput 1 if any input is 1
NAND21¬(A ∧ B)NOT AND - Output 0 only if both inputs are 1
NAND211¬(A ∧ B)NOT AND - Output 0 only if both inputs are 1
NAND211¬(A ∧ B)NOT AND - Output 0 only if both inputs are 1
NAND211¬(A ∧ B)NOT AND - Output 0 only if both inputs are 1
NOR21¬(A ∨ B)NOT OR - Output 1 only if both inputs are 0
NOR21¬(A ∨ B)NOT OR - Output 1 only if both inputs are 0
NOR21¬(A ∨ B)NOT OR - Output 1 only if both inputs are 0
NOR211¬(A ∨ B)NOT OR - Output 1 only if both inputs are 0
XOR2A ⊕ BOutput 1 if inputs are different
XOR211A ⊕ BOutput 1 if inputs are different
XOR211A ⊕ BOutput 1 if inputs are different
XOR211A ⊕ BOutput 1 if inputs are different
XNOR21¬(A ⊕ B)Output 1 if inputs are same
XNOR21¬(A ⊕ B)Output 1 if inputs are same
XNOR21¬(A ⊕ B)Output 1 if inputs are same
XNOR2111¬(A ⊕ B)Output 1 if inputs are same
BUFFER1-AOutput equals input (signal amplifier)
BUFFER11-1AOutput equals input (signal amplifier)
IMPLY21A → BLogical implication (if A then B)
IMPLY211A → BLogical implication (if A then B)
IMPLY21A → BLogical implication (if A then B)
IMPLY2111A → BLogical implication (if A then B)

Use Cases

  • Import the CSV file into your Python scripts or SQL databases to programmatically analyze gate behavior or build digital circuit simulators.
  • Use the Excel file to filter gates by type, create custom truth table views, or calculate gate logic for educational purposes.
  • Print the PDF version for classroom reference, offline study, or to include in presentations on digital electronics fundamentals.
  • Leverage this dataset to quickly verify logic gate outputs or as a foundational resource for designing complex digital systems.