Subnet IP Enumerator & CIDR Calculator
Paste a CIDR, an IP with subnet mask, or an explicit range. Get the network summary, every address in the subnet, plus splitter, aggregator and containment helpers — for IPv4 and IPv6.
How CIDR notation works
CIDR (Classless Inter-Domain Routing) replaced the old class-based IPv4 scheme in the 1990s and is now the way every router, firewall, cloud VPC and Kubernetes networking model describes an address block. The notation a.b.c.d/N means "the address a.b.c.d with the first N bits fixed as the network identifier and the remaining 32 − N bits available for hosts". A /24 therefore reserves 24 network bits and 8 host bits, giving 256 total addresses and 254 usable hosts after you remove the network and broadcast.
Worked IPv4 examples
| CIDR | Mask | Total | Usable hosts | Typical use |
|---|---|---|---|---|
/30 | 255.255.255.252 | 4 | 2 | Point-to-point WAN link |
/29 | 255.255.255.248 | 8 | 6 | Tiny DMZ, small router LAN |
/27 | 255.255.255.224 | 32 | 30 | Small office subnet |
/24 | 255.255.255.0 | 256 | 254 | Default home/office LAN |
/23 | 255.255.254.0 | 512 | 510 | Medium office, VLAN per floor |
/16 | 255.255.0.0 | 65,536 | 65,534 | Large campus, AWS VPC default |
Reserved & private ranges to recognise
- RFC 1918 private IPv4 —
10.0.0.0/8,172.16.0.0/12,192.168.0.0/16. Safe to use behind NAT. - RFC 6598 CGNAT —
100.64.0.0/10. Reserved for carrier-grade NAT; sometimes shows up on mobile networks. - Loopback —
127.0.0.0/8(IPv4) and::1/128(IPv6). - Link-local —
169.254.0.0/16(APIPA) andfe80::/10in IPv6 for on-link communication without a router. - IPv6 unique local —
fc00::/7(RFC 4193). The IPv6 equivalent of RFC 1918, intended for site-local addressing. - Multicast —
224.0.0.0/4in IPv4 andff00::/8in IPv6.
IPv6 differences worth remembering
IPv6 removes the concept of a broadcast address and uses well-known multicast groups instead, so this tool reports the broadcast field as not applicable for any v6 input. Subnets are typically allocated in much larger sizes: /64 is the standard LAN, /56 a small site, and /48 a full customer allocation. Because a single /64 contains 18 quintillion addresses, enumerating one is meaningless — that is why the enumerator caps "Show all" at 65,536 addresses (equivalent to a /112). For real network design you read v6 summaries, you don't list IPs.
The /31 and /32 special cases
A /32 represents a single host route — common in BGP loopback advertisements and Kubernetes service IPs. A /30 traditionally provides two usable hosts on a point-to-point link. RFC 3021 added /31 as a more efficient point-to-point block where both addresses are usable, saving address space on WAN circuits. This tool follows RFC 3021, so a /31 reports two usable hosts rather than zero.
Common mistakes
- Treating the broadcast as usable. In a classic IPv4 subnet (
/30through/24) the network address and broadcast must not be assigned to hosts. Use the "Include network & broadcast" toggle to see them in the list when you want to verify the boundary. - Forgetting host bits must be zero.
192.168.1.55/24is a host in the192.168.1.0/24network — the calculator normalises it for you and shows a warning, but route configurations expect the network form. - Mixing dotted-decimal and CIDR. A mask of
255.255.255.0equals/24; learn the common pairs by heart (/24=…255.0,/25=…128,/26=…192,/27=…224,/28=…240). - Trying to enumerate huge subnets. A
/8has 16 million addresses. Enumeration is the wrong tool — use the summary, then split into smaller children if you actually need addressable ranges. - Overlapping VPC ranges. If two cloud VPCs you want to peer share any address bits, peering will fail. Paste both CIDRs into the aggregator and check whether the smallest covering prefix is suspiciously small — that means they overlap.
Quick reference: prefix → mask → hosts
| Prefix | Mask | Total | Usable |
|---|---|---|---|
| /32 | 255.255.255.255 | 1 | 1 |
| /31 | 255.255.255.254 | 2 | 2 (RFC 3021) |
| /30 | 255.255.255.252 | 4 | 2 |
| /29 | 255.255.255.248 | 8 | 6 |
| /28 | 255.255.255.240 | 16 | 14 |
| /27 | 255.255.255.224 | 32 | 30 |
| /26 | 255.255.255.192 | 64 | 62 |
| /25 | 255.255.255.128 | 128 | 126 |
| /24 | 255.255.255.0 | 256 | 254 |
| /23 | 255.255.254.0 | 512 | 510 |
| /22 | 255.255.252.0 | 1,024 | 1,022 |
| /16 | 255.255.0.0 | 65,536 | 65,534 |
Frequently Asked Questions
192.168.1.0/24 or 2001:db8::/126, an IPv4 address with dotted-decimal mask (192.168.1.0 + 255.255.255.0), or an explicit range like 10.0.0.5 - 10.0.0.40. Family is auto-detected.:: for canonical display. The tool follows that rule, so 2001:0db8:0000:0000:0000:0000:0000:0001 becomes 2001:db8::1.