IPv6 subnet calculator

IPv6 CIDR range for 2001:db8:cafe:beef::/122

Calculate the network address, final address, mask, and exact address capacity of any IPv6 CIDR prefix.

Example: 2606:4700::/32

Host bits are normalized to the network address before the range is calculated.

CIDR calculation

Network details for 2001:db8:cafe:beef::/122

The prefix identifies a network with 6 host bits. Every address from the first address through the last address belongs to this range.

CIDR prefix

2001:db8:cafe:beef::/122

Network mask

ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffc0

Prefix length

/122

Host bits

6

First address

2001:db8:cafe:beef::

Last address

2001:db8:cafe:beef::3f

Total addresses

64

Total addresses (human readable)

2^6 addresses (64)

How this range is calculated

  1. 1The /122 prefix keeps the first 122 network bits fixed.
  2. 2Setting all 6 host bits to zero produces 2001:db8:cafe:beef::.
  3. 3Setting those host bits to one produces 2001:db8:cafe:beef::3f.

Network address

The normalized prefix base

CIDR notation describes a network, not a single host. If an address with host bits set is entered, this calculator normalizes it to the network base before calculating the range.

Expanded network address

2001:0db8:cafe:beef:0000:0000:0000:0000

Recent network calculations

Recent IPv6 CIDR Ranges

Open recent IPv6 prefixes to inspect their normalized range, mask, and address capacity.