taap.digitalnetwork engineering toolkit

How many /64 subnets are in a /52?

Answer
4,096 /64 subnets in a /52

The difference between the prefix lengths is 64 − 52 = 12 bits, so a /52 holds 212 = 4,096 /64 subnets. A /52 is a nibble-aligned block often given to a building or region inside a /48 plan.

subnet6 · adjust the values

The math

2(64 − 52) = 212 = 4,096

The subnet ID lives in the last three hex digits of the fourth hextet. Each /64 is one LAN with 264 interface addresses, enough for SLAAC.

First subnets of 2001:db8::/52

#/64 subnet
12001:db8::/64
22001:db8:0:1::/64
32001:db8:0:2::/64
42001:db8:0:3::/64
4,0962001:db8:0:fff::/64

Addresses are written in RFC 5952 form: lowercase, no leading zeros, longest zero run compressed to ::.

Planning tip

Keep subnet boundaries on nibbles (multiples of 4 bits) so each subnet ID maps to whole hex digits and reverse DNS (ip6.arpa) delegation stays clean. Encode structure (site, function, VLAN) in those digits rather than allocating sequentially.

More questions like this

Frequently asked questions

How many addresses are in each /64?

264 addresses. That is one LAN segment; never size it by host count.

How many /64s are in a /52?

4,096 (212).