IP Subnet Calculator
Enter an IPv4 CIDR or an IP address with a subnet mask. See network address, broadcast, usable range, host count, wildcard mask, and more.
Input
Format: IP/prefix such as 10.0.0.1/8 or 172.16.5.3/20.
You can use dotted mask or prefix such as /24.
Results
IP address
Subnet mask
Wildcard mask
Network address
Broadcast address
First usable host
Last usable host
Total addresses
Usable hosts
IP class
Subnet this network
Example: split /16 into /20 networks.
| # | Network | Range | Broadcast |
|---|---|---|---|
Showing first {{ subnet.limit }} subnets for performance.
IPv4 subnetting explained
IPv4 addresses are 32 bits, written as four octets in dotted decimal. A subnet mask or prefix length tells you how many of those bits belong to the network. The remaining bits identify hosts inside that network.
Key outputs
- Network address is the first address in the subnet.
- Broadcast address is the last address. Hosts use it to reach all peers on the subnet.
- Usable range sits between network and broadcast. These are the assignable host addresses.
- Wildcard mask is useful in ACLs and some router syntax.
Practical tips
- For small point to point links, /31 avoids wasting addresses.
- Use the Subnetter to plan splits, for example carving a /24 into multiple /28s for lab VLANs.
- Keep a record. Export the CSV and attach it to your change ticket so others can follow your plan.
If you would like IPv6 support, we can add it as an advanced tab with abbreviations, zero compression, and prefix maths.