Enter an IPv4 address with CIDR notation (like 192.168.10.0/24) and this tool works out the network address, broadcast address, subnet mask, wildcard mask, and the exact range of usable host addresses.
Not sure which prefix you need? Use the quick-pick dropdown, or check the CIDR reference chart below for a fast lookup of how many hosts each prefix from /8 to /32 actually gives you.
CIDR /8–/32 Reference Chart
| CIDR | Subnet Mask | Usable Hosts |
|---|---|---|
| /8 | 255.0.0.0 | 16,777,214 |
| /9 | 255.128.0.0 | 8,388,606 |
| /10 | 255.192.0.0 | 4,194,302 |
| /11 | 255.224.0.0 | 2,097,150 |
| /12 | 255.240.0.0 | 1,048,574 |
| /13 | 255.248.0.0 | 524,286 |
| /14 | 255.252.0.0 | 262,142 |
| /15 | 255.254.0.0 | 131,070 |
| /16 | 255.255.0.0 | 65,534 |
| /17 | 255.255.128.0 | 32,766 |
| /18 | 255.255.192.0 | 16,382 |
| /19 | 255.255.224.0 | 8,190 |
| /20 | 255.255.240.0 | 4,094 |
| /21 | 255.255.248.0 | 2,046 |
| /22 | 255.255.252.0 | 1,022 |
| /23 | 255.255.254.0 | 510 |
| /24 | 255.255.255.0 | 254 |
| /25 | 255.255.255.128 | 126 |
| /26 | 255.255.255.192 | 62 |
| /27 | 255.255.255.224 | 30 |
| /28 | 255.255.255.240 | 14 |
| /29 | 255.255.255.248 | 6 |
| /30 | 255.255.255.252 | 2 |
| /31 | 255.255.255.254 | 0 (point-to-point link) |
| /32 | 255.255.255.255 | 1 (single host) |
Frequently Asked Questions
How do I calculate a subnet mask from a CIDR prefix?
A CIDR prefix like /24 means the first 24 bits of the address are the network portion. Converting that to a dotted mask gives 255.255.255.0. This tool does that conversion automatically alongside the full subnet breakdown.
What’s the difference between network address, broadcast address, and usable host range?
The network address identifies the subnet itself (first address), the broadcast address targets every host on it (last address), and the usable host range is everything in between — the addresses you can actually assign to devices.
Does this tool support IPv6 subnetting?
This calculator currently handles IPv4.
How many usable hosts does a /27 or /28 subnet have?
A /27 gives 30 usable hosts, and a /28 gives 14 usable hosts. See the full chart on this page for every prefix from /8 to /32.
Why is my IP address shown as private (RFC 1918) instead of public?
Ranges like 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16 are reserved for private networks and never routed on the public internet. This tool flags that automatically in the results.
Is this subnet calculator free to use?
Yes, completely free and unlimited — no sign-in required, and every calculation runs in your browser.