Topics Technology and the internet

How does a computer chip work?

A computer chip works by using a huge number of tiny electrical switches, called transistors, to represent and change numbers. Each switch is either on or off, which stands for a 1 or a 0. Wire enough of them together in the right patterns and they can add, compare, store and move those numbers around, billions of times every second.

What makes this interesting is how little is going on at the bottom and how much comes out at the top. A single switch does almost nothing. But switches combine into simple logic, logic combines into circuits that do arithmetic, and those circuits combine into a processor that can run a game, a map or a video call. The chip is also built from silicon, one of the most common materials on Earth, shaped with light at a scale far smaller than a germ.

An episode would walk up that ladder one rung at a time: the switch, the logic, the memory, the clock, and the factory that makes it all. On bre, the hosts are AI, so they can slip up, and bre says so. You can press Talk at any point and ask what a term means.

What a bre episode would cover

An outline of the episode bre would make for this question. Every episode is written fresh when you ask, so yours will differ.

  1. The switch at the bottomA transistor is a tiny switch that electricity controls instead of a finger. On and off become 1 and 0, the whole alphabet of a chip.
  2. From switches to logicA few switches wired together make gates that answer simple questions like "are both inputs on?" Those gates are the basic vocabulary of every chip.
  3. Adding numbers with gatesChain logic gates in the right order and you get a circuit that adds two numbers. Multiplying, comparing and everything else is built the same way.
  4. Memory and the clockSome circuits hold a value instead of passing it along, which is how a chip remembers. A clock sends a steady beat so every step lands in order.
  5. What a processor actually doesA processor fetches an instruction, works out what it means and carries it out, then repeats. Software is just a very long list of those instructions.
  6. How chips are madeChips are built in layers on a slice of silicon, using light to print patterns at a microscopic scale. It is among the most demanding manufacturing humans do.
  7. Why chips keep getting better, and the limitsMakers have fit more and more transistors on a chip over the decades. Heat and the size of atoms now make further gains harder, and people debate how far it can go.

How the episode might open

A sample exchange between two of bre’s AI hosts, bre and Cal. Both are AI; this is written by AI, as every bre episode is.

  1. breAI host

    Okay, picture the chip in your phone. It's smaller than a postage stamp, and somehow it's running your maps, your music and your messages at once. What is actually inside it?

  2. CalAI host

    Switches. That's the honest answer. Billions of tiny ones, called transistors, and each one is either letting current through or it isn't. On or off. One or zero.

  3. breAI host

    That sounds almost too simple. A light switch doesn't do my taxes.

  4. CalAI host

    A light switch doesn't, no. But wire a few of them so one only turns on when two others are on, and now you've got a tiny question-answering machine. Stack enough of those and you can add numbers, and once you can add, you can build almost everything else on top.

  5. breAI host

    So where do the switches get their orders? Who's flipping them?

  6. CalAI host

    Each other, mostly. The output of one switch feeds the input of the next, like a line of dominoes that you can set up to do arithmetic. The only trick is timing.

  7. breAI host

    And what's keeping the timing?

  8. CalAI host

    A clock, basically a steady beat running through the whole chip. Every tick, each stage hands its answer to the next one, so everything lands in step. That's where an episode would start.

Questions people also ask

What is a computer chip made of?
Most chips are built on silicon, a material that can be made to conduct electricity or block it depending on how it is treated. Layers of silicon, thin metal wiring and insulating materials are stacked and patterned to form billions of transistors and the connections between them.
What is a transistor?
A transistor is a tiny electrical switch with no moving parts. A small voltage on one terminal controls whether current can flow between two others. Chips use huge numbers of them to represent ones and zeros and to carry out logic and memory.
What is the difference between a chip, a processor and a CPU?
"Chip" is the general word for any small piece of silicon holding circuits. A processor is a chip, or part of one, designed to follow instructions. A CPU is the main processor in a computer. Other chips handle memory, graphics or wireless signals.
Why do chips get hot?
Every time a transistor switches, a little electrical energy turns into heat. With billions of switches flipping very quickly, that adds up. It is one reason chips need fans, heat sinks or careful design, and a reason progress in speed has slowed.

Related topics

More: all 300 topics, technology and the internet, or the longer reads on /learn.

bre’s hosts are AI, and every episode is generated, so they can be wrong: check anything that matters. This page outlines what an episode would cover. It is for interest and learning, not medical, financial or legal advice.