Explore the OR gate, a fundamental logic gate that outputs true if at least one input is true.
Last updated: March 2026 | Digital Logic Tool
| Input A | Input B | Output (A OR B) |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 1 |
The OR gate is a fundamental digital logic gate that implements logical disjunction. It outputs a HIGH signal (1) if one or both of its inputs are HIGH (1). Only when both inputs are LOW (0) does the OR gate output a LOW signal (0). This simple but powerful function is one of the building blocks of all digital systems.
In Boolean algebra, the OR operation is represented by the plus sign (+) or the wedge symbol (∨). Along with AND and NOT gates, the OR gate forms the basis of every complex digital circuit. These three fundamental operations can be combined to create logical expressions of any complexity, making them essential to computer science and electronic engineering.
The OR gate is extensively used in multiplexers, decoders, parity checkers, adders, and countless other circuits. Understanding how the OR gate works is fundamental to grasping digital logic and computer architecture.
Output = A OR B = (A ∨ B)
Let's evaluate all four possible input combinations:
OR outputs true if one or both inputs are true. XOR (Exclusive OR) outputs true only if exactly one input is true, but false if both are true (hence 'exclusive').
An OR gate can have any number of inputs. The output will be true (1) if at least one of its inputs is true. More inputs don't change this fundamental behavior.
OR is represented by the wedge symbol (∨) or the plus sign (+). For example: A ∨ B or A + B both mean 'A OR B'.
Yes, the OR operation is commutative. This means A OR B produces the same result as B OR A. The order of inputs doesn't matter.
OR outputs 1 if ANY input is 1. AND outputs 1 only if ALL inputs are 1. They are opposite in how they treat multiple inputs.
Alarm systems (activate if motion OR door break), traffic lights (go if red OR yellow), event triggers, and voting systems often use OR logic.
Yes, OR is associative. This means (A OR B) OR C produces the same result as A OR (B OR C). Grouping doesn't affect the outcome.
NOR is the opposite of OR. If OR outputs 1, NOR outputs 0, and vice versa. NOR = NOT(OR). NOR is actually a 'universal' gate.
Related Tools
Binary arithmetic operations.
Add binary numbers.
Subtract binary numbers.
Multiply binary numbers.
Divide binary numbers.
Convert decimal fractions to binary.