IP Subnet Calculator
This free IPv4 subnet calculator works out everything about a subnet from an IP address and a prefix length (CIDR) or a subnet mask: the network address, broadcast address, wildcard mask, the first and last usable host addresses, and how many hosts the subnet can hold. It is handy for planning networks, checking firewall rules or studying for networking exams. All calculations happen locally in your browser.
Tip: for /31 point-to-point links both addresses are usable per RFC 3021; for /32 the single address is a host route. This calculator follows those conventions.