Concept explainer · Beginner · 3 min read
Logic Gate ICs
74HC, 74HCT and CD4000 Explained
By Geekobot Learning Team · Updated 24 Oct 2026
On this page
Logic gate ICs combine digital signals: AND, OR, NOT, NAND, NOR and XOR each give a HIGH or LOW output from their inputs. The 74HC family runs from 2 to 6 V and is fast, 74HCT accepts 5 V TTL-level inputs, and the CD4000 family runs from 3 to 15 V. A typical 14-pin chip has four 2-input gates with power on pin 14 and ground on pin 7.
Key specs at a glance
- 74HC supply
- 2 to 6 V
- 74HCT supply
- 4.5 to 5.5 V, TTL-compatible inputs
- CD4000 supply
- 3 to 15 V (18 V absolute maximum on most parts)
- Package
- DIP-14 or DIP-16 for breadboards, SOIC for PCBs
- Output current
- About 4 to 6 mA per output for 74HC at 5 V; less for CD4000
- Power pins
- Pin 14 VCC, pin 7 GND on most 14-pin 74xx gates
The six basic gates
| Gate | Output is HIGH when | Common 74HC chip | CD4000 chip |
|---|---|---|---|
| NOT (inverter) | Input is LOW | 74HC04 (six gates) | CD4069 |
| AND | All inputs are HIGH | 74HC08 | CD4081 |
| OR | Any input is HIGH | 74HC32 | CD4071 |
| NAND | Any input is LOW | 74HC00 | CD4011 |
| NOR | All inputs are LOW | 74HC02 | CD4001 |
| XOR | Inputs are different | 74HC86 | CD4070 |
- NOT (inverter)
- Output is HIGH when:
- Input is LOW
- Common 74HC chip:
- 74HC04 (six gates)
- CD4000 chip:
- CD4069
- AND
- Output is HIGH when:
- All inputs are HIGH
- Common 74HC chip:
- 74HC08
- CD4000 chip:
- CD4081
- OR
- Output is HIGH when:
- Any input is HIGH
- Common 74HC chip:
- 74HC32
- CD4000 chip:
- CD4071
- NAND
- Output is HIGH when:
- Any input is LOW
- Common 74HC chip:
- 74HC00
- CD4000 chip:
- CD4011
- NOR
- Output is HIGH when:
- All inputs are LOW
- Common 74HC chip:
- 74HC02
- CD4000 chip:
- CD4001
- XOR
- Output is HIGH when:
- Inputs are different
- Common 74HC chip:
- 74HC86
- CD4000 chip:
- CD4070
74HC vs 74HCT vs CD4000
74HC is the default for new hobby circuits: CMOS, low power, fast, and happy at 3.3 V or 5 V. 74HCT has input thresholds that match old TTL parts, so it is the safe choice when a 3.3 V board must drive a 5 V chip: a 3.3 V HIGH is read correctly by a 5 V 74HCT, but not reliably by a 5 V 74HC. CD4000 parts are slower but run up to 15 V, which suits 9 V and 12 V circuits, and the family includes handy counters such as the CD4017 decade counter and CD4060 oscillator-counter.
The 74HC14 has Schmitt-trigger inputs with hysteresis, so it cleans up slow or noisy signals such as a button or an RC delay. For more outputs from few pins see the 74HC595 shift register; for level conversion see logic level shifting.
Wiring rules that prevent strange faults
- 1Put a 100 nF decoupling capacitor across VCC and GND, close to every chip.
- 2Tie every unused input to VCC or GND. Floating CMOS inputs drift, oscillate and waste current.
- 3Do not drive LEDs or relays straight from a gate beyond a few mA; use a transistor or a ULN2003.
- 4Handle CMOS chips by the body, not the pins, to avoid static damage.
- 5Check the datasheet pinout: the 74HC02 NOR has a different pin layout from the 74HC00 NAND even though both are quad 2-input gates.
Try it: LED resistor calculator
Change the values and the diagram and results update as you type.
Common mistakes to avoid
- Leaving unused inputs floating.
- Driving a 5 V 74HC input from a 3.3 V board instead of using 74HCT.
- Skipping the 100 nF decoupling capacitor.
- Assuming every quad gate chip shares the 74HC00 pinout.
- Loading a gate output with an LED or relay directly.
Frequently asked questions
What is the difference between 74HC and 74HCT?
Both are CMOS. 74HCT inputs switch at TTL levels, so they read a 3.3 V HIGH correctly when the chip runs at 5 V. 74HC needs a HIGH of about 3.5 V at 5 V.
Why is NAND called a universal gate?
Any other logic function, including NOT, AND, OR and XOR, can be built from NAND gates alone. NOR gates are universal too.
Can I use a logic gate IC with Arduino?
Yes. A 74HC part at 5 V matches an Uno, and a 74HC part at 3.3 V matches an ESP32 or Pico. Share ground between the board and the chip.
What should I do with unused gates?
Tie their inputs to GND or VCC and leave their outputs unconnected.
Are CD4000 chips still useful?
Yes, for circuits running at 9 to 15 V and for parts like the CD4017 counter, though they are slower and weaker than 74HC.
Parts for this guide
Calculators
Terms in this guide
Projects that use it
Put this into practice: 1 step-by-step build in our project library uses parts from this guide.
Keep learning
Sources
- Nexperia and Texas Instruments 74HC/74HCT family datasheets
- Texas Instruments CD4000B series datasheets
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.



