How to use this calculator
Type an IPv4 address and choose a CIDR prefix (the /24 part). The calculator instantly shows the network address, broadcast address, the usable host range, total and usable host counts, the subnet mask, and the wildcard mask — and tells you whether the address is private, public, or special-use. To plan VLANs or segments, set a longer split prefix and it lists every child subnet.
Everything runs in your browser; nothing is sent anywhere. The result is encoded in the URL, so you can copy a link to a specific calculation.
What CIDR notation actually means
CIDR (Classless Inter-Domain Routing) describes a network by how many leading bits are fixed. /24 means the first 24 of 32 bits are the network, leaving 8 for hosts — 256 addresses, 254 usable. Each extra bit halves the block: /25 = 128, /26 = 64, /27 = 32. It replaced the rigid Class A/B/C system, so you size a network to what you need instead of jumping in huge steps.
The two addresses you never assign to a device are the network address (first, all host bits 0) and the broadcast address (last, all host bits 1) — which is why usable hosts is total minus 2 (except /31 point-to-point links and /32 single hosts).
Private vs. public ranges
| Range | CIDR | Use |
|---|---|---|
| 10.0.0.0 – 10.255.255.255 | 10.0.0.0/8 | Private (RFC 1918) |
| 172.16.0.0 – 172.31.255.255 | 172.16.0.0/12 | Private (RFC 1918) |
| 192.168.0.0 – 192.168.255.255 | 192.168.0.0/16 | Private (RFC 1918) |
| 100.64.0.0 – 100.127.255.255 | 100.64.0.0/10 | Carrier-grade NAT |
| 169.254.0.0 – 169.254.255.255 | 169.254.0.0/16 | Link-local (APIPA) |
| 127.0.0.0 – 127.255.255.255 | 127.0.0.0/8 | Loopback |
Home and homelab networks live in the RFC 1918 ranges — most consumer routers default to a 192.168.x.0/24. If you’re segmenting a homelab into VLANs, the split feature above makes carving a /24 into per-VLAN /26s or /27s straightforward.
What this pairs with
Planning the physical side of the network too? The PoE power budget calculator sizes a switch for your APs and cameras, the Wi-Fi 7 homelab guide covers the wireless layer, and the budget networking gear guide rounds up switches and routers worth buying.