Examples & guide

IP subnet calculator

How to use

Inspect IPv4 and IPv6 networks, masks, ranges and address counts, or test whether an IP belongs to a CIDR block.

Limits

AND the address with a prefix mask to find the first address. The host part has 2^(address bits − prefix) possibilities. IPv4 /31 uses legacy host counting by default, with an RFC 3021 point-to-point option. An inline CIDR prefix takes precedence.

Examples & guide