Hex Converter

Convert between Hexadecimal (base-16), Decimal (base-10), Binary (base-2), and Octal (base-8)

๐Ÿ’ก Hex: 0-9, A-F | Decimal: 0-9 | Binary: 0-1 | Octal: 0-7 | Case insensitive

๐Ÿ“– How to Use This Hex Converter

1
Enter the number - Type or paste the number you want to convert.
2
Select the source base - Choose from Hexadecimal, Decimal, Binary, or Octal.
3
Select the target base - Choose the number system you want to convert to.

๐Ÿ”ข Understanding Hexadecimal (Base-16)

Hexadecimal (hex) is a base-16 number system widely used in computing. It uses 0-9 and A-F (A=10, B=11, C=12, D=13, E=14, F=15).

๐Ÿ“Š Hex Conversion Methods

Hex to Decimal: Multiply each digit by 16^position and sum.
FFโ‚โ‚† = 15ร—16 + 15 = 255โ‚โ‚€
Decimal to Hex: Repeatedly divide by 16, read remainders backwards.
255โ‚โ‚€ รท 16 = 15 rem 15 (F) โ†’ FFโ‚โ‚†

๐Ÿ’ป Why Hexadecimal is Used

โ“ Frequently Asked Questions

What is hexadecimal used for?
Used in programming for memory addresses, color codes, debugging, and representing binary data.
How do I convert hex to decimal?
Multiply each hex digit by 16^position and sum. FF = (15ร—16) + 15 = 255.
What is the difference between hex and binary?
Binary uses 0-1 (base-2). Hex uses 16 digits (0-9, A-F). One hex digit = 4 binary bits.
Why is A-F used in hexadecimal?
Hex needs 16 symbols. 0-9 provide 10, A-F represent values 10-15.