IP to Binary

IP to Binary Converter

Ip To Binary Converter

To convert IPv4 IP address into binary can be an easy task to do once you know the basic concepts and how binary correlates to base 10 the numbering system you as humans use. In base 10 you have numbers that range from zero to nine where in binary there is just two number zero and one. In base 10 the columns are 1, 10, 100, 1000 and 100000 in base 2 the columns are 1, 2, 4, 8, 16, 32, 64, 128 and 255. The process of converting an IP you begin by converting each octet of the address there is four octets in an IPv4 Address. For example, take an IPv4 address you start by converting 192 the first octet in the address. The do the same step with the second octet and so on until you have each octet converted see below on how to convert base 10 to base 2 binary.

Manually Converting a Base 10 into Binary Base 2

Take our IP address above we first convert the first octet this is 192 so we write down this number on the sheet of paper then below write these numbers in the same row 128, 64, 32, 16, 8, 4, 2, and 1. On the next line write zeros below each number see image below to see if you have followed the steps correctly.

Manually Converting Decimal to Binary

The next step is to what combination of the numbers above the zeros add up to 192 for example if we add up 128+64+32 adds up to 224 this combination does not add up to 192 the combination combination must add up to 192 not less than or greater than 192. The combination of 128 + 64 adds up to 192 therefore we sub in below the zeros what numbers was used and which was not. This is done by placing 1 one below the number you used and placing a zero below the number you didn’t use. In this example a one will be placed below 128 and 64 and the rest will have zeros below them see image below.

Manually Converting Decimal to Binary

In row three is the 192 in binary that is all what it takes to convert base 10 number into base 2 binary. So, 192 is 1100 0000 in binary this is how to convert base 10 numbers to base 2 binary this is the first octet in the IP address now converted apply the same method to the second octet and so on then you will have the address fully converted.

Similar Pages

Subnet Calculator

Calculate How Many Subnets you need..

IPv4 Validator

Validate if an ip is a valid ipv4 addres..

Subnet Mask to Wildcard Mask

Subnet Mask to Wildcard Mask Converter..

IP Class Checker

Check to see the class of an ip address...

What is my IP Address

Find out your IP address..

IPv6 Validator

Validate if an IP is a valid IPv6 addres..

IPv6 Validator

Validate if an IP is a valid IPv6 addres..

Generate Random Ip

Generates a random ip address..