Skip to content
HowlumeAll topics

How does a computer chip work?

A= 6
B= 3
Σ= 9

Click a sum bit to see its gates →

column 0: one full adderABcarry inXORANDXORANDORsum 1carry 0
6 + 3 = 9in ordinary numbers
~110transistors in this 4-bit adder
3 GHz= 3 billion steps a second

Orange wires are "on" (1), grey are "off" (0). When a column adds 1 + 1, it writes 0 and carries 1 into the next column, exactly as you carry a ten in ordinary addition.

A 4-bit adder, the kind of circuit at the heart of every processor. Click the bits to change the two numbers. Each column is a 'full adder' made of 5 logic gates, and each gate is built from a handful of transistors acting as switches.

Overview

Short answer

A computer chip is billions of tiny transistor switches on a sliver of silicon. Wired into logic gates, they do simple yes/no decisions on ones and zeros, and combined into adders and memory they can calculate billions of steps every second.

A computer chip is a sliver of silicon carrying billions of microscopic switches called transistors. Each one does something almost trivially simple: on or off. Wired together cleverly, they add numbers, run apps and render games.

Play with the figure, then press Next (or the → key) to go step by step.