← Back to Main Calculator

CIDR & Subnetting Cheat Sheet

Essential networking tables, private ranges, and RFC references.

Last updated October 2026

Short answer: The three RFC 1918 private IPv4 ranges are 10.0.0.0/8 (16,777,216 addresses), 172.16.0.0/12 (1,048,576 addresses) and 192.168.0.0/16 (65,536 addresses). None of them is routable on the public internet, so the same ranges are reused behind NAT in homes, enterprises and cloud VPCs.

The three RFC 1918 private IPv4 ranges
RangeAddressesTypical use
10.0.0.0/816,777,216Large enterprises and cloud VPCs
172.16.0.0/121,048,576Medium business and campus networks
192.168.0.0/1665,536Home routers and small offices

Private IPv4 Ranges (RFC 1918)

10.0.0.0/816.7M IPs
172.16.0.0/121M IPs
192.168.0.0/1665.5K IPs

Special Addresses

127.0.0.0/8Loopback
169.254.0.0/16APIPA
224.0.0.0/4Multicast

CGNAT & Classes

100.64.0.0/10CGNAT (RFC 6598)
Class A/8 default
Class B/16 default
Class C/24 default

Filter Subnet Reference

CIDRMaskUsable Hosts
/0 0.0.0.0 4,294,967,294
/1 128.0.0.0 2,147,483,646
/2 192.0.0.0 1,073,741,822
/3 224.0.0.0 536,870,910
/4 240.0.0.0 268,435,454
/5 248.0.0.0 134,217,726
/6 252.0.0.0 67,108,862
/7 254.0.0.0 33,554,430
/8 255.0.0.0 16,777,214
/9 255.128.0.0 8,388,606
/10 255.192.0.0 4,194,302
/11 255.224.0.0 2,097,150
/12 255.240.0.0 1,048,574
/13 255.248.0.0 524,286
/14 255.252.0.0 262,142
/15 255.254.0.0 131,070
/16 255.255.0.0 65,534
/17 255.255.128.0 32,766
/18 255.255.192.0 16,382
/19 255.255.224.0 8,190
/20 255.255.240.0 4,094
/21 255.255.248.0 2,046
/22 255.255.252.0 1,022
/23 255.255.254.0 510
/24 255.255.255.0 254
/25 255.255.255.128 126
/26 255.255.255.192 62
/27 255.255.255.224 30
/28 255.255.255.240 14
/29 255.255.255.248 6
/30 255.255.255.252 2
/31 255.255.255.254 2
/32 255.255.255.255 1

Usable-Host Convention (/31 and /32)

The Usable Hosts column follows RFC 3021: a /31 shows 2 because both addresses on a point-to-point link are assignable, and a /32 shows 1 because the address is the host route itself. Some vendor documentation instead applies the block-minus-two rule to every prefix and shows 0 for both. If you are comparing this table with a vendor sheet, check which convention it uses before treating a /31 or /32 as unusable.

CIDR Cheat Sheet Guide

How to Read and Use a CIDR Cheat Sheet

A CIDR cheat sheet is one of the most essential tools for any network engineer, system administrator, or IT professional working with IP addressing and subnetting. It provides an at-a-glance reference for every possible IPv4 subnet, mapping CIDR prefixes (ranging from /0 to /32) to their corresponding dotted-decimal subnet masks, total addresses, usable host counts, and wildcard masks. Rather than manually converting binary to decimal every time you need to determine a subnet size, a well-organized cheat sheet lets you instantly see that a /24 network contains 256 addresses with 254 usable hosts, or that a /29 provides only 6 usable IPs — a common size for IoT or management VLAN deployments.

To use the cheat sheet, locate your desired prefix length in the first column and read across to find the subnet mask, usable host count, and wildcard mask. For example, a /27 network (mask 255.255.255.224) provides 30 usable addresses, making it a popular choice for branch offices and remote site VLANs that need fewer than 30 devices. A /30 network is the standard for point-to-point links with exactly 2 usable hosts. A /23 network provides 510 usable addresses — ideal for larger departments that need more than a single /24 but less than a /22. The filter input above the table lets you quickly narrow down entries by typing a prefix, mask, or host count, and the "Print / Save as PDF" button renders the full table for your binder or desk reference.

