## Tutorials Navigation

## How to convert Binary numbers into Hexadecimal

Tutorial Name: How to convert Binary numbers into Hexadecimal

Category: PC Tutorials

Submitted By: Skittle

Date Added:

Comments: 2

Views: 2,708

Related Forum: PC Building Forum

Share:

In this tutorial I will show you how to convert Binary numbers into Hexadecimal, a shorthand for Binary.

Step 1

First, you need to get your Binary number, for this tutorial I will use the number 10010101

Step 2

You will now need to draw out your 8 column, 2 row Binary table, this is where you will figure out the Hexadecimal representation of the Binary number

It should look like this (the row in-between both of the sets of numbers is just to separate them for aesthetic purposes):

[ Register or Signin to view external links. ]

Step 3

Note:

8 digits of Binary is known as a Byte

1 digit of Binary is known as a Bit

4 digits of Binary (half of a Byte) is known as a Nibble

You will now need to input your 8-digit Binary number into the second row of the table, as two Nibbles:

[ Register or Signin to view external links. ]

Step 4

Now you will need to know the Letter values you will use in Hexadecimal, here is the number system:

[ Register or Signin to view external links. ]

The reason we use letters is because one Bit can only store 1 digit, so numbers like 10, 11, 12 etc cannot be stored as they are 2 digits. This is why we use single digit Letters.

Step 5

So now we can add up the numbers in the Binary table. We add up the numbers along the top that have a '1' on the bottom. We will do this one Nibble at a time:

[ Register or Signin to view external links. ]

8 + 1 = 9

The first Nibble of Binary can be represented as 9 in Hexadecimal

[ Register or Signin to view external links. ]

4 + 1 = 5

The second Nibble of Binary can be represented as 5 in Hexadecimal

So if we put these two Bits of data together, we can represent the Binary number 10010101 as 95 in Hexadecimal.

You may be wondering why there were no letters involved, this is because the Binary number was not large enough to need Letters in Hexadecimal, but just to make sure you understand this I will give another example:

[ Register or Signin to view external links. ]

[ Register or Signin to view external links. ]

8 + 4 + 1 = 13

We know that 13 equals D in Hexadecimal

[ Register or Signin to view external links. ]

8 + 2 + 1 = 11

We know that 11 equals B in Hexadecimal

So if we put these two Bits of data together, we can represent the Binary number 11011011 as DB in Hexadecimal.

We can check this by converting the two digits of Hexadecimal back into Denary (normal numbers):

D = 13

B = 11

We can now put this into a normal Binary table by splitting the numbers up into the 8, 4, 2 and 1 values:

[ Register or Signin to view external links. ]

The table is identical to the one we made earlier, this means we have done this correctly!

If you have any issues, or need any help feel free to PM me!

## Ratings

## Comments

## C4Posted:

I will be using this as practice for my classes so i dont forget it every 6 months for not doing it

## Related Tutorials

- 01. Java Programming Tutorial 3 - Variables(677)
- 02. Java Programming Tutorial 2 - The Basics Pt. 2(541)
- 03. Java Programming Tutorial 1 - The Basics(877)
- 04. SLADE3 Tutorial #5 - Bookmark(547)
- 05. Windows Basics Tutorial #2 - Navigating Windows(554)
- 06. Computer Basics Tutorial #11 - Getting to Know the OS(504)
- 07. Computer Basics Tutorial #8 - Understanding Applications(428)
- 08. Apache Ant Tutorial - Introduction(424)
- 09. Apache Ant Tutorial - Environment Setup(407)
- 10. Apache Ant Tutorial - Creating WAR files(315)
- 11. Apache Ant Tutorial - Building Projects(420)
- 12. Apache Ant Tutorial - Property Files(250)
- 13. Apache Ant Tutorial - Property Task(383)
- 14. Computer Basics Tutorial #7 - Understanding Operating System(615)
- 15. Computer Basics Tutorial #5 - Laptop Computers(484)

## "How to convert Binary numbers into Hexadecimal" :: Login/Create an Account :: 2 comments