How to use
- Enter the IP and prefix length (e.g. 192.168.1.10/24).
- View network/broadcast/usable range/host count.
- Adjust the prefix to recalculate.
FAQ
What is CIDR?
CIDR (Classless Inter-Domain Routing) uses IP/prefix-length to represent a network segment.
How is usable host count calculated?
Usable hosts = 2^(32-prefix) - 2 (/31 and /32 are special cases).
Is anything sent to a server?
No — everything runs locally in your browser.
About this CIDR Calculator
All computation happens locally in your browser. Enter the IP and prefix to get network, broadcast, usable host range and count. Special cases for /31 and /32 are handled.