Netmask, CIDR and the size of networks

The following table translates the traditional netmask format to its CIDR notation. Additionally you can see how many addresses can exist in a subnet with a certain netmask.
NetmaskCIDRNr of IPs
255.255.255.255321
255.255.255.254312
255.255.255.252304
255.255.255.248298
255.255.255.2402816
255.255.255.2242732
255.255.255.1922664
255.255.255.12825128
255.255.255.024256
255.255.254.023512
255.255.252.0221.024
255.255.248.0212.048
255.255.240.0204.096
255.255.224.0198.192
255.255.192.01816.384
255.255.128.01732.768
255.255.0.01665.536
255.254.0.015131.072
255.252.0.014262.144
255.248.0.013524.288
255.240.0.0121.048.576
255.224.0.0112.097.152
255.192.0.0104.194.304
255.128.0.098.388.608
255.0.0.0816.777.216
254.0.0.0733.554.432
252.0.0.0667.108.864
248.0.0.05134.217.728
240.0.0.04268.435.456
224.0.0.03536.870.912
192.0.0.021.073.741.824
128.0.0.012.147.483.648
0.0.0.004.294.967.296

Tags: 

You might also be interested in...