Table of Contents
Hexadecimal and decimal are two different numbering systems used to represent and work with numbers.
Decimal
Decimal, also known as the base-10 numbering system, is the most common system used in everyday life. It uses ten symbols (0-9) to represent numbers. Each digit’s position in a decimal number carries a weight based on powers of 10.
Hexadecimal
Hexadecimal, often abbreviated as “hex,” is a base-16 numbering system. It uses sixteen symbols: the digits 0-9 and the letters A-F (or a-f) to represent numbers. This system is commonly used in computing, especially for representing memory addresses, colors in web design, and other situations where large binary numbers need to be represented in a more compact and human-readable format. Each digit’s position in a hexadecimal number carries a weight based on powers of 16.
How to convert from hex to decimal
To convert a hexadecimal (hex) number to a decimal number, you can follow these steps:
- Write down the hexadecimal number.
- Assign a decimal value to each hexadecimal digit.
- Multiply the decimal value of each digit by the appropriate power of 16.
- Add up the results from step 3 to get the decimal equivalent.
See Also
- Hex to binary converter
- Binary to hex converter
- Binary to octal converter
- Binary to string converter
- Decimal to fraction converter
- Decimal to percent converter
Hex 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 |
FAQs on Hexadecimal to Decimal
How do I convert hexadecimal to decimal?
To convert hexadecimal (base 16) to decimal (base 10), you can use the following method: Write down the hexadecimal number. Assign decimal values to each hexadecimal digit (0-9 represent the same values in both systems, while A=10, B=11, C=12, D=13, E=14, and F=15 in decimal). Multiply each digit by the corresponding power of 16 and sum the results.
How to convert hex to decimal binary?
To convert hexadecimal to decimal and then to binary, follow these steps: Convert the hexadecimal number to decimal. Convert the decimal number to binary using the standard method (repeated division by 2 and noting remainders).
What is the decimal form of hexadecimal?
The decimal form of hexadecimal refers to the representation of a hexadecimal number as a decimal number. This involves converting the base-16 number to base 10.
What is the decimal equivalent of 16 in hexadecimal?
The decimal equivalent of 16 in hexadecimal is 22. In decimal, the digit 1 represents one 16 (16^1) and the digit 6 represents six ones (6 * 16^0), which adds up to a total of 22.
What is the hexadecimal of 10?
The hexadecimal representation of the decimal number 10 is A. In hexadecimal, A corresponds to the decimal value 10.
What is base 16 called?
Base 16 is called hexadecimal. It's a numeral system that uses 16 distinct symbols to represent values: 0-9 for the first ten values and A-F for the next six values (representing 10 to 15 in decimal). Hexadecimal is commonly used in computing to represent binary-coded values in a more compact and human-readable form.