• youtube
  • google

How to Convert an IP Address Into Binary

1 Star2 Stars3 Stars4 Stars5 Stars

This video will show you how to convert an IP address into its binary equivalent. This tutorial assumes you already know how to convert decimal into binary, so if you don’t know how to do that, watch my video on converting decimal into binary and hexadecimal here:

The basic idea is that an IP Address is made up of 4 bytes that are separated by periods. This means that the IP address is made up of 4 numbers, from 0-255, that are separated by periods. For example is a valid IP Address, while is not because 272 is impossible to represent with 8 bits (because 11111111 is 255 and that is as high as 8 btis can represent).

This means that you can represent an IP address with decimal numbers, or with it’s binary equivalent. For example would be equivalent to 11000000.10101000.00010100.00000001.

You may also want to work with subnet masks, which are in the same format as an IP address, with 4 bytes separated by periods. Usually a subnet mask is only represented as 255′s or 0′s. You may have heard the term Class A, B, and C networks. A class A network subnet mask would be, Class B would be, class C would be the most basic terms, the subnet mask shows what values will be unique to the device’s IP on the network, and which will be the same on all the computers on that same subnet/network. For example, with a class C network, the subnet is, and let’s say the first three bytes of the IP address on that subnet are 192.168. This means that on this subnet, all the devices will have those same first three numbers, but each one will have a unique last number from 0-255. This means that a class C network can only support 256 devices per subnet. On the other hand if you have a class A network where the first number is 10. then the last three numbers will all be used for inique IP addresses, while all of them will have 10 as their first number in their IP. This means that a class A subnet can support 256*256*256=16581375 unique devices.

In general this means that a large network (such as a large companies) will use class A subnets, while usually on your home network you will use a Class C subnet.

Check out my facebook at:

or my twitter:

Like This Post? Share It

Leave a Reply