This CIDR cheat sheet also includes the three RFC 1918 private IP ranges displayed at the top. Understanding these ranges is critical because private addresses are used extensively in enterprise networks, home routers, and cloud VPCs. The 10.0.0.0/8 block is the largest private range, used by large organizations and cloud providers like AWS, Azure, and GCP for their virtual networks. The 172.16.0.0/12 block is commonly deployed in medium-sized business networks and educational institutions. The 192.168.0.0/16 block is the most recognizable range, used by virtually every consumer router on the market. Additionally, the cheat sheet lists special-purpose addresses: 127.0.0.0/8 for loopback (localhost), 169.254.0.0/16 for APIPA (link-local auto-configuration when DHCP fails, defined in RFC 3927), and 224.0.0.0/4 for multicast traffic such as routing protocol updates.

One range that deserves special mention — and a common exam trap — is 100.64.0.0/10, the carrier-grade NAT (CGNAT) block defined in RFC 6598. It looks private and behaves like private space inside an ISP's network, but it is not part of RFC 1918 and must not be mixed into your internal addressing plan. If your upstream provider hands you CGNAT addressing, keep it strictly on the WAN side.

The legacy IP address classes are also included for historical reference. Although CIDR has made classful addressing obsolete, understanding that Class A spans 1.0.0.0 through 126.255.255.255 (default mask /8), Class B covers 128.0.0.0 through 191.255.255.255 (default /16), and Class C ranges from 192.0.0.0 through 223.255.255.255 (default /24) is still valuable when reading older network documentation or configuring legacy equipment. Whether you are studying for the CompTIA Network+, Cisco CCNA, or AWS Certified Advanced Networking exam, or simply troubleshooting a connectivity issue on your home network, this cheat sheet puts all the essential subnetting information at your fingertips. For the full table with block sizes and total address counts, see the CIDR chart; for worked problems you can practice against, browse the subnetting quiz library.

References: RFC 1918, RFC 4632, RFC 3021, RFC 6598, RFC 3927.


Frequently Asked Questions
What is a CIDR cheat sheet?

A CIDR cheat sheet is a quick reference table that lists every IPv4 subnet from /0 to /32, showing the dotted-decimal subnet mask, total addresses, usable host count, and wildcard mask for each prefix. Network engineers use it to instantly determine subnet sizes without performing binary math. The most commonly referenced entries are /24 (256 IPs, 254 usable), /16 (65,536 IPs), /30 (4 IPs, 2 usable for point-to-point), and /32 (single host).

What are the RFC 1918 private IP ranges?

RFC 1918 defines three private IPv4 address blocks that are not routable on the public internet: 10.0.0.0/8 (16,777,216 addresses, used by large enterprises and cloud VPCs), 172.16.0.0/12 (1,048,576 addresses, common in medium-sized business networks), and 192.168.0.0/16 (65,536 addresses, used in virtually every home router). These ranges allow organizations to reuse address space internally behind NAT without conflicts.

What is the difference between /24 and /28 subnet?

A /24 subnet has mask 255.255.255.0 with 254 usable hosts, making it the standard for small-to-medium office networks. A /28 subnet has mask 255.255.255.240 with only 14 usable hosts, commonly used for small VLAN segments, DMZ zones, or IoT device networks. The /24 prefix covers 256 total addresses while /28 covers only 16. Each additional prefix bit halves the address space.

What is a wildcard mask used for?

A wildcard mask is the bitwise inverse of a subnet mask: 0 bits require an exact match, 1 bits are ignored. For 255.255.255.0, the wildcard is 0.0.0.255. Wildcard masks are used in Cisco IOS ACL entries (e.g., access-list 100 permit ip 192.168.1.0 0.0.0.255 any), OSPF network statements, and BGP prefix lists. Each mask in this cheat sheet includes its wildcard equivalent.

How many usable hosts in a /30 subnet?

A /30 subnet provides exactly 2 usable host addresses (4 total minus network and broadcast). The subnet mask is 255.255.255.252. /30 networks are the standard for point-to-point WAN links between routers, where only two devices need to communicate. In modern Cisco IOS, the /31 prefix (255.255.255.254) can also be used for point-to-point links since RFC 3021 eliminated the need for network and broadcast addresses on these links.

Is 100.64.0.1 a private IP address?

Not under RFC 1918. The 100.64.0.0/10 block (100.64.0.0 – 100.127.255.255) is the shared address space reserved by RFC 6598 for carrier-grade NAT (CGNAT), used by ISPs between subscriber routers and their edge network. It is not routable on the public internet, but it also cannot be used freely inside your enterprise plan — routing it as if it were RFC 1918 space risks colliding with your upstream ISP.