IPv4 subnet calculator
Explore an IPv4 network, its subnet mask, address range and host counts.
How it works & useful details
How it works & limits
Enter an IPv4 address and a prefix from /0 to /32. The host bits are cleared to find the network; the range includes both endpoints. IPv4 octets use decimal notation without leading zeros.
/31 uses both addresses on a point-to-point link under RFC 3021. /32 represents one address. Other host counts exclude the network and broadcast addresses. Special-purpose ranges may have additional restrictions; this calculation does not establish availability.
Your working space
Explore the live view, then save copyable text and a downloadable file. Everything is calculated locally. Inputs are not stored; refreshing clears them.
These tools inspect address notation and ranges. They do not contact addresses, check availability or establish connectivity.
