Skip to main content
LARUS
Explore

IPv4 network planning

IPv4 subnet calculator

Calculate an IPv4 subnet

Enter an IPv4 address and prefix, or paste a CIDR such as 192.0.2.130/24.

Paste an IPv4 address or CIDR, such as 192.0.2.130/24.

For example /24, 24 or 255.255.255.0.

Use the prefix when you plan routes; enter a dotted mask when that is how your equipment writes it.

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.

IPv4 prefix, subnet mask, address count, usable hosts and equivalent /24 blocks
PrefixSubnet maskAddressesUsable hostsEquivalent /24s
/8255.0.0.016,777,21616,777,21465,536
/9255.128.0.08,388,6088,388,60632,768
/10255.192.0.04,194,3044,194,30216,384
/11255.224.0.02,097,1522,097,1508,192
/12255.240.0.01,048,5761,048,5744,096
/13255.248.0.0524,288524,2862,048
/14255.252.0.0262,144262,1421,024
/15255.254.0.0131,072131,070512
/16255.255.0.065,53665,534256
/17255.255.128.032,76832,766128
/18255.255.192.016,38416,38264
/19255.255.224.08,1928,19032
/20255.255.240.04,0964,09416
/21255.255.248.02,0482,0468
/22255.255.252.01,0241,0224
/23255.255.254.05125102
/24255.255.255.02562541
/25255.255.255.1281281260.5
/26255.255.255.19264620.25
/27255.255.255.22432300.125
/28255.255.255.24016140.0625
/29255.255.255.248860.03125
/30255.255.255.252420.015625
/31255.255.255.254220.0078125
/32255.255.255.255110.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.

RFC 1918 private address ranges
CIDRAddress spaceAddressesSource
10.0.0.0/810.0.0.0 – 10.255.255.25516,777,216RFC 1918
172.16.0.0/12172.16.0.0 – 172.31.255.2551,048,576RFC 1918
192.168.0.0/16192.168.0.0 – 192.168.255.25565,536RFC 1918

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.

Reserved and special-purpose IPv4 ranges
CIDRUse 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/10Shared Address SpaceCarrier-grade translation · RFC 6598
127.0.0.0/8LoopbackThe host itself · RFC 1122
169.254.0.0/16Link LocalOne local link · RFC 3927
192.0.0.0/24IETF Protocol AssignmentsIETF protocol assignments · RFC 6890
192.0.0.0/29IPv4 Service Continuity PrefixService continuity · RFC 7335
192.0.0.8/32IPv4 dummy addressProtocol testing · RFC 7600
192.0.0.9/32Port Control Protocol AnycastPCP server discovery · RFC 7723
192.0.0.10/32Traversal Using Relays around NAT AnycastTURN server discovery · RFC 8155
192.0.0.170/32NAT64/DNS64 DiscoveryNAT64 and DNS64 discovery · RFC 8880; RFC 7050
192.0.0.171/32NAT64/DNS64 DiscoveryNAT64 and DNS64 discovery · RFC 8880; RFC 7050
192.0.2.0/24Documentation (TEST-NET-1)Examples; not public unicast · RFC 5737
192.31.196.0/24AS112-v4AS112 node service address · RFC 7535
192.52.193.0/24AMTAutomatic Multicast Tunneling · RFC 7450
192.88.99.0/24Deprecated (6to4 Relay Anycast)Deprecated in March 2015; not public unicast · RFC 7526
192.88.99.2/326a44-relay anycast address6a44 relay anycast · RFC 6751
192.175.48.0/24Direct Delegation AS112 ServiceAS112 node service address · RFC 7534
198.18.0.0/15BenchmarkingNetwork benchmark tests · RFC 2544
198.51.100.0/24Documentation (TEST-NET-2)Examples; not public unicast · RFC 5737
203.0.113.0/24Documentation (TEST-NET-3)Examples; not public unicast · RFC 5737
224.0.0.0/4MulticastIPv4 multicast · RFC 5771
240.0.0.0/4ReservedOutside public unicast allocation · RFC 1112
255.255.255.255/32Limited 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
LARUS direct support

Tell us how we can help

Leave your details and our team will join the conversation.