Hex to Decimal Converter

Enter the hex value to convert it into decimal number

Error: UnKnown number
copy
Swap
copy

He­x to decimal converter

Hex to decimal converter is used for the conversions of Hexadecimal numbers to decimal numbers easily.

What are Decimal Numbers?

Decimal numbers are also known as base-10 numbers. These are the numbers we use in our everyday lives. They consist of ten digits (0 to 9) and follow a positional notation system.

Each digit's position represents a power of 10, with the rightmost digit having a value of 100, the next one on the left has 101, and so on.

Decimal Number System

The decimal number system is the most familiar to us, as we use it for counting and arithmetic. It allows us to express quantities simply and intuitively.

Place Value in Decimal System

The place value of a digit in a decimal number is crucial for understanding its magnitude. For instance, the digit "5" in the number "573" holds a place value of 5 units, while the digit "7" has a place value of 70 (7 tens).

What are Hexadecimal Numbers?

Hexadecimal numbers AKA base-16 numbers are commonly used in computer science and programming. They consist of sixteen digits (0 to 9 and A to F).

Where:

  • A represents 10
  • B represents 11
  • C represents 12
  • D represents 13
  • E represents 14
  • F represents 15

Hexadecimal Number System:

The hexadecimal system is vital in digital systems, as it allows for compact representation and simplification of complex binary numbers.

How to Convert Hexadecimal to Decimal?

Here we perform the example to convert the hexadecimal to decimal as well as decimal to hexadecimal. Follow these steps that help to understand how to convert the number system from Hex to decimal and vice versa.

Converting Hexadecimal to Decimal

Converting hexadecimal to decimal involves multiplying each digit by the respective power of 16 and summing the results.

Example 1:

Convert the hexadecimal number 1A7 to a decimal number

Solution:

Step 1: Multiply the existing numbers with the power of 16 separately.

= 1 * 162 + 10 * 161 + 7 * 160

= 256 + 160 + 7

= 423.

The decimal representation of 1A7 is 423.

Converting Decimal to Hexadecimal:

Converting decimal to hexadecimal involves dividing the decimal number by 16 repeatedly and noting the remainder. The remainder is then converted to hexadecimal digits.

Example 1:

Convert the decimal number 312 to hexadecimal

Solution:

 (Using remainder method)

Step 1:

312 / 16 = 19 with a remainder of 8 (8 in hexadecimal)

Step 2:

19 / 16 = 1 with a remainder of 3 (3 in hexadecimal)

Step 3:

1 / 16 = 0 with a remainder of 1 (1 in hexadecimal)

The hexadecimal representation of 312 is 138.

Hexadecimal to Decimal Conversion Table:

Hex
base 16

Decimal
base 10

Calculation

0

0

-

1

1

-

2

2

-

3

3

-

4

4

-

5

5

-

6

6

-

7

7

-

8

8

-

9

9

-

A

10

-

B

11

-

C

12

-

D

13

-

E

14

-

F

15

-

10

16

1×161+0×160 = 16

11

17

1×161+1×160 = 17

12

18

1×161+2×160 = 18

13

19

1×161+3×160 = 19

14

20

1×161+4×160 = 20

15

21

1×161+5×160 = 21

16

22

1×161+6×160 = 22

17

23

1×161+7×160 = 23

18

24

1×161+8×160 = 24

19

25

1×161+9×160 = 25

1A

26

1×161+10×160 = 26

1B

27

1×161+11×160 = 27

1C

28

1×161+12×160 = 28

1D

29

1×161+13×160 = 29

1E

30

1×161+14×160 = 30

1F

31

1×161+15×160 = 31

20

32

2×161+0×160 = 32

30

48

3×161+0×160 = 48

40

64

4×161+0×160 = 64

50

80

5×161+0×160 = 80

60

96

6×161+0×160 = 96

70

112

7×161+0×160 = 112

80

128

8×161+0×160 = 128

90

144

9×161+0×160 = 144

A0

160

10×161+0×160 = 160

B0

176

11×161+0×160 = 176

C0

192

12×161+0×160 = 192

D0

208

13×161+0×160 = 208

E0

224

14×161+0×160 = 224

F0

240

15×161+0×160 = 240

100

256

1×162+0×161+0×160 = 256

200

512

2×162+0×161+0×160 = 512

300

768

3×162+0×161+0×160 = 768

400

1024

4×162+0×161+0×160 = 1024

 

X
Allmath loader
AdBlocker Detected!

To calculate result you have to disable your ad blocker first.

top