Hex to Decimal Converter
Convert hex numbers to decimal instantly. For example, hex 1A3F equals 6719 in decimal. See the working step by step, and the result in all four bases.
Step-by-step working
How the answer is reached, one step at a time.
All bases
The same number in every base. Copy any row.
How to use Hex to Decimal Converter on KickSolve
Three quick steps, no account needed.
Why choose KickSolve
Built for speed, privacy and clean results.
What you can do with Hex to Decimal Converter
Everything this tool offers.
About Hex to Decimal Converter on KickSolve
What it does and how to get the best results.
How to convert hex to decimal
Every digit in a hex number has a place value equal to 16 raised to its position, counting from 0 on the right. Multiply each digit by its place value and add the products. The worked example below shows every step.
Hex digits and place values
Hexadecimal uses sixteen symbols, 0 to 9 and A to F (A is 10 up to F, which is 15), and each position is worth a power of 16.
Why decimal is used
Decimal is the number system people use every day, so it is the easiest to read and check.
About this converter
It uses exact big-integer arithmetic. Whole numbers only: negative numbers work with a leading minus sign and prefixes such as 0b, 0o and 0x are accepted. Fractions are not supported. Everything runs in your browser.
Working with other number systems? Try Hex to Binary or Hex to Octal, convert back with Decimal to Hex, or use the Number Base Converter for any base from 2 to 36.
Read the KickSolve privacy policy for details about the site itself.
Worked example: hex 1A3F to decimal
The same steps the converter shows for any number.
Multiply each digit by the base (16) raised to its position, counting from 0 on the right (A-F mean 10-15): 1 × 16^3 + 10 × 16^2 + 3 × 16^1 + 15 × 16^0 4096 + 2560 + 48 + 15 = 6719
So hex 1A3F equals decimal 6719.
Hex to Decimal conversion table (0 to 32)
Quick reference for small numbers.
| Hex | Decimal |
|---|---|
| 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 |
| 11 | 17 |
| 12 | 18 |
| 13 | 19 |
| 14 | 20 |
| 15 | 21 |
| 16 | 22 |
| 17 | 23 |
| 18 | 24 |
| 19 | 25 |
| 1A | 26 |
| 1B | 27 |
| 1C | 28 |
| 1D | 29 |
| 1E | 30 |
| 1F | 31 |
| 20 | 32 |
Place values of hex
Each position is worth the base raised to a power.
| Position | Power | Value in decimal | In hex |
|---|---|---|---|
| 0 | 16^0 | 1 | 1 |
| 1 | 16^1 | 16 | 10 |
| 2 | 16^2 | 256 | 100 |
| 3 | 16^3 | 4096 | 1000 |
| 4 | 16^4 | 65536 | 10000 |
| 5 | 16^5 | 1048576 | 100000 |
| 6 | 16^6 | 16777216 | 1000000 |
| 7 | 16^7 | 268435456 | 10000000 |
| 8 | 16^8 | 4294967296 | 100000000 |
| 9 | 16^9 | 68719476736 | 1000000000 |
| 10 | 16^10 | 1099511627776 | 10000000000 |
| 11 | 16^11 | 17592186044416 | 100000000000 |
Frequently asked questions
Quick answers.
How do I convert hex to decimal?
Every digit in a hex number has a place value equal to 16 raised to its position, counting from 0 on the right. Multiply each digit by its place value and add the products.
What is 40 in decimal?
Hex 40 equals 64 in decimal.
What is 100 in decimal?
Hex 100 equals 256 in decimal.
What is FFFF in decimal?
Hex FFFF equals 65535 in decimal.
How do I convert decimal back to hex?
Use the swap button above to open the decimal to hex converter, or follow the same method in reverse.
What digits are valid in hex?
Hex numbers use 0 to 9 and A to F.
What is hex?
Hexadecimal uses sixteen symbols, 0 to 9 and A to F (A is 10 up to F, which is 15), and each position is worth a power of 16.
Why is decimal used?
Decimal is the number system people use every day, so it is the easiest to read and check.
Does it support negative numbers or fractions?
Negative whole numbers work with a leading minus sign. Fractions are not supported.
Does it show the working?
Yes. Under the result, the converter lists each step it used to convert hex to decimal, so you can check your own homework or learn the method.
Can I see the result in other bases?
Yes. The All bases table shows the same number in binary, octal, decimal and hex, with a Copy button on every row.
Is the converter free and private?
Yes. It is free with no signup, and all conversion happens in your browser.
More free tools from KickSolve
Related everyday tools.