Login   |      Register
English    中文


IP address, hex binary binary conversion online calculator

Category: Web




Use a random IP to give an example

68.25.193.25

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

Remember these numbers first

Take the example of 68, the first 128 is greater than 68, the writing is 0, 68 is greater than 64, the subtraction is 4, the third digit is 4, the subtraction is 1, the other digits are written 0.

as follows:

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

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

This is a binary number of 68

Let's say 25, 25 to 16 big, before it is greater than 25, so before 16 is written 0, 25 minus 16 equals 9, 9 continues to compare, greater than 8, 8 below write 1, then 9 minus 8, left 1 The last one is 1

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

0 0 0 1 1 0 0 1

 

   Sign in for comments!

Comment list ( 0 )