How to convert hex to decimal
Each hex digit represents a power of 16. Starting from the rightmost digit (position 0), multiply each digit by 16 raised to its position, then sum the results. Digits A–F represent values 10–15. For example: FF = 15×16 + 15 = 255. You can also type a decimal and get hex back.
Hex digit reference
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. Common values: FF=255, 100=256, 1000=4096, FFFF=65535, FFFFFF=16777215.
FAQ
Where is hexadecimal used?
Hex is used extensively in computing: HTML/CSS color codes (#FF5733), memory addresses, byte values in debugging, encoding schemes like UTF-8, and machine code. One hex digit represents exactly 4 bits, making hex a compact shorthand for binary.
Are hex letters case-sensitive?
No. A–F and a–f are equivalent in hex. The tool accepts both and normalizes to uppercase for readability. 0xff and 0xFF represent the same value.