CIDR & Subnet Calculator
Calculate exact IPv4 and IPv6 subnet boundaries, wildcard masks for firewall ACLs, 32-bit binary network/host masks, and split CIDR prefixes into equal sub-networks — all computed locally in real time.
Presets:
10.0.0.1/16 (VPC)
192.168.1.42/24 (LAN)
172.16.40.10/26 (62 hosts)
198.51.100.2/30 (Point-to-Point)
Subnet Boundaries
CIDR Block
Network Address
Broadcast Address
Usable Host Range
Total Addresses
Usable Hosts
Masks & Classification
Subnet Mask
Wildcard Mask (ACL)
Address Scope
IP Integer (32-bit)
IP Hexadecimal
Special Notes
32-Bit Binary Breakdown (Blue = Network Bits, Amber = Host Bits)
Interactive Subnet Splitter
| # | Subnet CIDR | First Usable | Last Usable | Broadcast | Usable Hosts |
|---|
Common IPv4 CIDR Reference Cheat Sheet
| CIDR | Subnet Mask | Wildcard Mask | Total IPs | Usable Hosts | Typical Use |
|---|---|---|---|---|---|
| /24 | 255.255.255.0 | 0.0.0.255 | 256 | 254 | Standard office LAN or cloud VPC subnet |
| /25 | 255.255.255.128 | 0.0.0.127 | 128 | 126 | Medium department VLAN |
| /26 | 255.255.255.192 | 0.0.0.63 | 64 | 62 | Small subnet / microservice tier |
| /27 | 255.255.255.224 | 0.0.0.31 | 32 | 30 | DMZ or compact server block |
| /28 | 255.255.255.240 | 0.0.0.15 | 16 | 14 | Small business static IP block |
| /29 | 255.255.255.248 | 0.0.0.7 | 8 | 6 | Firewall/router transit segment |
| /30 | 255.255.255.252 | 0.0.0.3 | 4 | 2 | Legacy point-to-point router link |
| /31 | 255.255.255.254 | 0.0.0.1 | 2 | 2 (RFC 3021) | Modern point-to-point router link |
| /32 | 255.255.255.255 | 0.0.0.0 | 1 | 1 | Single host route or firewall rule |
Want worked binary examples and VPC subnet planning tips? Read our Practical Guide to CIDR & Subnetting →