taap.digitalnetwork engineering toolkit

How many /48 subnets are in a /32?

Answer
65,536 /48 subnets in a /32

The difference between the prefix lengths is 48 − 32 = 16 bits, so a /32 holds 216 = 65,536 /48 subnets. A /32 is the minimum allocation an RIR gives an ISP or LIR; each customer site typically gets a /48.

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(48 − 32) = 216 = 65,536

The subnet ID lives in the third hextet. Each /48 still contains 65,536 /64 LAN segments.

First subnets of 2001:db8::/32

#/48 subnet
12001:db8::/48
22001:db8:1::/48
32001:db8:2::/48
42001:db8:3::/48
65,5362001:db8:ffff::/48

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 /32

New prefixHow many fit/64 networks in each
/3616268,435,456
/4025616,777,216
/444,0961,048,576
/4865,53665,536
/521,048,5764,096
/5616,777,216256
/60268,435,45616
/644,294,967,2961

In practice

Each /48 holds 1,208,925,819,614,629,174,706,176 addresses. If you use 100 /48 networks (one per VLAN, say), you take up 0.1526% of the /32 and still have 65,436 left. The 16 bits between /32 and /48 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 /48?

280 addresses. That equals 65,536 /64 subnets.

How many /64s are in a /32?

4,294,967,296 (232).