Common CIDR Values
/8 · 16,777,214 hosts (255.0.0.0)
/16 · 65,534 hosts (255.255.0.0)
/24 · 254 hosts (255.255.255.0)
/28 · 14 hosts (255.255.255.240)
/30 · 2 hosts (255.255.255.252)
/32 · 1 host (255.255.255.255)
Frequently asked questions
Is the IP address I enter sent to a server?
No. All calculation happens client-side in JavaScript, and the IP address you enter is never sent to or stored on a server.
How do I pick the right CIDR value for the number of hosts I need?
Find the smallest power of 2 that's greater than your required host count. For example, 100 hosts needs 2^7=128, so use /25 (126 usable hosts). It's good practice to size up slightly for future growth.
Why can't the network and broadcast addresses be assigned to a host?
The network address (all host bits 0) is reserved to identify the subnet itself, and the broadcast address (all host bits 1) is reserved for sending to every device on the subnet at once — neither can be given to an individual device.
When would I use a tiny subnet like /30 or /31?
/30 suits point-to-point links where only two devices need to connect, like router-to-router. /31, per RFC 3021, is dedicated to point-to-point links and uses both addresses as hosts with no network or broadcast address.
Does this calculator treat private and public IP ranges differently?
The math is identical either way. However, 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16 are reserved for private use, so internal network designs typically subnet within those ranges.