IP Subnet Calculator
Network address, broadcast, and usable host range from a CIDR.
Network
Result
About IP Subnet Calculator
Enter an IPv4 address and CIDR prefix to get the network address, broadcast address, subnet mask, and usable host range, a quick reference for network planning or troubleshooting.
What's calculated
Network address, broadcast address, subnet mask, wildcard mask, first and last usable host, usable host count, and total address count — all derived directly from the IPv4 address and CIDR prefix you enter.
How /31 and /32 are handled
For /31 point-to-point links, both addresses are usable under RFC 3021. A /32 represents a single host address. Neither has a conventional directed broadcast address.
How to use it
Enter an IPv4 address and choose a CIDR prefix length, and the network address, broadcast address, subnet mask, and host range update automatically.
Use cases
Check the usable host range for a subnet before assigning addresses. Find the broadcast address for a given network. Quickly reference a subnet mask for a CIDR prefix during network troubleshooting.
Limitations
Works with IPv4 only — it doesn't support IPv6 addresses. The /31 calculation assumes a point-to-point link under RFC 3021.
Does this apply the RFC 3021 /31 exception?
Yes — a /31 point-to-point link has two usable addresses; a /32 identifies one host.
Is this actually free?
Yes.