| |||||||||
| |||||||||
Hex - Decimal Converter is an online tool used for various applications in digital electronics to perform either hex to decimal conversion or decimal to hex conversion. In digital computation, the binary numbers 0's and 1's are the numeric codes to represent the decimal numbers. Hexadecimal numbers having 16 digits and ranges from 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E and F. Base 16 is used to represent hex numbers. Whereas the decimal numbers are the base 10 numbers ranges from 0 to 9, used in arithmetic calculations and these numbers can be easily understandable by the humans to perform and understand the digital operations. In digital electronics the computation of both Hex to Decimal conversion and Decimal to Hex conversion are significant. This calculator comprises of two converters namely hex to decimal converter and decimal to hex converter and these two converters have been separated by the respective radio button. To perform the conversion select an appropriate radio button and do input
The following example lets you understand how to perform hex to decimal conversion
Example: Convert hexadecimal number (5 A F)_{16} to its equivalent decimal value
The hex number (5 A F)_{16} can be written as follows
= 5 x 16^{2} + A x 16^{1} + F x 16^{0}
Replace the hexadecimal numbers by its equivalent decimal values and perform the arithmetic operation
A = 10 and F = 15;
= 5 x 16^{2} + 10 x 16^{1} + 15 x 16^{0}
= 1280 + 160 + 15
= 1455
The decimal equivalent is (1455)_{10}
Decimal to Hex Conversion can be achieved by successive division method. The following example lets you understand how to perform decimal to hex conversion
Example: Convert decimal number 2250 to its equivalent hex
The hexadecimal equivalent is (8 C A)_{16}