How To Find Subnet Mask From IP Address?

Every device has an IP address and it comes in two pieces, Scroll down this page to know how to find subnet mask from IP address

  • The Host or client address
  • The Network address

The IP address is configured by a DHCP server or it can also be manually configured (Static IP addresses). The subnet mask will split the IP address for the host and the network addresses. Doing the split will define which part of the IP address belongs to the computer and which part of the IP address belongs to the network.


The Subnet mask is a 32-bit number that is created by setting the host bits to 0 values and the network bits will all be 1. Only in this way, the Subnet mask will separate the IP address into the host and the network addresses.

The IP address, Subnet mask number, and the gateway have an underlying structure called the Internet Protocol. Most of the networks will make use of the Internet Protocol to facilitate inter-connected device communication. When an organization needs extra networking, the Subnet Mask will split the host element of the IP address into a different subnet.

The primary goal of the subnet mask is to enable the subnetting process. The name Mask in Subnet Mask is applied because the subnet mask uses the 32-bit number to cover the IP address.

Here’s how you can find the Subnet mask from the IP address.

  • Step 1:Turn on your Windows computer and Wait for the desktop screen to open.
  • Step 2: Now,open the Run command (Windows key + R).
  • Step 3: Enter cmd in the Run command field and press the Enter button.
  • Step 4: The Command prompt window will now open with a black screen.
  • Step 5: Type ipconfig /alland press the Enter button.
  • Step 6: The command will show all the informationrelated to your network adapters.
  • Step 7: Scroll down the Command prompt and just below the IP address, you will know how to find subnet mask from IP address in a four-part series.