CIDR to IP Range Guide: How CIDR Notation Works

Learn exactly what CIDR notation is, how to read it, and how to calculate massive IP ranges. Free browser-based CIDR to IP range expander included.

Before 1993, the internet used a rigid, wasteful “Class-based” networking system that was rapidly running out of IP addresses. To save the internet from collapse, engineers invented CIDR (Classless Inter-Domain Routing).

CIDR is a highly compact, mathematical shorthand used by modern firewalls, cloud providers (like AWS), and network engineers to define massive ranges of IP addresses using just a few characters.


🧮 How to Actually Read CIDR Notation

A CIDR address always looks like a standard IP address, immediately followed by a forward slash and a number (e.g., 192.168.1.0/24).

That number is called the Prefix Length. An IP address is 32 bits long. The /24 simply tells the router: “Lock down the first 24 bits as the Network ID. Use the remaining 8 bits to assign to host computers.”

The CIDR Notation The Equivalent Subnet Mask Total Math Addresses Usable Computers
/24 255.255.255.0 256 254
/25 255.255.255.128 128 126
/26 255.255.255.192 64 62
/27 255.255.255.224 32 30
/28 255.255.255.240 16 14

🏗️ Common Cloud & Network Use Cases

If you are configuring AWS Security Groups or a corporate firewall, you must know these specific CIDR blocks:

CIDR Prefix Total Hosts The Professional Use Case
/32 1 Single Server Exception. Used in firewalls to whitelist one exact IP address.
/30 4 (2 Usable) Point-to-Point. Creating a direct, secure tunnel between two routers.
/24 256 Standard Office. The default size for a corporate floor or home Wi-Fi.
/16 65,536 AWS VPC. The massive default network size for an entire Cloud Virtual Private Cloud.
/0 4.2 Billion The Entire Internet. Usually written as 0.0.0.0/0 to mean “allow traffic from anywhere in the world.”

🚀 Confused by the binary math? Stop manually calculating IP ranges. Use our blazing fast, completely free CIDR to IP Range Expander to instantly convert CIDR notation into the exact first/last IP, subnet mask, and a fully downloadable list of all usable IPs!


Try our CIDR to IP Range

Learn exactly what CIDR notation is, how to read it, and how to calculate massive IP ranges. Free browser-based CIDR to IP range expander included.

ENDOFFILE