IP subnet calculator
Calculate network address, broadcast, netmask and host range from CIDR notation.
Related tools
IP subnet calculator
Paste one or more IPv4 networks and this calculator expands each into the numbers that matter: network address, broadcast address, subnet mask in dotted and prefix notation, wildcard mask, the first and last usable host, the usable host count, and the address class with a private, public, loopback or link-local note. Three input forms work, one per line: CIDR like 192.168.1.0/24, an address with a mask like 10.0.0.0 255.255.0.0, or a bare IP that takes the default prefix set in the options.
It replaces the back-of-envelope binary arithmetic behind everyday network jobs: carving an office network into VLANs, sizing a DHCP scope, checking whether two machines actually share a subnet, or writing access lists — the wildcard mask is exactly what Cisco ACLs expect. Point-to-point /31 links follow RFC 3021 and report two usable addresses, and a /32 host route reports one. Turn on "Show binary" to see the network and mask in dotted binary — the fastest way to verify, or teach, exactly where the prefix boundary falls.
Your addressing plan is infrastructure information that should not leave your machine, and here it never does: every calculation runs locally in your browser, with nothing uploaded, logged or stored anywhere.
Paste a whole plan at once — each line becomes its own labeled block, invalid lines get a calm note without stopping the rest, and the tally under the output counts the subnets calculated as you type.