Real World Maths Busters

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.

Back to all stories
Technology 3 min read

IPv6 could give every grain of sand its own address

Going from 32 to 128 bits does not multiply the addresses — it makes them astronomical.

IPv6 uses 128-bit addresses. You might think that is four times IPv4's 32 bits, so four times the addresses. In fact it is 2 to the 128 — a number so vast it dwarfs the count of atoms in a human body.

Bits are exponents, not multipliers

Each extra bit doubles the address space. Going from 32 to 128 bits multiplies the count by 2 to the 96, not by 4.

N=2128N = 2^{128}

Total IPv6 addresses

The scale of it

Put 2 to the 128 in perspective.

How big is IPv6?

  1. 1

    Two to the 128

    2128≈3.4×10382^{128} \approx 3.4 \times 10^{38}
  2. 2

    Per person

    That is roughly 10^28 addresses for every human alive — effectively unlimited.

Answer

About 3.4 x 10^38 addresses — we will not run out again.

The formula behind it

Address Space

N=2128N = 2^{128}

The takeaway

Adding bits grows address space exponentially. IPv6's 128 bits give 2^128 addresses — an effectively inexhaustible supply.

Back to all stories