About IPv4 subnet calculator
Enter any IPv4 address with CIDR prefix (such as `192.168.1.0/24`) on XMOOO Tools to immediately compute the subnet mask, wildcard mask, network address, broadcast address, first and last usable host IPs, and total usable IP count.
Formulas & Technical Rules
Total IP Addresses = 2^(32 − CIDR); Usable Host Addresses = 2^(32 − CIDR) − 2 (for /0 to /30).
How to Use IPv4 subnet calculator
- Enter an IPv4 address and CIDR slash prefix (e.g., 10.0.0.0/16 or 192.168.1.10/24).
- Inspect the full subnet breakdown including binary netmask, host range, and next/previous subnet navigation.
- Copy any individual field directly into your cloud VPC or router configuration.
IPv4 CIDR Subnet Quick Reference
| CIDR | Subnet Mask | Total IPs | Usable Hosts |
|---|---|---|---|
| /32 | 255.255.255.255 | 1 | 1 (Single Host) |
| /30 | 255.255.255.252 | 4 | 2 (Point-to-Point Link) |
| /28 | 255.255.255.240 | 16 | 14 |
| /24 | 255.255.255.0 | 256 | 254 (Standard LAN) |
| /16 | 255.255.0.0 | 65,536 | 65,534 (Cloud VPC) |