Networks
How to identify an IPv6 network from its prefix
The prefix separates the bits identifying the block from the remaining bits. The calculator shows the normalized network and number of addresses.
Before you start
Text is processed in the browser. Consider the content before using it and read the privacy policy.
PrivacyHow to use it
Enter 2001:db8:1234:5678::abcd/64 in the IPv6 CIDR calculator.
Calculate and check the network and host bits.
Interpret 2^64 as the mathematical block size, not the number of available devices.
Worked example
The first 64 bits remain in the prefix; the remaining 64 bits are zeroed to obtain the network.
Result: 2001:db8:1234:5678::/64; 64 host bits; 2^64 addresses.
Limits and checks
The example uses a documentation prefix. The calculation does not confirm delegation, routing or availability and does not configure equipment.
Next step
To check syntax of an address without a prefix, use the IPv6 validator.
How to check the syntax of an IPv6 address