Skip to content
digiwleeaTools
LearnGlossaryAboutCheat sheetHow a CPU worksToolsOpen the lab →

CD4069 (CD4069UB): the CMOS hex inverter chip, live

The CD4069UB is a 4000-series CMOS chip with six inverters: each output is the opposite of its input, G = NOT A, H = NOT B, and so on to L = NOT F. It runs from 3 V to 18 V, and its pins sit in the same places as the 7404's. This live chip has all six inverters.

TI's datasheet describes the CD4069UB as six CMOS inverter circuits "intended for all general-purpose inverter applications where the medium-power TTL-drive and logic-level-conversion capabilities of circuits such as the CD4009 and CD4049 hex inverter and buffers are not required", and lists logic inversion, pulse shaping, oscillators and high-input-impedance amplifiers as its uses. UB stands for unbuffered: each inverter is a single CMOS stage, one PMOS and one NMOS transistor, which is exactly the CMOS inverter each one here is built from. A single stage switches less sharply than a buffered gate, and that lower gain is why the datasheet's typical crystal and RC oscillator circuits use it: a feedback resistor biases the inverter in the middle of its range, where it works as an amplifier. This simulator shows the logic side, 1 in and 0 out. The pin positions match the TTL 7404, with VDD on pin 14 and VSS on pin 7. All 64 combinations of the six inputs are checked before the page is built.

Live circuit: click the inputs to toggle them and watch the outputs update. It runs the real simulator, right here on the page.

Open this circuit in the lab →

What you need

Step by step

  1. Power the chip: VDD on pin 14 and VSS on pin 7, anywhere from 3 V to 18 V.
  2. Each inverter has one input and one output; find their pins in the pinout below.
  3. Tie every unused input to VCC or GND: a floating CMOS input can drift and draw current.
  4. Set input A to 1: output G goes to 0, and back to 1 when A is 0. Each output is the opposite of its own input.

CD4069 pinout

PinNamePinName
1A14VDD
2G13F
3B12L
4H11E
5C10K
6I9D
7VSS8J

Inverter truth table (each of the six)

AY
01
10

Pin numbers and names are from TI's CD4069UB (SCHS054E) datasheet, checked 2026-10-25. Each gate is independent; the chip only shares the power pins.

You can also read the full theory in the lesson on the NOT gate. Prefer to build it yourself from scratch? Open the digiwleea lab and place the gates on the canvas, or start from the logic gate simulator.

Build more parts from gates

half adderfull adderhalf subtractorfull subtractor2:1 multiplexer4:1 multiplexerXOR gate from NAND gates2-to-4 decoderSR latchD flip-flopJK flip-flopT flip-flop4-bit shift register4-bit ripple carry adderD latch1-to-4 demultiplexer4-bit magnitude comparator4-bit ring counter4-bit Johnson counter4-to-2 priority encoder4-bit synchronous counter3-to-8 decoder8-to-1 multiplexer4-bit carry lookahead adderhalf adder from NAND gates2-bit comparatorBCD to 7-segment decoder4-bit up/down counterdecade counter2-bit multiplier4-bit ALU4-bit array multiplierNOT, AND, OR and NOR from NANDNOT, OR, AND and XOR from NORfull adder from NAND gatesSR latch from NAND gatesparity generator and checker4-bit adder/subtractorBCD adder4-bit universal shift registermod-6 counter4-bit ripple counterbinary to Gray code converterhalf adder from NOR gatesfull adder from NOR gates4-bit register with parallel load1011 sequence detectorbinary to BCD converterD flip-flop from NAND gates1-bit ALUCMOS inverterCMOS NAND gateCMOS NOR gatePISO shift registerSR flip-flop from NAND gatesBCD to excess-3 code converterHamming (7,4) code encoder and correctortraffic light controller4-bit barrel shifterCMOS AND gateCMOS OR gateCMOS XOR gate1-bit magnitude comparatorhalf subtractor from NAND gatesfull subtractor from NAND gates8-to-3 encoderGray to binary converter4-to-16 decoderfull adder using 4:1 multiplexersedge detectorserial adder4-bit carry-select adder4-bit Kogge-Stone adder4-bit carry-skip adder4x4 Wallace tree multiplier8-bit adderfrequency divider (by 2, 4 and 3)switch debouncer (SR latch)3-bit Gray code counterMealy machine (1011 detector)master-slave JK flip-flop (NAND)half subtractor from NOR gates1-to-8 demultiplexerexcess-3 to BCD code convertervending machine FSM4-bit carry-save adder3-bit synchronous counter (JK)CMOS transmission gatetri-state buffer (CMOS)2-to-1 mux from transmission gatesmod-5 counterflip-flop conversion (JK to D)8-bit ALUdecimal to BCD encoderBCD to decimal decoder4-to-1 mux from 2-to-1 muxesXOR gate from NOR gates4-bit LFSR74LS138 decoderBCD subtractor74181 ALUCMOS AOI gate (AOI21)D latch vs D flip-flop74LS47 BCD to 7-segment decoder74HC595 shift register7400 quad NAND gate chip7402 quad NOR gate chip7404 hex inverter chip7408 quad AND gate chip7432 quad OR gate chip7486 quad XOR gate chip7474 dual D flip-flop74HC165 shift registerCD4017 decade counter74LS283 4-bit adder74LS90 decade counter74HC161 4-bit counter74HC151 8-to-1 multiplexer74HC157 quad 2-to-1 multiplexer74HC139 dual 2-to-4 decoderCD4511 BCD to 7-segment decoder7492 divide-by-12 counter7493 4-bit binary counter74HC244 octal bufferRace-around condition (JK latch)74HC373 octal latch74HC374 octal D flip-flopTurnstile state machine1-to-2 demultiplexerhalf adder using 2:1 multiplexersregister file (4 x 4-bit)digital PWM generatorCD4013 dual D flip-flop74LS76 dual JK flip-flop7410 triple 3-input NAND chip7411 triple 3-input AND chip7420 dual 4-input NAND chipCD4011 quad 2-input NAND chipCD4001 quad 2-input NOR chipCD4081 quad 2-input AND chip74HC164 8-bit shift register

Each of these is one step from a transistor to a working CPU. Build every gate from CMOS transistors and work all the way up in the free digiwleea lab, with the free theory reference alongside.

Open the CD4069 hex inverter chip in the lab →

Frequently asked

What is the CD4069?

A 4000-series CMOS hex inverter: six independent NOT gates in a 14-pin package, for supplies from 3 V to 18 V. VDD is pin 14 and VSS pin 7.

What is the CD4069 pinout?

Pin 1 A, 2 G, 3 B, 4 H, 5 C, 6 I, 7 VSS, 8 J, 9 D, 10 K, 11 E, 12 L, 13 F, 14 VDD, with G = NOT A, H = NOT B, I = NOT C, J = NOT D, K = NOT E and L = NOT F.

What does UB mean in CD4069UB?

Unbuffered. Each inverter is a single CMOS stage of one PMOS and one NMOS transistor, without extra buffer stages on the output. That gives a softer switching curve, useful in oscillators and simple amplifiers; buffered gates switch more sharply.

Can a CD4069 replace a 7404 or 74HC04?

The pins are in the same places and the logic is the same, but the families differ: the CD4069UB runs from 3 V to 18 V, the 74HC04 from 2 V to 6 V and faster, and the 74LS04 is a 5 V TTL part with different input levels. Check the supply and the logic levels of what it drives.