IPv4 Subnet & CIDR Range Calculator
Calculate network address, broadcast address, subnet mask, wildcard mask, usable host IP range, and total IPv4 host capacity for any CIDR block (/0 to /32).
| CIDR Block | 10.0.1.0/24 |
|---|---|
| Subnet Mask | 255.255.255.0 |
| Wildcard Mask | 0.0.0.255 |
| Network Address | 10.0.1.0 |
| Broadcast Address | 10.0.1.255 |
| Usable Host IP Range | 10.0.1.1 โ 10.0.1.254 |
| Total Addresses / Usable Hosts | 256 total ยท 254 usable hosts |
| IP Class / Scope | Private RFC 1918 Network |
Planning IPv4 Subnets, AWS VPC CIDR Blocks & Host Ranges Without Bitwise Errors
Cloud architects, DevOps engineers, and network administrators rely on CIDR notation (such as 10.0.0.0/16 or 192.168.1.0/24) to carve non-overlapping VPC subnets, Docker bridges, and firewall security rules. Computing exact network, broadcast, wildcard, and host boundaries prevents costly cloud re-IPing.
Step-by-Step Instructions
- Enter any IPv4 address (e.g., 10.0.1.0 or 192.168.10.42) and select a CIDR prefix length from /0 to /32.
- Or click a common cloud/LAN preset (/16 AWS VPC, /24 Home LAN, /28 Compact DB Subnet, /32 Single IP).
- Inspect Network Address, Broadcast Address, Subnet Mask, Wildcard Mask (for Cisco ACLs), and usable host IP bounds.
- Verify whether the address falls inside Private RFC 1918 space or Public Routable IPv4 space.
Worked Example & Methodology
An AWS subnet carved as 10.0.1.0/24 has subnet mask 255.255.255.0, network 10.0.1.0, broadcast 10.0.1.255, and 254 standard usable hosts (note: AWS reserves 3 extra internal IPs per subnet, leaving 251 assignable EC2/ENI addresses).
Privacy & Verification: All 32-bit unsigned bitwise IPv4 calculations execute locally in your browser.
Frequently Asked Questions
Why does a /24 subnet have 254 usable hosts instead of 256?
The very first IP (.0) identifies the network address and the very last IP (.255) is reserved for the subnet broadcast address, leaving .1 through .254 usable.
What are the three Private RFC 1918 IPv4 address ranges?
10.0.0.0/8 (10.x.x.x), 172.16.0.0/12 (172.16.x.xโ172.31.x.x), and 192.168.0.0/16 (192.168.x.x)โnone are routable on the public internet.
What does a /32 CIDR prefix mean in a firewall rule?
All 32 bits are fixed (mask 255.255.255.255), matching exactly one single IPv4 host addressโstandard practice for SSH allowlists.
What is a Wildcard Mask used for?
The bitwise inverse of the subnet mask (e.g. 0.0.0.255 for /24), used in OSPF routing configurations and Cisco router Access Control Lists (ACLs).