Subnet calculator › IPv6 /40

IPv6 /40 prefix · Large organization allocation

The first 40 bits are the network; the remaining 88 bits are address space.

Addresses2^88 (about 3.09 × 10^26)
/64 subnets inside16,777,216
/48 sites inside256
Prefix maskffff:ffff:ff00::
In hex digitsThe first 10 hex digits (nibbles) are fixed

What is a /40 used for?

Example ranges (documentation prefix 2001:db8::/32)

NetworkLast address
2001:db8::/40 2001:db8:ff:ffff:ffff:ffff:ffff:ffff
2001:db8:100::/40 2001:db8:1ff:ffff:ffff:ffff:ffff:ffff
2001:db8:200::/40 2001:db8:2ff:ffff:ffff:ffff:ffff:ffff
2001:db8:300::/40 2001:db8:3ff:ffff:ffff:ffff:ffff:ffff

Expanded: 2001:0db8:0000:0000:0000:0000:0000:0000

Try it in the calculator →

Other IPv6 prefixes

/32 ISP / LIR allocation/44 Mid-to-large organization allocation/48 Standard site allocation/56 Home and small business allocation/60 Small residential delegation/64 Standard subnet (one LAN)/112 Small service range/126 Point-to-point link (legacy)/127 Point-to-point link (RFC 6164)/128 Single host