🇪🇸 Leer esta calculadora CIDR y guía en español aquí
Splitting a 10.0.0.0/16 or 192.168.10.0/24 network for Kubernetes clusters, AWS/GCP/Azure VPCs, or office VLANs without miscalculating usable host IPs or wildcard masks? This browser-only IPv4 CIDR & VLSM subnet calculator computes network address, usable host range, broadcast, binary netmask, cloud-provider reserved IPs (-5 IPs), and equal subnet splits instantly.
| # Subnet | CIDR Block | First Usable IP | Last Usable IP | Broadcast | Usable Hosts |
|---|
Exact Bitwise CIDR Formula & Subnet Splitting
Every IPv4 address is an unsigned 32-bit integer. Given a CIDR prefix /p (0 through 32), host bits equal h = 32 - p:
Total_Addresses = 2^(32 - p)
RFC_Usable_Hosts = max(0, 2^(32 - p) - 2) (special exceptions: /31 point-to-point RFC 3021 uses 2 IPs; /32 is a single host route).
Cloud_VPC_Usable = max(0, 2^(32 - p) - 5) (cloud providers like AWS VPC reserve the first 4 IPs plus broadcast: network, VPC router, DNS, future use, and broadcast).
Network = IP_32bit AND Mask_32bit · Broadcast = Network OR (NOT Mask_32bit) · Wildcard = NOT Mask_32bit
To carve a network into N = 2^k equal sub-blocks, add k bits to the parent prefix (new_prefix = p + k where p + k ≤ 32).
Official Technical Standards (IETF RFCs)
- IETF RFC 4632: Classless Inter-domain Routing (CIDR) Address Assignment & Aggregation
- IETF RFC 1918: Address Allocation for Private Internets (10/8, 172.16/12, 192.168/16)
Production CIDR Quick-Reference Table
| Prefix | Netmask | Wildcard | Total IPs | RFC Usable (-2) | AWS VPC Usable (-5) |
|---|---|---|---|---|---|
| /16 | 255.255.0.0 | 0.0.255.255 | 65,536 | 65,534 | 65,531 |
| /20 | 255.255.240.0 | 0.0.15.255 | 4,096 | 4,094 | 4,091 |
| /24 | 255.255.255.0 | 0.0.0.255 | 256 | 254 | 251 |
| /26 | 255.255.255.192 | 0.0.0.63 | 64 | 62 | 59 |
| /28 | 255.255.255.240 | 0.0.0.15 | 16 | 14 | 11 |
| /30 | 255.255.255.252 | 0.0.0.3 | 4 | 2 | 0 (Invalid) |
Frequently Asked Questions (FAQ)
Why does an AWS /28 subnet only give me 11 usable IPs instead of 14?
Besides network (.0) and broadcast (.15), AWS VPCs reserve .1 (VPC router), .2 (AmazonProvidedDNS), and .3 (future use). Out of 16 total addresses in a /28, only 11 remain assignable to EC2 instances, ALBs, or EKS Pods.
What is a Wildcard Mask vs a Netmask?
A wildcard mask is the bitwise NOT of the subnet mask (255.255.255.255 - Netmask), widely required in router ACLs, OSPF areas, and firewall rules to denote variable host bits.
Are any internal IP topologies sent to your server?
Zero. All bitwise shifts and subnet math execute locally inside your browser.
Related Syncroma Tools: Kubernetes Pod & Node Bin-Packing Calculator · SLA Uptime & Error Budget Calculator · Private Cron, Regex & JSON Validator