How does a computer chip work?
Click a sum bit to see its gates →
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.
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.
Everything is ones and zeros
Inside a computer, every number, letter, photo and sound is stored as binary: patterns of 1s and 0s, each one a bit. In a chip, a 1 is a wire at a higher voltage and a 0 is a wire near zero volts. With 8 bits you can count from 0 to 255; 64 bits reach over 18 quintillion.
Transistors: switches with no moving parts
A transistor has three connections. A small voltage on one, the gate, decides whether current can flow between the other two, the source and the drain. It is a switch controlled by electricity instead of a finger, and it can flip billions of times a second. Modern transistors are only a few dozen atoms across.
Logic gates: transistors that decide
Wire a few transistors together and you get a logic gate, a circuit that makes a simple decision. An AND gate outputs 1 only if both inputs are 1; OR outputs 1 if either is; XOR outputs 1 if exactly one is. These three are enough to add two bits, as the figure shows: XOR gives the sum digit and AND gives the carry.
From adders to processors
Chain adders together and you can add big numbers. Combine adders, memory cells built from gates, and circuits that choose which operation to do, and you have an arithmetic logic unit, the calculator at the heart of a processor. A processor repeats a simple loop: fetch an instruction from memory, decode it, execute it, store the result.
A clock keeps everything in step, ticking billions of times a second: 3 GHz means 3 billion ticks. Modern chips have many cores, each doing several instructions per tick, so a phone can perform trillions of simple operations every second.
How chips are made
Chips are printed, not assembled. A pure silicon wafer is coated with light-sensitive material and exposed to ultraviolet light through a patterned mask, then etched, doped with other elements and coated with metal, layer upon layer, dozens of times. The newest factories use extreme ultraviolet light to print features far smaller than a virus. One wafer holds hundreds of chips, which are tested and cut apart.
Common myths
- "More GHz always means faster." How much work each tick does, and how many cores share it, matters as much.
- "Computers think in decimal." Everything is binary inside; decimal is only for display.
- "A '3 nm' chip has 3 nm transistors." Process names are now marketing labels; actual features are larger, though still incredibly small.
Questions people ask
How many transistors are in a phone chip?
Modern flagship phone processors contain roughly 15–20 billion transistors, and the largest computer chips have over 100 billion.
What is the difference between a CPU and a GPU?
A CPU has a few powerful cores for varied tasks. A GPU has thousands of simpler cores that do the same operation on lots of data at once, ideal for graphics and AI.
Why do chips get hot?
Every time a transistor switches, a little energy is lost as heat. Billions switching billions of times a second add up, which is why chips need heat sinks and fans.
What is Moore’s law?
Gordon Moore’s 1965 observation that the number of transistors on a chip doubles roughly every two years. It held for decades but has slowed as transistors approach atomic sizes.
Why is silicon used?
Silicon is a semiconductor whose conductivity can be precisely controlled by adding tiny amounts of other elements. It is abundant, and it grows a high-quality insulating oxide layer.
Test yourself
Pick an answer for each question. Every answer comes with an explanation.
0/4 answered01What is a transistor in a chip?
02Which gate gives the sum digit when adding two bits?
03What does 3 GHz mean?
04How are chips made?
Sources & more
Sources
- Transistor (Wikipedia)(opens in a new tab)
- Logic gate (Wikipedia)(opens in a new tab)
- Adder (electronics) (Wikipedia)(opens in a new tab)
- Photolithography (Wikipedia)(opens in a new tab)
Last updated 2026-11-26
Keep exploring
- Phones & GadgetsExplore it
How does noise cancelling work?
- Phones & GadgetsExplore it
How does wireless charging work?
- Phones & GadgetsExplore it
How does a phone battery charge?
- Phones & GadgetsExplore it
How does a touchscreen work?
- Phones & GadgetsExplore it
OLED vs LCD: how do screens make light?
- Phones & GadgetsExplore it
SSD vs hard drive: how does storage work?