CIDR Calculator
Network size, usable hosts and subnet mask from a CIDR prefix length.
Compare Your Options And Get Clear Answers
Network size, usable hosts and subnet mask from a CIDR prefix length.
CIDR Estimator
Enter your numbers below for an instant estimate.
How It Works
Key concepts behind this calculator
Enter Values
Fill in each field with your own numbers.
Calculate
Results update as you change the inputs.
Review
Read the breakdown and the explanation.
Adjust
Change values to compare scenarios.
CIDR Quick Guide
Typical values for reference.
| Prefix | Addresses | Hosts | Mask |
|---|---|---|---|
| /8 | 16,777,216 | 16,777,214 | 255.0.0.0 |
| /16 | 65,536 | 65,534 | 255.255.0.0 |
| /24 | 256 | 254 | 255.255.255.0 |
| /30 | 4 | 2 | 255.255.255.252 |
| Rule of Thumb | Check inputs | Use as a guide | Round sensibly |
CIDR Calculator FAQ
Answers to common questions about this calculator.
The first 24 bits are the network; 256 addresses.
Network and broadcast addresses are not usable for hosts.
Addresses = 2^(32 – prefix).
It is an estimate based on the inputs you enter. Check real quotes, labels or official guidance for important decisions.
