NAND Bricks: build every logic gate from NAND
NAND Bricks is a free logic circuit sandbox that runs in your browser. NAND is the only gate. Wire NAND gates together, save a working circuit as a brick, and reuse that brick to build bigger ones, from NOT and XOR up to adders. Inputs and outputs show 0 and 1, and every NAND inside every brick stays visible.
Drafts stay in the browser. When a circuit is worth keeping, share publishes a snapshot and returns a link.
Open NAND BricksFree, in your browser, nothing to install.
Guides
These guides start from a single NAND and build up to a working 4-bit adder. Each one shows the circuit, the truth table, and how many NAND gates it takes.
- How to build a NOT gate from a NAND gate
- How to build an AND gate from NAND gates
- How to build an OR gate from NAND gates
- How to build a NOR gate from NAND gates
- How to build an XOR gate from NAND gates
- How to build an XNOR gate from NAND gates
- How to build a 2-to-1 multiplexer from NAND gates
- How to build a half adder from NAND gates
- How to build a full adder from NAND gates
- How to build a 4-bit adder from NAND gates