IP address, hexadecimal binary binary conversion

IP Address Converter


Hexadecimal to IP address


Convert decimal to IP address

Use a random IP as an example

68.25.193.25

128,64,32,16,8,4,2,1

Remember these numbers first

Take 68 as an example. The first digit 128 is greater than 68, so write it as 0. 68 is greater than 64, so the third digit from the bottom is 4. Write 1 for all the digits that can be subtracted, and write 0 for the other digits

As follows:

128,64,32,16,8,4,2,1

0, 1 , 0, 0,0,1,0,0

This is the binary number of 68

Let's talk about 25. 25 is greater than 16. The previous digits are greater than 25, so 0 is written before 16. 25 minus 16 equals 9. 9 is greater than 8. Write 1 below 8. Then subtract 8 from 9, and there is 1 left. The last digit is 1

128,64,32,16, 8, 4, 2, 1

0 0 0 1 1 0 0 1