Hexadecimal To Decimal
Hexadecimal To Decimal
Hex is a base 16 number and decimal is a base 10 number. We need to know the decimal equivalent of
every hex number digit. See below of the page to check the hex to decimal chart.
Here are the steps to convert hex to decimal:
Get the decimal equivalent of hex from table.
Multiply every digit with 16 power of digit location.
(zero based, 7DE: E location is 0, D location is 1 and the 7 location is 2)
Sum all the multipliers.
Here is an example:
7DE is a hex number
7DE = (7 * 162) + (13 * 161) + (14 * 160)
7DE = (7 * 256) + (13 * 16) + (14 * 1)
7DE = 1792 + 208 + 14
7DE = 2014 (in decimal number)
Hex System
Hex, or hexadecimal, is a number system of base 16. This number system is especially interesting
because in our casually used decimal system we have only 10 digits to represent numbers. As hex system
has 16 digits, the extra needed 6 digits are represented by the first 6 letters of English alphabet. Hence,
hex digits are 0,1,2,3,4,5,6,7,8 and 9 A, B, C, D, E, F. This number system is the most commonly used
in mathematics and information technologies. I.e. in html programming colors can be represented by a
6-digit hexadecimal number: FFFFFF represents white, 000000 represents black, and so on.
Decimal System
Decimal number system is the most commonly used and the most familiar one to the general public. It
is also known as Base 10 numbering system since it is based on 10 following symbols: 0, 1, 2, 3, 4, 5,
6, 7, 8 and 9. In decimal system, every digit has its own position as well as the decimal point. I.e. the
number 356.74 has 4 in the Hundredths position, 7 in the Tenths position, 6 in the Units position, 5 in
the Tens position, and 3 in the Hundreds position. Decimal number system is also one of the oldest
known numeral system, which is historically related to Hindu-Arabic numeral system.
Hex to decimal conversion examples
(1D9)16 = (473)10
(80E1)16 = (32993)10
(10CE)16 = (4302)10
http://www.readbd.com/question/mcq/bank/467/bank-aptitude-test
1. Decimal To Binary:
Decimal থেকে Binary থে Convert েরকে হকে প্রেকে Decimal Number থে 2 দিকে ভাগ েকর ভাগফে
ও ভাগকেষ থের েরকে হকে। এেং এই এেই পদ্ধদে Use েকর প্রদেোর ভাগফেকে 2 দিকে ভাগ েকর
ভাগকেষ থের েরকে হকে এেং ওই ভাগকেষ গুো সে এেত্র েকর Reverse / উেক া েকর দেখকে ই
Binary Number হকে যাকে।
Example:
2. Binary To Decimal:
Binary থেকে Decimal থে Convert েরকে হকে প্রেকে Binary Number এর Digit গুে Count েকর
(Count অেযেই 0 থেকে Count হকে এেং োে দিে থেকে ডান দিকে Count হকে।) প্রদেট Digit থে 2^n
ধারা গুন েরকে হকে থযখাকন n = ওই Digit এর Base. অেপর সে Number গুে থযাগ েরকে হকে।
Example:
3. Decimal To Octal:
Decimal থেকে Octal থে Convert েরকে হকে প্রেকে Decimal Number থে 8 দিকে ভাগ েকর ভাগফে
ও ভাগকেষ থের েরকে হকে। এেং এই এেই পদ্ধদে Use েকর প্রদেোর ভাগফেকে 8 দিকে ভাগ েকর
ভাগকেষ থের েরকে হকে এেং ওই ভাগকেষ গুো সে এেত্র েকর Reverse / উেক া েকর দেখকে ই
Octal Number হকে যাকে।
Example:
4. Octal To Decimal:
Octal থেকে Decimal থে Convert েরকে হকে প্রেকে Octal Number এর Digit গুে Count েকর (Count
অেযেই 0 থেকে Count হকে এেং োে দিে থেকে ডান দিকে Count হকে।) প্রদেট Digit থে 8^n ধারা
গুন েরকে হকে থযখাকন n = ওই Digit এর Base.
Example:
5. Decimal To Hexadecimal:
Decimal থেকে Octal থে Convert েরকে হকে প্রেকে Decimal Number থে 16 দিকে ভাগ েকর ভাগফে
ও ভাগকেষ থের েরকে হকে। এেং এই এেই পদ্ধদে Use েকর প্রদেোর ভাগফেকে 16 দিকে ভাগ েকর
ভাগকেষ থের েরকে হকে এেং ওই ভাগকেষ গুো সে এেত্র েকর Reverse / উেক া েকর দেখকে ই
Hexadecimal Number হকে যাকে।
Example:
6. Hexadecimal To Decimal:
Hexadecimal থেকে Decimal থে Convert েরকে হকে প্রেকে Hexadecimal Number এর Digit গুে
Count েকর (Count অেযেই 0 থেকে Count হকে এেং োে দিে থেকে ডান দিকে Count হকে।) প্রদেট
Digit থে 16^n ধারা গুন েরকে হকে থযখাকন n = ওই Digit এর Base.
Example: