CIDR to IPv4 Range Calculator
Convert any IPv4 CIDR notation (like 10.0.0.0/22 or 192.168.1.0/24) into exact start IP, end IP, usable host range, subnet mask, wildcard mask, and host count.
Fast IPv4 CIDR Math for AWS VPCs, Firewalls & Nginx Allowlists
Configuring cloud VPC subnets, security groups, or Cloudflare WAF IP allowlists requires knowing exact network boundaries and wildcard masks without off-by-one mistakes. Enter any IPv4 CIDR block from /0 to /32 to calculate the exact network ID, first and last usable host IP, broadcast address, dotted subnet mask, Cisco wildcard mask, and total IPv4 addresses—paired nicely with our Subnet Calculator.
Frequently Asked Questions
What does a /32 CIDR block represent?
A /32 prefix matches exactly one single IPv4 host address (mask 255.255.255.255), commonly used in firewall allowlists.
How many usable hosts are in a /24 subnet?
A /24 block contains 256 total IPv4 addresses: 1 network address, 1 broadcast address, and 254 usable host addresses.
Using CIDR Blocks Safely in Firewalls, Cloud ACLs & Reverse Proxies
Miscomputing a CIDR mask in a firewall allowlist or Nginx allow directive can accidentally expose admin ports to thousands of unrelated IPs—or lock your own office out. Always verify the exact first usable host, last usable host, and wildcard mask before pushing security group edits. Pair with our IPv4 to Binary Converter and Linux Chmod & CIDR Cheatsheet.
Frequently Asked Questions
- What does /32 mean in a firewall rule?
- A /32 prefix matches one exact single IPv4 address with zero adjacent neighbors.
- What does 0.0.0.0/0 mean?
- It matches every IPv4 address on the internet—use cautiously on ingress rules.
- Are my internal network ranges logged?
- No. All bitwise IPv4 arithmetic executes strictly inside your browser.