Hex to Decimal
Convert hex to decimal as you type. Enter a hexadecimal value, with or without the 0x prefix, and the converter shows the decimal result straight away. Copy it with one click. It is free to use.
About Hexadecimal Numbers
Hexadecimal, or base 16, uses sixteen symbols: the digits 0 to 9 and the letters A to F, where A is 10, B is 11, C is 12, D is 13, E is 14 and F is 15. It is popular in computing because one hex digit stands for exactly four binary digits, which makes long binary values much shorter to read and write. You will see it in memory addresses, byte values, color codes like #FF5733 and MAC addresses.
Decimal is the base 10 system you use every day. This tool is a hex to decimal calculator: you give it a hexadecimal value, and it does the arithmetic and returns the base 10 number.
How to Convert Hex to Decimal
1. Type or paste your hexadecimal value into the input field. The 0x prefix is optional.
2. Read the decimal result, which updates as you type.
3. Click to copy the result.
Base 16 to Base 10: How the Conversion Works
Every digit in a hex number has a place value, and each place is worth 16 times the one to its right. Reading from the right, the places are worth 1, 16, 256, 4,096, 65,536 and so on (powers of 16). To convert base 16 to base 10, multiply each digit by its place value and add the results.
Here is 1A3F worked through:
| Digit | Digit value | Place value | Digit value × place value |
| 1 | 1 | 4,096 | 4,096 |
| A | 10 | 256 | 2,560 |
| 3 | 3 | 16 | 48 |
| F | 15 | 1 | 15 |
Add the last column: 4,096 + 2,560 + 48 + 15 = 6,719. So 1A3F in hex is 6,719 in decimal.
A few values worth recognising:
| Hex | Calculation | Decimal |
| A | 10 | 10 |
| 1A | 1 × 16 + 10 | 26 |
| FF | 15 × 16 + 15 | 255 |
| 100 | 1 × 256 | 256 |
| 3E8 | 3 × 256 + 14 × 16 + 8 | 1,000 |
| FFFF | 15 × 4,096 + 15 × 256 + 15 × 16 + 15 | 65,535 |
Common Mistakes to Avoid
❌ Mistakes to Avoid
✓ Solution:
Including invalid characters. Hex uses only 0 to 9 and A to F. A value like 1G4 will not convert, because G is not a hex digit.
Treating the 0x prefix as a digit. The 0x only marks a number as hexadecimal. It is not part of the value, so 0xFF is FF, which is 255. The converter accepts the value either way.
Mixing up hex letters with decimal. The letters stand for the values 10 to 15, not their position in the alphabet. A is 10, not 1, and F is 15, not 6.
Forgetting that hex is not case-sensitive. FF, ff and fF all represent 255. Capital letters carry no extra meaning.
Misreading position values. Place values grow by 16, not by 10. The hex number 10 is 16 in decimal, and 100 is 256, so reading hex digits as if they were decimal gives the wrong answer.
Frequently Asked Questions
Type or paste the hexadecimal value into the converter and the decimal result appears as you type. To do it by hand, multiply each digit by 16 raised to its position, counting from zero on the right, and add the results. For example, 1A is 1 × 16 + 10 = 26.
Base 16 is hexadecimal and base 10 is decimal, so it is the same conversion. Give each digit its place value (1, 16, 256, 4,096 and so on from the right), multiply, and add. The section above shows 1A3F worked through in full.
It tells a programmer or a program that the number that follows is hexadecimal. It is not part of the value. You can include it or leave it out here.
FF is 255. Each F is 15, so the calculation is 15 × 16 + 15 = 255.
No. FF, ff and fF all represent the same value, 255.
Check for characters outside 0 to 9 and A to F. A stray letter such as G, or a typo, makes the value invalid hexadecimal.
No. This tool converts hex to decimal only. To go the other way by hand, divide the decimal number by 16 repeatedly and read the remainders from last to first.
The page states that everything runs locally on your device.
Yes. It is free to use.
Convert Hex to Decimal Now
Type your hexadecimal value into the converter and read the decimal result as you type. Copy it with one click.
More Like This
Advance Loan Calculator
A loan calculator is a financial tool designed to help borrowers estimate their monthly payments, total interest, and repayment schedule for a loan. By inputting key details such as the loan amount, interest rate, and loan term, users can quickly determine how much they will need to pay each month and the overall cost of the loan.
Base64 Decode
Free Base64 decoder for text, files, and images with JWT/Base64URL support and 100% client-side, private processing.
Base64 Encode
Encode text to Base64 instantly. Type any input and get a safe, ASCII-only Base64 string in real time, with one-click copy.

