Subnet mask cheat sheet

This cheat sheet provides a quick reference guide for subnet masks and their corresponding CIDR notation. It helps determine the number of available IP addresses, network, and broadcast addresses within a subnet.



CIDR Netmask Total addresses Usable
/30 4 1
/29 8 5
/28 16 13
/27 32 29
/26 64 61
/25 128 125
/24 256 253
/23 512 509
/22 1024 1021
/21 2048 2045
/20 4096 4093
/19 8192 8189
/18 16384 16381
/17 32768 32765
/16 65536 65533
/12 1048544 1048541
/8 16777214 16777211



The subnet: has 4 addresses - Network Address - Gateway - Usable IP - Broadcast


More information:

  1. Network Address: The network address represents the starting address of a subnet. It is used to identify the network itself and cannot be assigned to a host.
  2. CIDR Notation: CIDR (Classless Inter-Domain Routing) notation represents the subnet mask using a combination of an IP address and a slash ("/") followed by the prefix length. For example, the CIDR notation "" signifies a subnet with a prefix length of 30.

  3. Usable IP Addresses: The usable IP addresses are the range of IP addresses that can be assigned to devices within a subnet. These IP addresses exclude the network and broadcast addresses.

  4. Broadcast Address: The broadcast address represents the last address in a subnet and is used to send a message to all devices within that subnet. It cannot be assigned to a host.

  5. Total IP Addresses: The total IP addresses in a subnet refer to the sum of usable IP addresses, network address, and broadcast address. It provides an overview of the size of the subnet.


  • subnet, netmask, mask
  • 1591 Users Found This Useful
Was this answer helpful?

Related Articles

I receive HostRound emails in my SPAM box, how to fix this?

We do our best to improve email deliverability, however, some of our emails may land in your...

What is a Ransomware?

Ransomware is a type of malicious software, or malware, designed to deny access to a computer...

How to clear Google Chrome DNS cache

To clear Google Chrome DNS Cache Type this in the address bar  chrome://net-internals/#dns...

How to connect to FTP server using FileZilla

We're going to explain how to connect to FTP server using FileZilla FTP Client. Before you start...

Chrome is showing weird font/ hand writing font/ script font on some websites

If you visit some websites and see weird font displayed on the website instead of the original...