CIDR Calculator
Developer ToolsCalculate CIDR subnets
| CIDR Notation | 192.168.1.0/24 |
| Network Address | 192.168.1.0 |
| Broadcast Address | 192.168.1.255 |
| First Usable Host | 192.168.1.1 |
| Last Usable Host | 192.168.1.254 |
| Subnet Mask | 255.255.255.0 |
| Wildcard Mask | 0.0.0.255 |
| Total Addresses | 256 |
| Usable Hosts | 254 |
| IP Class | C |
11000000101010000000000100000000
Network (24 bits) Host (8 bits)
| CIDR | Subnet Mask | Addresses | Usable |
|---|---|---|---|
| /8 | 255.0.0.0 | 16,777,216 | 16,777,214 |
| /16 | 255.255.0.0 | 65,536 | 65,534 |
| /20 | 255.255.240.0 | 4,096 | 4,094 |
| /22 | 255.255.252.0 | 1,024 | 1,022 |
| /24 | 255.255.255.0 | 256 | 254 |
| /25 | 255.255.255.128 | 128 | 126 |
| /26 | 255.255.255.192 | 64 | 62 |
| /27 | 255.255.255.224 | 32 | 30 |
| /28 | 255.255.255.240 | 16 | 14 |
| /29 | 255.255.255.248 | 8 | 6 |
| /30 | 255.255.255.252 | 4 | 2 |
| /32 | 255.255.255.255 | 1 | 1 |
About CIDR Calculator
Calculate IP ranges, subnet masks, and network info from CIDR notation.
Was this tool helpful?
Frequently Asked Questions
What is CIDR notation?
CIDR (Classless Inter-Domain Routing) notation combines an IP address with a prefix length separated by a slash. For example, 192.168.1.0/24 means the first 24 bits identify the network and the remaining 8 bits are available for host addresses.
What does the 32-bit binary map show?
The binary visualization displays all 32 bits of the network address. Blue-highlighted bits represent the network portion (determined by the prefix length) and gray bits represent the host portion. This makes it easy to see exactly where the network and host boundaries fall.
How do I use the CIDR quick reference table?
The reference table lists common prefix lengths from /8 to /32 with their subnet masks, total addresses, and usable hosts. Your current prefix is highlighted. Use it to quickly determine subnet sizing for network planning without manual calculations.
Is my data safe?
Yes! All processing happens entirely in your browser. Your IP addresses and network data are never sent to any server. No data is collected, stored, or transmitted.
What is the difference between total addresses and usable hosts?
Total addresses include all IPs in the subnet. Usable hosts exclude the network address (first) and broadcast address (last), which are reserved. A /24 subnet has 256 total addresses but only 254 usable host addresses.
Ad
728 × 90