Plan IPv4 networks
Enter any IPv4 address in CIDR notation or with a subnet mask to get the network and broadcast addresses, usable host range, masks and host counts. Split a block into smaller subnets when planning VPCs, VLANs or office networks.
How to use the CIDR Calculator
- Enter an IP address with a prefix (192.168.1.10/24) or a subnet mask (10.0.0.1 255.255.0.0).
- Drag the prefix slider to explore larger or smaller networks.
- Use "Split into subnets" to list every smaller subnet with its host range.
Frequently asked questions
How many usable hosts does a subnet have?
Usable hosts = 2^(32 − prefix) − 2, because the network and broadcast addresses are reserved. A /24 has 256 addresses and 254 usable hosts. /31 and /32 are special cases with 2 and 1 usable addresses.
Which ranges are private?
10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16 (RFC 1918). The calculator also recognises loopback, link-local, CGNAT and multicast ranges.