taap.digitalnetwork engineering toolkit

How many /64 subnets are in a /48?

Answer
65,536 /64 subnets in a /48

The difference between the prefix lengths is 64 − 48 = 16 bits, so a /48 holds 216 = 65,536 /64 subnets. A /48 is the standard enterprise site allocation; every LAN segment gets a /64.

subnet6 · adjust the values
Close-up of a blue circuit board
Close-up of a blue circuit board. Photo: Yogesh Phuyal / Unsplash

The math

2(64 − 48) = 216 = 65,536

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

First subnets of 2001:db8::/48

#/64 subnet
12001:db8::/64
22001:db8:0:1::/64
32001:db8:0:2::/64
42001:db8:0:3::/64
65,5362001:db8:0:ffff::/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 instead of allocating sequentially.

Other sizes inside a /48

New prefixHow many fit/64 networks in each
/52164,096
/56256256
/604,09616
/6465,5361

In practice

Each /64 holds 18,446,744,073,709,551,616 addresses. If you use 100 /64 networks (one per VLAN, say), you take up 0.1526% of the /48 and still have 65,436 left. The 16 bits between /48 and /64 are 4 hex digits: each digit multiplies the number of networks by 16.

To try other values, open the IPv6 subnets calculator with these numbers already filled in.

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 /48?

65,536 (216).