Chips make small mistakes all the time
Can't play sound? The illustrated version is right below.
Read the transcript
The full narration of the video.
Nineteen billion switches. Why don't they descend into chaos? That's how many switches sit inside one phone chip. Here's the surprise: they make small mistakes all the time.
The voltage wobbles, a hot chip slows down a little, and now and then a particle from space knocks a bit over. Start with a one inside the chip: it's really just a high voltage, and a zero is a low one. Think of a school's morning exercises. There are only two moves: arms up, or arms down.
If your arm is a little crooked, the teacher still counts it as up. Switches read signals the same way. A slightly weak voltage still counts as a one, and the next switch sends it on at full strength. So a small wobble never travels far. One step, and it's wiped clean.
Reading right isn't enough. Billions of switches also have to move together. The exercise class follows the count on the speaker: one, two, three, four. Nobody moves until they hear it. A chip has a count too, called the clock. When a phone spec says 3.78 gigahertz, that's the clock ticking 3.78 billion times a second.
The gap between ticks is set by the slowest chain of switches, plus some spare time. So a switch that runs hot and slow still makes the next beat. Those two tricks handle small wobbles. Switches that are truly broken get caught before the chip ever ships. Every chip is tested at the factory. If one section is bad, it's sometimes switched off, and the chip is sold as a lower model.
Memory has one more trick: every string of bits is stored with a few extra check bits. If one bit gets flipped, the check bits reveal which one, and it's flipped back. Almost all server memory does this. Even these tricks miss sometimes: big data centers now and then find chips that quietly compute wrong. And a sudden crash is sometimes an error that got through.
No single switch is perfect, yet the whole chip is still reliable. What else have you seen that gets dirty or chipped, and still works fine?
Nineteen billion switches
One phone chip (Apple's A17 Pro, for example) holds 19 billion switches, called transistors. On means 1, off means 0. To see how they add up to a machine that does math, read our microprocessor episode.
These switches slip up constantly: the voltage wobbles, a hot chip slows down, and now and then a particle from cosmic rays flips a bit.
Yet your phone works fine. From design to factory, a chip is built in layers that stop errors.
A crooked arm still counts
Think of school morning exercises (a daily group routine in Chinese schools): there are only two moves, arms up or arms down. If your arm is a little crooked, the teacher still counts it as up.
A chip only recognizes two levels, high voltage and low, with a wide "doesn't count" gap in between. A slightly weak voltage still reads as a 1, and the next switch sends out a full-strength signal.
A small wobble is wiped out after one step.
Move on the count
The exercise class follows "one, two, three, four" from the speaker, and nobody moves until they hear it. A chip has a count too, called the clock. When a phone spec says 3.78 GHz, that's the clock ticking 3.78 billion times a second.
The gap between ticks is set by the slowest chain of switches, plus spare time. So even when the chip runs hot and a chain slows down, it still makes the next beat.
Bad parts out, flipped bits back
This trick is called an error-correcting code. A QR code still scans with a dirty corner for the same kind of reason.
Some still slip through
Big tech companies occasionally find processor cores in their data centers that quietly compute wrong. And when a memory error is too big to fix, the computer just stops: that's the crash you see.
So no switch is perfect. The whole chip is simply designed to expect mistakes.
yet the chip is reliable
Quick check
A switch's voltage sags a bit. Why is that usually fine?
Like morning exercises with only arms up or down: a crooked arm still counts as up, so a small wobble is wiped out after one step.



