How To Convert Ip Address To Binary Number?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
An IP address is a 32–bit binary number listed in four 8–bit parts (octets) separated by periods. To convert an IP address from decimal (base–10) to binary (base–2), each octet is individually converted. To convert an octet, start with the rightmost digit and multiply it by 2 to the power of zero (1). Move the left and multiply that digit by 2 to the power of one (2) and so on until you reach the leftmost digit. Then add all of the products together. For example, to convert 192.168.1.1:
Octet 1: 11000000 Octet
2: 10101000 Octet
3: 00000001 Octet
4: 00000001
Binary IP address: 11000000.10101000.00000001.00000001