hexadecimal to decimal conversion

May 25 • General • 7149 Views • 1 Comment on hexadecimal to decimal conversion

HEXADECIMAL TO DECIMAL

HEXADECIMAL AND DECIMAL NUMBER SYSTEM-AN INTRODUCTION

Hexadecimal (base-16) is a positional number system with the radix or base 16.It uses sixteen distinct symbols most often the symbols are 0-9 to represent values 0-9  and A,B,C,D,E,F to represent values from 10-15.for e.g  the hexadecimal 2AF3 is equal to (2*163 )+(10*162 )+(15*161)+(3*160)  or 10995

The decimal notation refers to the base-10 or with radix 10.A regular decimal number is the sum of the digits multiplied with its power of 10.

Procedure

1.get the hex number,we can call this as the current digit

2.Make a variable called power and set it with zero.

3.multiply the current digit with the (16power)

4.increment the power by 1

5.set the current digit to the previous digit of the hex number

6.repeat the step 3 untill all the digits have been multiplied.

7.sum the result of step 3 to get the answer

Example 1.

Convert the hexadecimal number 3B into the decimal equivalent

3B16 =3*161 + 11*160 =48+11 =59

Hence the decimal equivalent of 3B is 59

Example 2.

E7A9 is the hexadecimal code convert into its decimal equivalent

E7A916 =14*163+7*162+10*161+9*160 =59305

Hence the decimal equivalent is 59305.

RELATED QUESTIONS-ANSWERS

1 WHAT IS THE RADIX VALUE OF THE HEXADECIMAL AND THE DECIMAL NUMBER SYSTEM??

The radix or the base value of hexadecimal number is 16 where as that of decimal is 10.

2.EXPLAIN THE CONVERSION OF HEXADECIMAL TO DECIMAL WITH AN EXAMPLE.

 

 

hexadecimal to decimal conversion

hexadecimal to decimal conversion

here the hexadecimal number A37E is converted to the decimal by multiplying each digit with the power of sixteen depending on their place values and then adding them up.

Tell us Your Queries, Suggestions and Feedback

Your email address will not be published. Required fields are marked *

One Response to hexadecimal to decimal conversion

  1. Rachita Mishra says:

    This article gives the idea about the conversion of hexadecimal.In mathematics and computer science, hexadecimal (also base 16, or hex) is a positional numeral system with a radix, or base, of 16. It uses sixteen distinct symbols, most often the symbols 0–9 to represent values zero to nine, and A, B, C, D, E, F (or alternatively a–f) to represent values ten to fifteen.

« »