IPv4 subnet calculator

Enter an IPv4 address and prefix length to find its network range. All calculations run in your browser.

Calculate a subnet

Reading the result

The network and broadcast addresses mark the boundaries of a subnet. For prefixes up to /30, the usable range excludes both. A /31 is commonly used for point-to-point links; a /32 identifies a single address.