Skip to content
digiwleeaTools
LearnGlossaryAboutCheat sheetHow a CPU worksBuild a CPUToolsOpen the lab →

NOT gate (inverter): truth table and symbol

A NOT gate is a logic gate that inverts its input: the output is 1 when the input is 0, and 0 when the input is 1. Here are its symbol, its full truth table, the boolean expression, and how it is actually built.

The NOT gate symbol: a triangle pointing at the output, with a small circle (the inversion bubble) at its tip.

NOT gate truth table

AY
01
10

Boolean expression: Y = A̅. A 1 in the table means a high voltage (logic true) and a 0 means low (false). Read each row as: for these inputs, the output Y is this value.

Try the NOT gate live

Click A to toggle it and watch Y follow the table above. It runs the real simulator, and every row is checked before the page is built.

Embed or cite this circuit

Free to embed on a course page, blog or worksheet: paste this code. The circuit stays live, and the small digiwleea badge links back here.

To cite it: digiwleea, “NOT gate”, https://digiwleea.wleeaf.dev/tools/truth-tables/not/

What the NOT gate does

The NOT gate (also called an inverter) is the simplest gate of all: one input, one output. In CMOS it is a single transistor pair, one PMOS pulling the output up to 1 and one NMOS pulling it down to 0, so exactly one is ever conducting.

Build it yourself

Reading a table is one thing; watching the signals flow is another. Open the logic gate simulator and wire a NOT gate up from transistors, or read how the NOT gate works in CMOS and how gates are designed. You can also generate the table for any expression with the truth table generator.

On a breadboard, six NOT gates come in one chip, the 7404 hex inverter (74LS04, 74HC04): see its pinout and try every gate live. The CMOS CD4069 has six inverters for 3 V to 18 V, on the same pins.

Other gates (or all seven symbols and truth tables on one page):

The NOT gate is one small step toward a working CPU. Build every gate from CMOS transistors and work up to an 8-bit processor in the free digiwleea lab, with the free theory reference alongside.

Open the gate simulator →

Frequently asked

What is a NOT gate?

A NOT gate is a logic gate that inverts its input: the output is 1 when the input is 0, and 0 when the input is 1.

What is the truth table of a NOT gate?

The NOT gate inverts its input: the output is 1 when the input is 0, and 0 when the input is 1. With A=0 the output is 1, and with A=1 it is 0.

What does the NOT gate symbol look like?

It is drawn as a triangle pointing at the output, with a small circle (the inversion bubble) at its tip.

What is the boolean expression for NOT?

The NOT gate is written Y = NOT A (symbolically Y = A).

How many transistors does a NOT gate take?

A standard CMOS NOT gate uses 2 transistors. In digiwleea you build it from transistors and the simulator verifies it against this exact truth table.

Which IC is a NOT gate?

The 7404 hex inverter (74LS04, 74HC04) chip holds six NOT gates in one 14-pin package; its pinout runs live on the 7404 page.