IPv6 subnet calculator

IPv6 CIDR range for 2402:8100:4000::3:1f02:4c0/124

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 2402:8100:4000::3:1f02:4c0/124

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

CIDR prefix

2402:8100:4000::3:1f02:4c0/124

Network mask

ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0

Prefix length

/124

Host bits

4

First address

2402:8100:4000::3:1f02:4c0

Last address

2402:8100:4000::3:1f02:4cf

Total addresses

16

Total addresses (human readable)

2^4 addresses (16)

How this range is calculated

  1. 1The /124 prefix keeps the first 124 network bits fixed.
  2. 2Setting all 4 host bits to zero produces 2402:8100:4000::3:1f02:4c0.
  3. 3Setting those host bits to one produces 2402:8100:4000::3:1f02:4cf.

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

2402:8100:4000:0000:0000:0003:1f02:04c0

Recent network calculations

Recent IPv6 CIDR Ranges

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