About the Subnet Calculator
Work out any IPv4 subnet from an address and a CIDR prefix or netmask. See the network and broadcast addresses, the usable host range and count, masks in dotted and binary form, and split a network into equal subnets.
Key features
- CIDR or dotted netmask input
- Network, broadcast, host range
- Subnet and wildcard masks
- Binary and hex views
- Split into equal subnets
- Private, public and special ranges
Plan networks without the binary math
Subnetting splits an IP range into smaller networks. Enter an address with its prefix or mask to see the full range, or split a block into equal subnets for VLANs, offices or cloud networks.
Common subnet sizes
| CIDR | Subnet mask | Usable hosts | Typical use |
|---|---|---|---|
| /30 | 255.255.255.252 | 2 | Router-to-router links |
| /29 | 255.255.255.248 | 6 | Small static IP blocks |
| /28 | 255.255.255.240 | 14 | Small office segment |
| /27 | 255.255.255.224 | 30 | Department VLAN |
| /24 | 255.255.255.0 | 254 | Home or office LAN |
| /22 | 255.255.252.0 | 1,022 | Campus network |
| /16 | 255.255.0.0 | 65,534 | Cloud VPC |
Related tools
What is my IP, number base converter and DNS lookup.
How to use the Subnet Calculator
- Enter an IPv4 address with a prefix (192.168.1.10/24) or a subnet mask.
- Or pick the prefix from the list.
- Read the network, broadcast, host range, masks and host count instantly.
- Choose a smaller prefix to split the network into subnets.