Subnet Calculator
Calculate network details from an IP address and CIDR prefix. Get network address, broadcast address, subnet mask, and usable host range.
Subnet Details
Network Address --
Broadcast Address --
Subnet Mask --
Wildcard Mask --
First Usable Host --
Last Usable Host --
Total Hosts --
Usable Hosts --
IP Class --
How to Use This Calculator
- Enter an IP address (e.g., 192.168.1.0)
- Enter the CIDR prefix/subnet bits (e.g., 24 for a /24 network)
- Click "Calculate" to see the network details
Common Subnet Sizes
| CIDR | Subnet Mask | Total IPs | Usable Hosts |
| /30 | 255.255.255.252 | 4 | 2 |
| /29 | 255.255.255.248 | 8 | 6 |
| /28 | 255.255.255.240 | 16 | 14 |
| /27 | 255.255.255.224 | 32 | 30 |
| /26 | 255.255.255.192 | 64 | 62 |
| /25 | 255.255.255.128 | 128 | 126 |
| /24 | 255.255.255.0 | 256 | 254 |
| /16 | 255.255.0.0 | 65,536 | 65,534 |
| /8 | 255.0.0.0 | 16,777,216 | 16,777,214 |