How to use the cidr table lookup
- Look up any CIDR prefix from /0 to /32 to see its subnet mask, usable hosts, and block size.
- Click any row to copy the mask or wildcard to your clipboard.
- Bookmark for quick reference during ACL or VLAN planning.
Masks and host counts
| CIDR | Subnet Mask | Wildcard | Total IPs | Usable Hosts |
|---|
/24 maps to 255.255.255.0 — eight host bits, 254 usable hosts per subnet. The classic 'Class C' size.
A /23 has 9 host bits = 512 addresses, 510 usable. Two contiguous /24s aggregated into one larger subnet.
/31 follows RFC 3021: both of its 2 addresses are usable, saving two addresses on every point-to-point link.
/25 = 255.255.255.128. Its wildcard is the inverse: 0.0.0.127.