Hex to Decimal Converter
Convert hexadecimal (base-16) numbers to decimal (base-10) format. Also see binary and octal equivalents.
Related Tools
Enter a hexadecimal number to convert
Frequently Asked Questions
How do you convert hexadecimal to decimal?
Multiply each hex digit by 16 raised to its positional power (right to left, starting at 0). For 0xFF: (15×16) + (15×1) = 240 + 15 = 255.
Where is hexadecimal used in computing?
Hex is used for memory addresses, RGB color codes (#FF6600), file checksums, byte representations in debugging, and HTML/CSS color values. It is compact — one hex digit represents 4 bits.
What does 0x mean before a hex number?
0x is a prefix convention used in many programming languages to indicate hexadecimal notation. It has no numeric value — 0xFF is the same as FF hex, which is 255 decimal.