Hex to Decimal, Decimal to Hex Converter
Convert hex to decimal, decimal to hex, binary to decimal, and octal values.
● Processed locally in your browser unless the page says otherwise.
How to convert hex to decimal, decimal to hex, and binary to decimal
This number base converter handles hex to decimal, decimal to hex, binary to decimal, decimal to binary, and octal conversion. Enter a value, choose its original base, and the tool shows the same number in the other common bases.
Hexadecimal, often called hex, is base 16. It is widely used in programming, color values, memory addresses, binary data, and computer science practice.
Formula or logic
- Binary uses base 2: digits 0 and 1
- Octal uses base 8: digits 0 to 7
- Decimal uses base 10: digits 0 to 9
- Hexadecimal uses base 16: digits 0 to 9 and A to F
Example
For example, hex FF equals decimal 255. Decimal 255 equals hex FF and binary 11111111.
Common questions
What is hex?
Hex is short for hexadecimal, a base-16 number system using 0-9 and A-F.
Can I convert hex to decimal?
Yes. Choose base 16, enter a value such as FF, and the decimal result will be 255.
Can I convert binary to decimal?
Yes. Choose base 2 and enter a binary value such as 11111111 to get decimal 255.