CIDR Calculator
The CIDR calculator converts a prefix length (from /0 to /32) into everything you need for subnet planning: the dotted-decimal subnet mask, its binary representation, the wildcard mask used in access lists, and the number of hosts the block contains.
Prefix lengths are the shorthand behind every IPv4 allocation, and being able to move between /24, 255.255.255.0, and 256 addresses without thinking is a core skill. This tool does the conversion for you and shows the binary form so the relationship between the prefix and the mask is easy to see.
CIDR Calculator
Get subnet mask, host count, and binary notation from a CIDR prefix.
Frequently Asked Questions
How many usable addresses are in a /24?
What is a wildcard mask?
Read More
Guides that go deeper on the same topic.


More Tools
Explore the other tools in the toolkit.