A NOR gate is a fundamental digital logic component that outputs a HIGH (logic 1) signal only when all of its inputs are LOW (logic 0), effectively acting as an OR gate followed by an inverter. If you are troubleshooting a digital board or designing a discrete logic circuit, understanding the exact voltage thresholds, propagation delays, and current limits of this gate is the difference between a robust design and one that suffers from ghost switching or thermal failure.
The NOR Gate Truth Table and Real-World Voltages
In Boolean algebra, the 2-input NOR function is expressed as Y = NOT (A OR B), or mathematically as Y = A + B with an overbar indicating inversion. While textbooks show clean 1s and 0s, on the workbench, you are dealing with actual silicon voltage thresholds. The logic state is determined by whether the input voltage crosses the VIL (maximum voltage recognized as LOW) or VIH (minimum voltage recognized as HIGH) thresholds.
Below is the truth table mapped to real-world output voltages for the two most common NOR IC families used by hobbyists and engineers: the 5V TTL-compatible CMOS (74HC02) and the 12V standard CMOS (CD4001).
| Input A | Input B | Logic Output (Y) | 74HC02 Output Voltage (VCC = 5.0V) | CD4001 Output Voltage (VCC = 12.0V) |
|---|---|---|---|---|
| LOW (0) | LOW (0) | HIGH (1) | ~4.95V (VOH min 4.5V) | ~11.90V (VOH min 11.5V) |
| LOW (0) | HIGH (1) | LOW (0) | ~0.05V (VOL max 0.1V) | ~0.10V (VOL max 0.5V) |
| HIGH (1) | LOW (0) | LOW (0) | ~0.05V (VOL max 0.1V) | ~0.10V (VOL max 0.5V) |
| HIGH (1) | HIGH (1) | LOW (0) | ~0.05V (VOL max 0.1V) | ~0.10V (VOL max 0.5V) |
Note: Voltages assume a minimal DC load (high-impedance CMOS inputs). When sinking or sourcing current, these output voltages will degrade according to the IC's internal RDS(on) resistance. For exact threshold parameters, always consult the manufacturer's datasheet, such as the Texas Instruments SN74HC02 specifications.
Worked Numeric Example: Sinking Current and Power Dissipation
Let us move from abstract logic to a concrete bench scenario. You are using one gate of a 74HC02 to drive a standard 5mm red LED directly when the NOR gate output goes LOW (current sinking configuration). You need to size the current-limiting resistor and verify that the IC will not overheat.
1. Calculating the Current-Limiting Resistor
- Supply Voltage (VCC): 5.0V
- LED Forward Voltage (Vf): 2.1V
- Target LED Current (If): 15 mA (0.015 A)
- Gate Output LOW Voltage (VOL): 0.1V (at 15mA sink, per onsemi logic family datasheets typical curves)
The voltage dropped across the resistor is the total supply minus the LED drop and the internal transistor drop of the gate:
VR = VCC - Vf - VOL
VR = 5.0V - 2.1V - 0.1V = 2.8V
Using Ohm's Law (R = V / I):
R = 2.8V / 0.015A = 186.6 Ω
The nearest standard E12 resistor value is 180 Ω. Using 180 Ω, the actual current will be 2.8V / 180Ω = 15.5 mA, which is safely within the 74HC02's absolute maximum continuous output current rating of 25 mA per pin.
2. Verifying Power Dissipation in the IC
When the output is LOW, the internal N-channel MOSFET is acting as a switch to ground. The power dissipated as heat inside that specific gate is:
P = VOL × IOL
P = 0.1V × 0.0155A = 0.00155 W (1.55 mW)
A standard 14-pin PDIP package can safely dissipate around 500 mW total. At 1.55 mW per gate, you could theoretically sink 15mA through all four NOR gates on the chip simultaneously without exceeding thermal limits. This numeric verification proves that direct LED driving is viable for indicator lights, provided you respect the per-pin and per-package current limits.
Where You Meet This in Practice
Understanding the definition of a NOR gate goes beyond memorizing a symbol; it changes how you approach circuit design and troubleshooting in three specific ways.
BOM Consolidation via Universal Logic
Because the NOR gate is universal, it changes your physical installation and PCB layout by allowing BOM reduction. If you need a single AND gate and a single NOT gate on a board, you do not need to buy a 74HC08 (AND) and a 74HC04 (NOT). You can use a single 74HC02 (Quad NOR). By tying both inputs of a NOR gate together, you create a NOT gate. By feeding the outputs of two NOR-configured NOT gates into a third NOR gate, you create an AND function. This reduces your IC count, saves board space, and lowers assembly costs.
What People Commonly Confuse It With
The most frequent error on the bench is confusing the NOR gate with the NAND gate. Both are universal gates, but they originate from different silicon eras. NAND is the natural universal gate for older TTL (Transistor-Transistor Logic) families because pulling a line LOW (sinking) was electrically easier in bipolar processes. NOR is the natural universal gate for CMOS processes. If you are repairing vintage 1980s TTL gear, you will see NANDs everywhere; if you are designing modern battery-powered CMOS sensors, NOR gates are often preferred for their sleep-state leakage characteristics.
Another common confusion is Negative Logic OR vs. Positive Logic NOR. In positive logic (where higher voltage = 1), the gate is a NOR. If you invert your perspective to negative logic (where lower voltage = 1, often used in active-low reset lines or interrupt triggers), the exact same physical silicon behaves as an AND gate. Failing to recognize active-low signal conventions leads to hours of frustrating oscilloscope debugging.
A Real-World Analogy: The Press Brake Interlock
To visualize the logic without getting lost in silicon, think of a safety interlock on an industrial press brake. The machine will only cycle (HIGH output) if BOTH the left-hand and right-hand safety buttons are NOT pressed (LOW inputs). If the operator presses either button, or both buttons, the machine halts (LOW output). This strict "all clear" requirement is the exact behavioral definition of a NOR gate.
Silicon Showdown: 74HC02 vs CD4001
When sourcing parts for a project, you will typically choose between the 74HC series (High-speed CMOS) and the 4000B series (Standard CMOS). Here is how they compare for NOR gate implementations.
| Specification | 74HC02 (Quad 2-Input NOR) | CD4001B (Quad 2-Input NOR) |
|---|---|---|
| Operating Voltage (VCC) | 2.0V to 6.0V | 3.0V to 18.0V |
| Typical Propagation Delay (tpd) | ~14 ns (at 5V) | ~60 ns (at 5V), ~30 ns (at 15V) |
| Max Output Current (per pin) | ±25 mA | ±6.8 mA (at 15V) |
| Input Impedance | Extremely High (>1012 Ω) | Extremely High (>1012 Ω) |
| Best Use Case | 5V microcontrollers (Arduino/ESP32), high-speed timing | 12V automotive, 9V battery projects, high-voltage logic |
If you are interfacing with an ESP32 or a 5V Arduino Uno, the 74HC02 is mandatory due to its speed and 5V optimization. If you are building a 12V car alarm or a synthesizer running on ±12V rails, the CD4001B's wide voltage tolerance makes it the undisputed choice.
Frequently Asked Questions
Can I leave unused NOR gate inputs floating?
Absolutely not. Because CMOS inputs have incredibly high impedance, a floating pin acts as an antenna, picking up ambient RF noise and static electricity. This causes the internal transistors to rapidly switch back and forth in the linear region, leading to excessive current draw, overheating, and erratic outputs on the other gates in the same IC. Always tie unused NOR inputs to VCC (which forces a LOW output) or tie them to GND alongside a used input.
Why is my NOR gate output oscillating when I use a mechanical switch?
Mechanical switches suffer from contact bounce, which can occur in the microsecond range. While a human cannot see an LED flicker at 1kHz, a 74HC02 with a 14ns propagation delay will register every single bounce as a distinct logic transition. If this NOR gate is feeding a clock input or a counter, the circuit will miscount. You must debounce the switch using an RC low-pass filter (e.g., a 10kΩ resistor and a 100nF capacitor) or a Schmitt-trigger buffer before the signal reaches the NOR gate.






