The Foundry · Level 1

Binary: count in 1s and 0s

A computer only knows two things: on and off. Flip the switches and watch it count.

Flip the bits

Each switch is one . It is worth the number on top, but only when it is on. Add up the ones that glow.

Decimal (what we count in)
0
Binary (what the computer sees)
00000000
Eight bits make one byte. Each place is double the one to its right: 1, 2, 4, 8, 16, 32, 64, 128. With all eight switches you can count every whole number from 0 to 255. That is 256 different values from just on and off.

← The Foundry · every fact here is real science, kept simple. Tap the underlined words to dig deeper.