Hex to Decimal
Hexadecimal numbers to Decimal conversion
"Hex to Decimal" Calculator
How to Convert Hex to Decimal
Multiply each digit (A = 10 … F = 15) by the weight of its place — a power of 16 — and add the results.
Example: 3E8 hex in decimal
| 16² | 16¹ | 16⁰ |
| 256 | 16 | 1 |
| 3 | E | 8 |
| = 14 |
3×256 + 14×16 + 8×1 = 768 + 224 + 8 = 1,000
See Also
- Binary to Decimal Converter - Binary numbers to Decimal conversion
- Decimal to Binary Converter - Decimal numbers to Binary conversion
- Decimal to hex converter - Decimal numbers to Hexadecimal conversion
FAQ
Can hexadecimal digits be lowercase?
Yes. This converter accepts both uppercase and lowercase hex letters — '3e8' and '3E8' are treated as the same value, and both convert to decimal 1,000.
How do you convert hexadecimal to decimal?
Multiply each hex digit by 16 raised to its position (counting from 0 on the right) and add the results. For example, hex 3E8 = (3×16²) + (14×16¹) + (8×16⁰) = 768 + 224 + 8 = 1,000.
What is the largest hexadecimal number this converter accepts?
Up to 15 hex characters, close to the maximum integer size on a 64-bit system — for example, 'fffffffffffffff' converts to the decimal number 1,152,921,504,606,846,975.