IPv4 network planning
IPv4 subnet calculator
Turn an address and prefix into a network you can route. Enter one address and prefix to calculate the CIDR boundary, usable range and mask, or use the complete /8–/32 chart without typing a value.
IPv4 network planning
CIDR basics
What is CIDR?
CIDR, or Classless Inter-Domain Routing, writes an IPv4 network as an address followed by a slash and a prefix length. The prefix says how many leading bits identify the network: 192.0.2.0/24 means the first 24 bits are fixed and the remaining eight bits address the block.
How do you read CIDR notation?
Read 192.0.2.0/24 as “192.0.2.0 slash 24.” The number after the slash is the prefix length, not a port or a count of addresses. It controls the subnet mask and therefore the network boundary.
IPv4 network planning
IPv4 subnet chart: /8 through /32
Read the complete prefix chart directly. A /24 has 256 addresses; two are the network and broadcast addresses in ordinary IPv4 subnets, leaving 254 usable host addresses. RFC 3021 makes both /31 addresses usable on a point-to-point link.
| Prefix | Subnet mask | Addresses | Usable hosts | Equivalent /24s |
|---|---|---|---|---|
| /8 | 255.0.0.0 | 16,777,216 | 16,777,214 | 65,536 |
| /9 | 255.128.0.0 | 8,388,608 | 8,388,606 | 32,768 |
| /10 | 255.192.0.0 | 4,194,304 | 4,194,302 | 16,384 |
| /11 | 255.224.0.0 | 2,097,152 | 2,097,150 | 8,192 |
| /12 | 255.240.0.0 | 1,048,576 | 1,048,574 | 4,096 |
| /13 | 255.248.0.0 | 524,288 | 524,286 | 2,048 |
| /14 | 255.252.0.0 | 262,144 | 262,142 | 1,024 |
| /15 | 255.254.0.0 | 131,072 | 131,070 | 512 |
| /16 | 255.255.0.0 | 65,536 | 65,534 | 256 |
| /17 | 255.255.128.0 | 32,768 | 32,766 | 128 |
| /18 | 255.255.192.0 | 16,384 | 16,382 | 64 |
| /19 | 255.255.224.0 | 8,192 | 8,190 | 32 |
| /20 | 255.255.240.0 | 4,096 | 4,094 | 16 |
| /21 | 255.255.248.0 | 2,048 | 2,046 | 8 |
| /22 | 255.255.252.0 | 1,024 | 1,022 | 4 |
| /23 | 255.255.254.0 | 512 | 510 | 2 |
| /24 | 255.255.255.0 | 256 | 254 | 1 |
| /25 | 255.255.255.128 | 128 | 126 | 0.5 |
| /26 | 255.255.255.192 | 64 | 62 | 0.25 |
| /27 | 255.255.255.224 | 32 | 30 | 0.125 |
| /28 | 255.255.255.240 | 16 | 14 | 0.0625 |
| /29 | 255.255.255.248 | 8 | 6 | 0.03125 |
| /30 | 255.255.255.252 | 4 | 2 | 0.015625 |
| /31 | 255.255.255.254 | 2 | 2 | 0.0078125 |
| /32 | 255.255.255.255 | 1 | 1 | 0.00390625 |
Private input — RFC 1918
RFC 1918 private address ranges
RFC 1918 sets aside three blocks for private networks. They can be reused behind every organisation without consuming public IPv4 space.
Special-purpose input — IANA registry
Reserved and special-purpose IPv4 ranges
This page carries every address block in the IANA IPv4 Special-Purpose Address Registry, plus the multicast allocation and RFC 1918 private space. The IANA registry and its cited RFCs define each block; RFC 3021 gives both /31 addresses to point-to-point links.
| CIDR | Use and source |
|---|---|
| 0.0.0.0/8 | “This network”The current network on this host · RFC 791 |
| 0.0.0.0/32 | “This host on this network”One host on this network · RFC 1122 |
| 100.64.0.0/10 | Shared Address SpaceCarrier-grade translation · RFC 6598 |
| 127.0.0.0/8 | LoopbackThe host itself · RFC 1122 |
| 169.254.0.0/16 | Link LocalOne local link · RFC 3927 |
| 192.0.0.0/24 | IETF Protocol AssignmentsIETF protocol assignments · RFC 6890 |
| 192.0.0.0/29 | IPv4 Service Continuity PrefixService continuity · RFC 7335 |
| 192.0.0.8/32 | IPv4 dummy addressProtocol testing · RFC 7600 |
| 192.0.0.9/32 | Port Control Protocol AnycastPCP server discovery · RFC 7723 |
| 192.0.0.10/32 | Traversal Using Relays around NAT AnycastTURN server discovery · RFC 8155 |
| 192.0.0.170/32 | NAT64/DNS64 DiscoveryNAT64 and DNS64 discovery · RFC 8880; RFC 7050 |
| 192.0.0.171/32 | NAT64/DNS64 DiscoveryNAT64 and DNS64 discovery · RFC 8880; RFC 7050 |
| 192.0.2.0/24 | Documentation (TEST-NET-1)Examples; not public unicast · RFC 5737 |
| 192.31.196.0/24 | AS112-v4AS112 node service address · RFC 7535 |
| 192.52.193.0/24 | AMTAutomatic Multicast Tunneling · RFC 7450 |
| 192.88.99.0/24 | Deprecated (6to4 Relay Anycast)Deprecated in March 2015; not public unicast · RFC 7526 |
| 192.88.99.2/32 | 6a44-relay anycast address6a44 relay anycast · RFC 6751 |
| 192.175.48.0/24 | Direct Delegation AS112 ServiceAS112 node service address · RFC 7534 |
| 198.18.0.0/15 | BenchmarkingNetwork benchmark tests · RFC 2544 |
| 198.51.100.0/24 | Documentation (TEST-NET-2)Examples; not public unicast · RFC 5737 |
| 203.0.113.0/24 | Documentation (TEST-NET-3)Examples; not public unicast · RFC 5737 |
| 224.0.0.0/4 | MulticastIPv4 multicast · RFC 5771 |
| 240.0.0.0/4 | ReservedOutside public unicast allocation · RFC 1112 |
| 255.255.255.255/32 | Limited BroadcastLocal-link broadcast · RFC 919; RFC 8190 |
Sources: IANA IPv4 Special-Purpose Address Registry, checked 23 November 2026; RFC 5771 multicast; RFC 1918 private space. RFC 3021 governs /31 point-to-point links.
CIDR and subnet FAQ
CIDR and subnet questions
How many addresses are in a /24?
A /24 contains 256 IPv4 addresses. In an ordinary subnet, the first address names the network and the last is broadcast, leaving 254 usable host addresses. A /31 is the RFC 3021 point-to-point exception: both addresses can be used.
What are the network and broadcast addresses?
The network address has all host bits set to zero and identifies the subnet. In an ordinary subnet, the broadcast address has all host bits set to one and reaches every host in that subnet. The calculator shows both, plus the first and last usable addresses; /31 and /32 are handled separately.
What is a subnet mask?
A subnet mask is the dotted-decimal form of the prefix. /24 becomes 255.255.255.0 because the first 24 bits are ones. A valid IPv4 mask has contiguous one bits followed by contiguous zero bits.
Is my IPv4 range private or public?
The result labels the submitted address as RFC 1918 private space, IANA special-purpose space or public unicast. A wider prefix can include other address space; the label describes the submitted address, not every address in the calculated block. Private addresses such as 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16 are for internal networks; public IPv4 is allocated for routable internet use.
Need a cleaner route to IPv4 capacity?
Use the calculator to plan the block. LARUS gives network operators direct access to Unlimited IPv4 on a court-recognized rights foundation, with Guaranteed Renewal on Continuity Critical.
See Continuity pricing