The Maths Behind Everyday Life
The story, the formula and a worked example — see exactly where this maths shows up in the world around you.
How 7 bits gave computers their first alphabet
Seven on-off switches encode exactly 128 characters — the original ASCII set.
Before emoji and accents, computers spoke ASCII: a 7-bit code mapping numbers to letters, digits and symbols. Seven bits give exactly 128 slots, which was enough for English text.
Bits set the alphabet size
Each bit doubles the number of codes. Seven bits give 2 to the 7 distinct characters.
Characters in 7-bit ASCII
Count the slots
See why 128.
ASCII capacity
- 1
Two to the seventh
- 2
What it held
Letters, digits, punctuation and control codes — later extended to 8 bits for 256.
128 characters from 7 bits built the foundation of digital text.
The formula behind it
Character Count
The takeaway
ASCII is 7-bit, giving 2^7 = 128 characters. Each added bit doubles the alphabet, which is how we reached Unicode.