Hex or hexadecimal is a counting system based upon 16 characters. This counting system is specifically interesting, because in the decimal system often, there are just 10 digits to represent numbers.

You are watching: Convert base 16 to base 2


16-base device (hexadecimal)

Hex or hexadecimal is a counting system based on 16 characters. This counting system is specifically interesting, since in the decimal mechanism often, there are just 10 number to represent numbers. Because the hex system has actually 16 digits, the 6 additional digits (in enhancement to the 10 number in the decimal) room denoted by the very first 6 letter of the English alphabet. Therefore, the hex digits encompass 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 and also A, B, C, D, E, F. This digital system is most generally used in mathematics and also information technology. In HTML programming, the color attribute deserve to be stood for by a 6-digit hexadecimal number: FFFFFF to represent white, 000000 to represent black, etc.

*

Base 2 system (binary system)

The binary mechanism uses two characters, 0 and 1, to stand for a value.

Binary systems were used in old Egypt, China and also India for countless different purposes. In the contemporary world, binary has end up being the language of digital science and computers. This is the most efficient system for detecting electric signals: rotate off ( 0 ) and also turn ~ above ( 1 ). That is also the basis because that the binary code used to compose data top top the computer. Also the digital message you are currently reading likewise includes binary numbers.

Reading some binary is simpler than you think. This is a quantitative position-based system, so every digit in a binary number is raised to strength 2, beginning from the rightmost place of 2 0 . In base 2 system, each binary digit describes 1 bit.

See more: Who Played Rico In Hannah Montana '? Well This Is What He Looks Like Now

*


How to read binary numbers

To transform binary come decimal, some basic knowledge of just how to review binary numbers can help. As mentioned above, in binary counting utilizing quantitative positions, each little bit (binary digit) is a strength of 2. This method that all binary numbers deserve to be express in terms of power of 2, with the rightmost position is 2 0 .

For example, binary number (1010) 2 can also be written as follows:

(1 * 2 3 ) + (0 * 2 2 ) + (1 * 2 1 ) + (0 * 2 0 )