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.
Why the Internet Ran Out of Addresses
Four billion sounded infinite in 1981. It was not.
IPv4 uses 32-bit addresses. Its finite public address pool helps explain IPv6, while private addressing and network address translation let multiple devices share a public IPv4 address.
Counting with bits
An IPv4 address is 32 binary digits. The number of distinct addresses is therefore , which works out to about 4.29 billion.
Not every bit pattern is available as a public host address: some ranges are reserved. Network address translation helps share public addresses, but does not enlarge the 32-bit address space.
Each extra bit doubles the number of possible addresses.
The fix: more bits
The successor, IPv6, uses 128 bits — that is , an almost unimaginable number: roughly 340 undecillion addresses, far larger than the IPv4 space.
The old ceiling
- 1
IPv4 total
- 2
IPv6 total
Going from 32 to 128 bits did not add four times the space — it added an incomprehensibly larger universe of addresses.
The takeaway
Doubling per bit is why 32 bits felt endless and then suddenly was not — exponential growth outran the planet.