Binary to hexadecimal conversion will no longer be a problem with our online converter. Remember that the binary system works in base 2 whose symbols are 0 and 1 while in the case of the hexadecimal system, the base is 16 and we have a wide range of symbols ranging from 0 to 9 and then from A to F.

In case you need to perform the reverse conversion, we have also developed a calculator for from hexadecimal to binary. And if what you want is a binary translatorIf you are interested, please visit the link that we have just left you.

## How to convert from binary to hexadecimal

Binary to hexadecimal conversion is a very simple operation that we are going to explain step by step.

To begin with, you need to make 4-digit groupings in binary. If for whatever reason you do not have to make a group of four, add as many zeros to the left as needed. For example, imagine that we want to convert the following binary code to hexadecimal:

1101001100101

Making 4-digit groupings (from right to left) we are left with the chain organized as follows:

0001 1010 0110 0101

If you notice, we had to add 3 zeros to the last group (the one on the far left). Con las agrupaciones ya hechas, aplicaremos un pequeño "truco" para aprender a convertir de binario a hexadecimal. Este truco consiste en add a kind of exponent on top of each digit of the group of four. They always have the same placement and it is as follows:

08040211  / 18041201  / 08141201 / 08140211

From left to right, we will always place:

• An 8 in the first digit
• A 4 in the second
• A 2 in the third
• A 1 in the room

Estos números que hemos colocado representan la cantidad de 8's, 4's, 2's y 1's que tenemos en cada grupo. Por ejemplo, si cogemos el conjunto:

08140211

We see that:

• Tenemos cero 8's
• We have a 4
• Tenemos cero 2's
• We have a 1

Now we add it all up and we are left with:

4 + 1 = 5

Therefore, group 0101 in binary is equal to 5 in hexadecimal. Now we have to repeat the same with each group:

08040211 = 0 + 0 + 0 + 1 = 1

18041201 = 8 + 0 + 2 + 0 = 10

08141201 = 0 + 4 + 2 + 0 = 6

08140211 = 0 + 4 + 0 + 1 = 5

We have already passed the binary number to hexadecimal but we have a new problem and that is that the hexadecimal number system goes from 0 to 9 and for higher numbers it uses letters following this order:

• 10 = A
• 11 = B
• 12 = C
• 13 = D
• 14 = E
• 15 = F

Therefore, that 10 that we have obtained in the previous step is actually a letter A.

Finally, we put everything we have seen together and we are left with the binary number 1101001100101 equal to 1A65 in hexadecimal.

## How to convert from binary to hexadecimal in Excel

Excel can convert from binary to hexadecimal automatically as long as we do not enter a binary number longer than 10 bits, after which it does not work and returns an error.

If for you this limitation is not a problem, you simply have to type the following Excel function to convert from binary to hexadecimal:

=BIN.A.HEX(A2)

With that equality, we are telling Excel to convert what is in parentheses from binary to decimal. In this case we are referencing cell A2 so when we write a binary number in it, will be automatically converted to hexadecimal.

If we wish, we can also write between the parentheses the binary number that we want to convert to hexadecimal:

=BIN.A.HEX(110101)

As you can see, the operation is very simple and will get us out of trouble as long as we do not have to work with binary numbers of too great a length. If you exceed the limits of Excel, you can always use our binary to hexadecimal converter which supports a much wider range. Below you will find a table that compiles all of the symbols in the hexadecimal system and you will see their correspondence in binary, so you can print the table if you think it is necessary or have a more global vision of the 16 symbols in hexadecimal.

00
11
102
113
1004
1015
1106
1117
10008
10019
1010A
1011B
1100C
1101D
1110E
1111F

## Binary to hexadecimal with the calculator We have already seen how convert from binary to hexadecimal with our converter, in Excel or even manually with operations but if you have a Casio scientific calculator at hand, you can probably do the conversion with it as well.

Para ello, lo que tienes que hacer es localizar la tecla "MENU CONFIG" o "MODE SETUP" y pulsarla. Te saldrán diferentes opciones en la pantalla pero tienes que seleccionar la que pone "BASE-N".

Ahora lo único que tienes que hacer es localizar y pulsar la tecla que pone "BIN" en la parte superior. En la calculadora de la foto la puedes ver en la última fila de botones. Cuando la hayas pulsado, type the number in binary you want and press the equals key (=) when you are done.

A continuación, presiona el botón que pone "HEX" en la parte superior (se encuentra en la misma fila que "BIN") y la calculadora hará la binary to hexadecimal conversion automatically.