Subnet Mask and CIDR Converter
Convert between CIDR prefix (/24) and subnet mask (255.255.255.0) both ways, with validation.
CIDR and mask are the same thing
The CIDR prefix counts how many bits, from left to right, are set to 1 in the mask. /24 is 24 bits set to 1, that is 255.255.255.0. Edit either field and the other is converted instantly. Valid masks have all their 1 bits contiguous on the left (for example 255.255.240.0); a value like 255.0.255.0 is not a valid mask.
Ferramentas relacionadas
Subnet / CIDRPopular
Calculate the mask, broadcast, usable host range and CIDR notation of any IP, updating as you type. 100% in your browser.
IP AddressingIP Converter
Convert an IPv4 address between dotted decimal, binary, hexadecimal and 32-bit integer, as you type.
IP AddressingSubnet divider
Split a network into smaller subnets and see the usable range, broadcast and host count of each one.