Why Computers Speak in Numbers

How do you, a human, communicate concepts?


Common answers include language (spoken and written), images (think cave drawings), and even body language. And we are not alone. Whales communicate with songs, dogs with barks, and even the cells in your body send chemical messages to communicate.


Computers communicate with numbers. Why? Because of a tiny electrical component that is behind every modern technology: the transistor. Every transistor sits in one of two electrical states — on or off. That maps directly to 0 and 1, making binary the native language of computers (quantum machines aside).

How a Number Becomes Bits

A computer stores numbers as a row of switches — each one either ON or OFF. Nothing else. Eight switches = one byte. Click any switch or drag the slider.

bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0

This pattern of switches means

65

Pattern

01000001

2 of 8 switches on

0drag to change the number255
Try:

With 8 switches you can represent 256 different patterns — the numbers 0 through 255. Every file, image, and message on any computer is ultimately stored as patterns like this.

Type any text or number and watch it decompose into binary. Each character maps to an ASCII code; each number is stored as powers of 2 summed across 8 bits — one byte.

There are four properties that make numeric representation powerful:

Universality

A face, a sentence, a heartbeat, a click — all can be represented as numbers. One architecture handles every problem.

Efficiency

Binary arithmetic maps directly to what electronic circuits do best. The hardware and the encoding are co-designed.

Manipulability

You can't easily add two photographs together — but you can add their numeric representations. That's how most image processing works.

Interoperability

A file sent from a Mac to a Linux machine just works, because both speak the same numeric foundation.

Checkpoint

Why is binary (base-2) the universal language of modern computing?