ClearSum
All calculators

IPv4 and IPv6 subnet calculator

Compute a CIDR block, mask, address count and range from an IPv4 or IPv6 address.

Your inputs

Result

Enter values and select Calculate.

Method and limits

IPv4 /31 has two endpoints only in point-to-point mode. An IPv4 /32 denotes one address, not a multi-host subnet. IPv6 has no broadcast address; this tool reports its inclusive mathematical range, not an assignable-host count. IPv6 display compresses the longest zero run per RFC 5952. RFC 3021 describes /31 usage. The address is processed locally; no traffic is sent to it.

Method reference

Related calculators