Here’s a complete IPv4 subnet cheat sheet formatted for easy reading, starting from /0 and ending at /32. It includes the CIDR notation, subnet mask, number of total addresses, and the number of usable addresses in each subnet.


Complete IPV4 Subnet

IPv4 Subnet Cheat Sheet
CIDRSubnet MaskTotal AddressesHost RangeAbout
/00.0.0.04,294,967,2964,294,967,294Entire IPv4 address space
/1128.0.0.02,147,483,6482,147,483,646Half of the IPv4 address space
/2192.0.0.01,073,741,8241,073,741,822Quarter of the IPv4 space
/3224.0.0.0536,870,912536,870,910
/4240.0.0.0268,435,456268,435,454
/5248.0.0.0134,217,728134,217,726
/6252.0.0.067,108,86467,108,862
/7254.0.0.033,554,43233,554,430
/8255.0.0.016,777,21616,777,214Class A network size ⬇️
/9255.128.0.08,388,6088,388,606
/10255.192.0.04,194,3044,194,302
/11255.224.0.02,097,1522,097,150
/12255.240.0.01,048,5761,048,574
/13255.248.0.0524,288524,286
/14255.252.0.0262,144262,142
/15255.254.0.0131,072131,070
/16255.255.0.065,53665,534Class B network size ⬇️
/17255.255.128.032,76832,766
/18255.255.192.016,38416,382
/19255.255.224.081928,190
/20255.255.240.040964,094
/21255.255.248.020482,046
/22255.255.252.010241,022
/23255.255.254.0512510
/24255.255.255.0256254Class C network size ⬇️
/25255.255.255.128128126
/26255.255.255.1926462
/27255.255.255.2243230
/28255.255.255.2401614
/29255.255.255.24886
/30255.255.255.25242Used for point-to-point links
/31255.255.255.25420*Used for point-to-point links
/32255.255.255.25510A single IP address

Notes:

  • *For /31 networks, there are technically no “usable” addresses for hosts, but these are used for point-to-point links where both addresses can be assigned. /31’s aren’t supported on all devices. When specifying the network address for a /31 you would usually use the other end points IP.
  • /32 networks are often used for loopback, or when a single IP address is defined, such as in routing.
  • Total Addresses: The total number of addresses in the subnet (including network and broadcastaddresses).
  • Host Range: The number of addresses available for hosts. This excludes the network address (first address) and the broadcast address (last address) for most subnets.

Public IPV4 Address Space

Address RangeTotal AddressesAbout
1.0.0.0/8 – 126.255.255.255/82,114,843,136Read notes on reservations
128.0.0.0/8 – 191.255.255.255/81,073,741,824Read notes on reservations
192.0.0.0/8 – 223.255.255.255/8536,870,912Read notes on reservations

Notes:

  • These massive IP ranges have several notable reservations within them, which you can read about blow. It’s important to note that due to these reservations not every single IP address in this space can be used publicly.

IPV4 Private Subnets

Address RangeCIDRTotal AddressesSubnet MaskAbout
10.0.0.0 – 10.255.255.255/816,777,216255.0.0.0Formerly Class A
172.16.0.0 – 172.31.255.255/121,048,576255.240.0.0Formerly Class A
192.168.0.0 – 192.168.255.255/1665,536255.255.0.0Formerly Class B

Notes:

  • 10.0.0.0/8: Biggest private network block, used for very large networks (Class A).
  • 172.16.0.0/12: Mid-sized private network block, often used in organizational settings (Class A).
  • 192.168.0.0/16: The most common private network range for home and small office networks (Class B).
  • Reservations: All of these ranges can be used in private networks.

CGNAT Reserved Subnet

Address RangeCIDRTotal AddressesSubnet MaskAbout
100.64.0.0 – 100.127.255.255/104,194,304255.192.0.0Reserved for CGNAT

Notes:

  • Address Range100.64.0.0 - 100.127.255.255 is reserved for CGNAT.
  • Uses: This range is reserved for use by ISPs for Carrier-Grade NAT, not usually for internal/private network use.

APIPA (Automatic Private Internet Protocol Addressing)

Address RangeCIDRTotal AddressesSubnet MaskAbout
169.254.0.0 – 169.254.255.255/1665,536255.255.0.0Used for Automatic Private IP Addressing (APIPA)

Notes:

  • 169.254.0.0/16: This is the Link Local range, which is usually automatically assigned by an operating system when DHCP is unavailable and no static assignment exists, allowing devices to communicate on the local network without external configuration.

Loopback

Address RangeCIDRTotal AddressesSubnet MaskAbout
127.0.0.0 – 127.255.255.255/816,777,216255.0.0.0Reserved for loopback (local host)

Notes:

  • 127.0.0.0/8: Is the loopback range is used for communication within the local host.
  • 127.0.0.1: The most common loopback address used to refer to the local machine. You’ve likely used this before when hosting a sever locally.

Multicast

Address RangeCIDRTotal AddressesSubnet MaskAbout
224.0.0.0 – 239.255.255.255/4268,435,456240.0.0.0Reserved for multicast traffic (RFC 5771)

Notes:

  • 224.0.0.0/4: The multicast range is reserved for one-to-many communication, where data is sent to multiple recipients simultaneously (e.g., video streaming, network services, MDNS etc).

Class E (Experimental)

Address RangeCIDRTotal AddressesSubnet MaskAbout
240.0.0.0 – 255.255.255.254/4268,435,456240.0.0.0Reserved for future use (experimental)

Notes:

  • 240.0.0.0/4: Class E addresses are reserved for experimental purposes and are not publicly routable on the internet.
  • Future Use: This range was designated for potential future use or research but is generally not used in production environments.

IPV4 Broadcast Address

Address RangeCIDRTotal AddressesSubnet MaskAbout
255.255.255.255/321255.255.255.255Reserved for broadcast to all devices on a local network

Notes:

  • 255.255.255.255: The broadcast address is used to send a message to all devices on a local network segment. It’s a single address that communicates with every host within the subnet.
  • Broadcast Use: Commonly used for sending DHCP discovery requests and other types of local network broadcasts.

0.0.0.0/8 (Current Network)

AddressesCIDRTotal AddressesSubnet MaskAbout
0.0.0.0 – 0.255.255.255/816,777,216255.0.0.0Reserved for special purposes

Notes:

  • 0.0.0.0/8: This block is reserved for special purposes, like representing an unspecified address or default route.
  • Uses: DHCP (during the IP request process), server configuration (to bind to all interfaces).