ip address, hex to binary conversion

ip address converter



hexadecimal to ip address



decimal conversion to ip address


take 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 is 128 if it is greater than 68. write 0. 68 is greater than 64. the subtraction is 4. the third digit from the bottom is 4. write 1 for all the digits that can be subtracted. write 0 for 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. it was always greater than 25 before, so 0 is always written before 16. 25 minus 16 equals 9. 9 continues to compare, which is greater than 8. write 1 below 8, then 9 minus 8, and 1 is left. , the last digit is 1

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

0 0 0 1 1 0 0 1