# To convert from Hexadecimal to Decimal we multiply the value in each position by its hex weight and add each value. To convert decimal to hexadecimal, the typical method is repeated division by 16. We divide the decimal number by 16 and write the remainder on the side as the least significant digit. PRO DATA DOCTOR it | es | pt | fr | de | jp | kr | cn | ru | nl | gr

Hexadecimal to Decimal Conversion

To convert from Hexadecimal to Decimal we multiply the value in each position by its hex weight and add each value.

Let us take an example to better understand the procedure. Assume that we have any hexadecimal number 3ABE to be converted to its equivalent decimal number. Then the procedure will be as follows:

3*163 + A*162 + B*161 + E*160

= 3* 4096 + 10* 256 + 11*16 + 14

= 12288 + 2560 + 176 + 14

= 15038

Thus the equivalent decimal number for the hexadecimal number 3ABE is 15038.

Decimal to Hexadecimal Conversion

To convert decimal to hexadecimal, the typical method is repeated division by 16. For this method, we divide the decimal number by 16 and write the remainder on the side as the least significant digit.

This process is continued by dividing the quotient by 16 and writing the remainder until the quotient is 0. When performing the division, the remainders which will represent the hex equivalent of the decimal number are written beginning at the least significant digit (right) and each new digit is written to the next more significant digit (the left) of the previous digit.

Let us learn it with example. We take the decimal number 15038 which we got after conversion above. By this we can also check the above conversion and vice-versa.

 Division Quotient Remainder Hex Number 15038 / 16 939 14 (E H) E 939 / 16 58 11 (B H) BE 58 / 16 3 10 (A H) ABE 3 / 16 0 3 (3 H) 03ABE

Sample Chapters from book DATA RECOVERY WITH AND WITHOUT PROGRAMMING by Author Tarun Tyagi Publishers of the Book Number of Pages ISBN Price of the Book BPB Publications, New Delhi, India 540 81-7656-922-4 \$69.00 (Including Shipping Charges, Cost of Book and Other expenses, Free Source Code CD included with the Book)  page 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20

 page 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 © Copyright 2002-2005 DataDoctor.Biz
 Website Data Recovery | recuperación de Datos | Récupération de données | Datenrettung | Recupero dati | データ復旧 | 데이터 복구 | 数据恢复 | Восстановление данных | De terugwinning van gegevens | Ανάκτηση δεδομένων Sitemap Site map1 2 3 4 | Spanish1 2 3 | French1 2 3 | German1 2 3 | Italian1 2 3 | Portuguese1 2 3 | Japanese1 2 3 | Korean1 2 3 | Chinese1 2 3 | Russian1 2 3 | Dutch1 2 3 | Greek1 2 3 Data Recovery Book English | Spanish | French | German | Italian | Portuguese | Japanese | Korean | Chinese | Russian | Dutch | Greek