IPv4 is tiny by design
All of IPv4 (4.29 billion addresses) could fit inside a single /8 of IPv6—less than one 256th of one percent of IPv6 space.
Enter IP/prefix. Works with IPv4 and IPv6 (IPv4-embedded IPv6 supported).
Tip: Try or .
This short guide explains the terms you’ll see in the results and how to choose a subnet that fits your needs.
CIDR writes a network as IP/prefix, e.g., 192.168.1.10/24 (IPv4) or 2001:db8::/48 (IPv6). The prefix counts the network bits.
For most prefixes, usable hosts = total − 2 (reserve network & broadcast). Special cases:
| Prefix | Subnet Mask | Usable Hosts | Total |
|---|---|---|---|
| /24 | 255.255.255.0 | 254 | 256 |
| /25 | 255.255.255.128 | 126 | 128 |
| /26 | 255.255.255.192 | 62 | 64 |
| /27 | 255.255.255.224 | 30 | 32 |
| /28 | 255.255.255.240 | 14 | 16 |
| /29 | 255.255.255.248 | 6 | 8 |
| /30 | 255.255.255.252 | 2 | 4 |
| /31 | 255.255.255.254 | 2* | 2 |
| /32 | 255.255.255.255 | 1* | 1 |
*Special cases: /31 point-to-point (2 usable), /32 single host.
| Prefix | Addresses | Typical use |
|---|---|---|
| /48 | 280 | Large site allocation |
| /56 | 272 | Small site allocation |
| /64 | 264 | Standard LAN / SLAAC networks |
| /128 | 1 | Single interface address |
All of IPv4 (4.29 billion addresses) could fit inside a single /8 of IPv6—less than one 256th of one percent of IPv6 space.
IPv6 LANs are almost always /64 because SLAAC (stateless autoconfig) assumes 64 host bits for making addresses from MACs.
IPv6 dropped broadcast entirely and leans on multicast groups instead (e.g., ff02::1 for “all nodes”).
Point-to-point IPv4 links often use /31 so both addresses are usable—no wasted network or broadcast slot.
IPv6 offers about 4.8×1028 addresses per human on Earth right now; IPv4 offers fewer than one per person.