Use CIDR Calculator

Enter your data below to use the CIDR Calculator

📌 Try these examples:
RESULT

Last updated

What Is CIDR Notation?

CIDR (Classless Inter-Domain Routing) notation is a compact way to describe an IP address range. It consists of an IP address followed by a slash and a prefix length — for example, 192.168.1.0/24. The prefix length (0–32 for IPv4) indicates how many bits of the address are the network portion; the remaining bits identify individual hosts within that network.

CIDR replaced the old class-based system (Class A/B/C) in 1993, allowing much more flexible allocation of IP address space. Today it's used everywhere: AWS VPC subnets, firewall rules, routing tables, and security group configurations all use CIDR notation.

How to Read a CIDR Block

For 192.168.1.0/24:

Common CIDR Blocks Reference

CIDRSubnet maskUsable hostsTypical use
/8255.0.0.016,777,214Large ISP allocations
/16255.255.0.065,534Large corporate networks
/24255.255.255.0254Typical LAN / VPC subnet
/28255.255.255.24014Small AWS subnets
/30255.255.255.2522Point-to-point links
/32255.255.255.2551Single host route

Private IP Ranges (RFC 1918)

Three address ranges are reserved for private networks and are never routed on the public internet:

Subnetting Example

Suppose you need to split 10.0.0.0/24 into 4 equal subnets. Borrowing 2 bits from the host portion gives you /26 subnets (64 addresses each, 62 usable):

Text
10.0.0.0/26   → hosts 10.0.0.1   – 10.0.0.62   (broadcast .63)
10.0.0.64/26  → hosts 10.0.0.65  – 10.0.0.126  (broadcast .127)
10.0.0.128/26 → hosts 10.0.0.129 – 10.0.0.190  (broadcast .191)
10.0.0.192/26 → hosts 10.0.0.193 – 10.0.0.254  (broadcast .255)
ℹ️

When configuring AWS VPC subnets, AWS reserves 5 addresses per subnet (not 2): the network address, VPC router, DNS server, future use, and broadcast. A /28 gives 16 total addresses but only 11 usable in AWS.

Frequently Asked Questions

Simply enter your data, click the process button, and get instant results. All processing happens in your browser for maximum privacy and security.