Loading network utility...
Loading network utility...
Classless Inter-Domain Routing (CIDR) notation is the universal standard for representing IP address blocks and subnet boundaries across the modern internet. Replicating the rigidity of legacy Class A, B, and C networks with flexible slash prefix notation (/8 through /32), CIDR enables efficient address allocation and cloud VPC routing.
Run live checks and calculations directly on LotsofNetwork.
Prior to 1993, the global internet allocated addresses in rigid, fixed buckets known as Classful Addressing:
- Class A (/8): 16,777,214 hosts per network. Only 126 Class A networks existed globally, allocated to multinational giants like IBM, Apple, and MIT.
- Class B (/16): 65,534 hosts per network. Exhausted almost immediately by universities and mid-sized companies.
- Class C (/24): 254 hosts per network. Too small for growing organizations, forcing companies to request multiple /24 blocks.
This caused rapid IP exhaustion and explosive growth in global BGP routing tables. The IETF deployed CIDR (RFC 1519 and RFC 4632), introducing variable-length prefix allocation and route aggregation (supernetting).
In CIDR notation, an IP address is followed by a forward slash and an integer (such as 10.0.0.0/24). The integer represents the prefix length — the exact count of leading contiguous binary 1s in the 32-bit subnet mask.
The remaining bits represent host capacity. The usable host formula is strictly: 2^(32 - Prefix) - 2.
Example CIDR Block: 192.168.1.0/26 Prefix Length: 26 bits Subnet Mask: 255.255.255.192 Binary Subnet Mask: 11111111.11111111.11111111.11000000 Host Bits Remaining: 32 - 26 = 6 bits Total Addresses: 2^6 = 64 addresses Usable Host Capacity: 64 - 2 = 62 usable endpoints
This engineering table details all standard CIDR prefixes, their corresponding dotted decimal masks, total IP counts, and typical deployment scopes:
| CIDR Prefix | Subnet Mask | Total IPs | Usable Hosts | Standard Deployment Scope |
|---|---|---|---|---|
| /32 | 255.255.255.255 | 1 | 1 host | Single host route / loopback interface / firewall rule |
| /31 | 255.255.255.254 | 2 | 2 hosts (RFC 3021) | Point-to-point router WAN links (No net/bcast loss) |
| /30 | 255.255.255.252 | 4 | 2 hosts | Legacy point-to-point link (1 net, 1 bcast reserved) |
| /29 | 255.255.255.248 | 8 | 6 hosts | Small DMZ cluster / public firewall VIPs |
| /28 | 255.255.255.240 | 16 | 14 hosts | Database cluster subnet / small cloud VPC tier |
| /27 | 255.255.255.224 | 32 | 30 hosts | Departmental server subnet / Kubernetes pod tier |
| /26 | 255.255.255.192 | 64 | 62 hosts | Branch office LAN / medium cloud microservice tier |
| /24 | 255.255.255.0 | 256 | 254 hosts | Standard enterprise workstation LAN (Default Class C) |
| /20 | 255.255.240.0 | 4,096 | 4,094 hosts | Enterprise building subnet / medium cloud VPC space |
| /16 | 255.255.0.0 | 65,536 | 65,534 hosts | Standard cloud Virtual Private Cloud (AWS/GCP/Azure) |
| /8 | 255.0.0.0 | 16,777,216 | 16,777,214 hosts | Carrier backbone / major cloud region supernet |
When designing cloud architectures in AWS VPC, Google Cloud VPC, or Microsoft Azure VNet, CIDR notation defines the network perimeter:
1. VPC Root CIDR: Typically sized as a /16 block (e.g., 10.0.0.0/16) providing 65,534 IP addresses.
2. Subnet Tiers: Partitioned into /24 subnets across Availability Zones (e.g., Public Web Tier: 10.0.1.0/24; Private Application Tier: 10.0.2.0/24; Database Tier: 10.0.3.0/24).
Crucial Cloud Note: Cloud providers reserve additional IPs! In AWS, each subnet reserves 5 addresses (Network, VPC Router .1, DNS .2, Future Use .3, and Broadcast .255). A /24 in AWS has 251 usable instances, not 254.
AI Mobile App Developer & Full-Stack Systems Engineer•Dhaka, Bangladesh
Bayajit Islam is an AI Mobile App Developer and Full-Stack Systems Engineer based in Dhaka, Bangladesh. With 2+ years of hands-on production experience building cross-platform apps for iOS, Android & Desktop with Flutter & Dart, asynchronous backends with FastAPI & Python, and modern web applications with Next.js, TypeScript, and Docker, he engineered LotsofNetwork as a zero-latency, privacy-first diagnostic platform for developers and network administrators.
Quick answers to common questions on this topic.
High-speed, zero-cost engineering tools built for network diagnostics and developer workflows.
Detect IP, GeoIP, ISP, ASN & PTR
Reverse IP to PTR hostname & verify FCrDNS
Query A, AAAA, MX, TXT & NS records
Domain registrar & expiry info
Audit SPF, DKIM & DMARC records
Check global DNS record propagation across Anycast resolvers