# Hex to Decimal - Decimal to Hex

## Convert hexadecimal to decimal (hex to dec) or decimal to hexadecimal (dec to hex)

Home

Developer Tools

You can input in any of the fields and get equivalent values.
=

## How to Convert Hex to Decimal?

• Hexadecimal to Decimal converter - Multiply each digit with its place value and then add the product values

• Eg to Convert 16 hex to decimal, place value of 6 is 160 and place value of 1 is 161

• (16)16= (1 × 161) + (6 × 160)

• Add the values to get the decimal equivalent which is 16+6=22

• (16)16 = (22)10

## How To Convert Decimal to Hex?

• Decimal to Hexadecimal converter - Divide the number repeatedly by 16 till quotient is zero.

• To convert 64 decimal to hex, Divide the number 64 by 16,the quotient is 4 ,remainder is 0

• Again, divide 1 by 16,now the quotient is 0 ,remainder is 4

• Write the remainder from top to botton 40

• (64)10 = (40)16

00
11
22
33
44
55
66
77
88
99
10A
11B
12C
13D
14E
15F
1610
1711
1812
1913
2014
2216
2519
301E
3220
4028
4830
5032
5436
6440
10064
200C8
255FF
512200
10003E8
100002710

## Frequently Asked Questions on Hex to Decimal converter

• Hexadecimal is a numbering system which having 16 as base.
It is used to represent large numbers.
This number system is also called as base-16.
Mainly used in computers to reduce large string of binary to four digits to understand easily.

• Decimal is a numbering system which having 10 as base. Each digit is denoted by integers from 0 to 9. Also called as Hindu-Arabic Number system /Arabic Number system

• Hexadecimal to Decimal converter - Multiply each digit with 16 to the power of its place value and then add the product values
Eg to Convert 16 hex to decimal, place value of 6 is 160 and place value of 1 is 161
(16)16= (1 × 161) + (6 × 160) .
(16)16 = (22)10

• Decimal to Hexadecimal converter - Divide the number repeatedly by 16 till quotient is zero.
Example 255 in hexadecimal , 255/16 = 15 as reminder and 15 as quotient .
(255)10 = (FF)16