![]() |
![]() |
Navigation Home | Windows 7 tutorials | Server 2008 tutorials | Amaya tutorials | |Maths quiz for all ages| My Downloads..
Convert Binary To Hexadecimal
To compliment this site and all the online computer tutorials on offer I have setup a computer help forum where you can go to ask your questions.
Here I will show you a simple way of converting Binary to Hexadecimal, I will base this example on the first octet of an ip address.
Firsly I want you to understand that we need to break our 8 digit binary number up in to 2 sections. Each section is called a nibble. In this example we will be using 8 bit binary as you would see in an ip address.
Remember that with Hexadecmal once we count to the number "9" we then start on letters like so
128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 | Totals | |
1st Nibble | 1 | 0 | 0 | 0 | 8+0+0+0=8 | ||||
2nd Nibble | 1 | 1 | 1 | 1 | 8+4+2+1=15 |
You will notice the second nibble totals 15 which is represented by the letter F
A = 10
B = 11
C = 12
D = 13
E = 14
F = 15 Answer = 8F
Binary data (ASCII) American standard code for information interchange
1 = on
0 = off
This is the most standard code for representing alpha numeric data in a computer. ASCII uses binary digits to represent the symbols typed on a keyboard. When computers send on or off states over a network electrical lights or radio waves are used to represent one's or zero's. Each key pressed on a keyboard is represented by 8 binary digits.
So remember this computers use binary but people use decimal, binary is what we call base 2 because it only has 2 numbers. Decimal is base 10 because it has 10 numbers.
Click here to download a decimal to binary converter I created
Download my IP address to binary converter