HEX Converter
Follow the place value of a hexadecimal number in MiniWebtool’s HEX Converter. Convert it to decimal, binary, octal, or another base from 2 to 36, with a digit-by-digit explanation of the conversion.
For Gemini, paste the copied question into the chat. You can also copy it below.Need help using this tool? Ask AI
View the question
Enter a hex number below to convert it to decimal, binary, octal or any base from 2 to 36, with each digit's value.
Step-by-Step Conversion
- B (11) × 1611 = 11 × 17,592,186,044,416 = 193,514,046,488,576
- F (15) × 1610 = 15 × 1,099,511,627,776 = 16,492,674,416,640
- A (10) × 169 = 10 × 68,719,476,736 = 687,194,767,360
- A (10) × 168 = 10 × 4,294,967,296 = 42,949,672,960
- B (11) × 167 = 11 × 268,435,456 = 2,952,790,016
- F (15) × 166 = 15 × 16,777,216 = 251,658,240
- A (10) × 165 = 10 × 1,048,576 = 10,485,760
- A (10) × 164 = 10 × 65,536 = 655,360
- B (11) × 163 = 11 × 4,096 = 45,056
- F (15) × 162 = 15 × 256 = 3,840
- E (14) × 161 = 14 × 16 = 224
- 8 (8) × 160 = 8 × 1 = 8
All Base Conversions (2-36)
| Base | Value | Copy |
|---|---|---|
| 2 | 101111111010101010111111101010101011111111101000 | |
| 3 | 1000122011112222120210122212002 | |
| 4 | 233322222333222223333220 | |
| 5 | 210110231141212442130 | |
| 6 | 2024112353502310132 | |
| 7 | 62250316443361406 | |
| 8 | 5772527752537750 | |
| 9 | 1018145876718762 | |
| 10 | 210740080984040 | |
| 11 | 6116A403807563 | |
| 12 | 1B776A0A888348 | |
| 13 | 907892064CB2A | |
| 14 | 3A07C352A6476 | |
| 15 | 1956C76C1BB45 | |
| 16 | BFAABFAABFE8 | |
| 17 | 62915G7A4AC6 | |
| 18 | 35078E092432 | |
| 19 | 1F718ID600H6 | |
| 20 | 10BC0DF63020 | |
| 21 | CD6G16JAJIK | |
| 22 | 7KC6FBD26JE | |
| 23 | 5201C5LMK59 | |
| 24 | 37IC4G0D0K8 | |
| 25 | 2562G977OBF | |
| 26 | 1CL44HH9J1A | |
| 27 | 10H4EQFLHN2 | |
| 28 | JPMFH4483K | |
| 29 | EF7Q64S9G7 | |
| 30 | AL6119EHOK | |
| 31 | 7U2NJE1ALD | |
| 32 | 5VLAVQLFV8 | |
| 33 | 4HRQNHCTVE | |
| 34 | 3G0AKWHJN6 | |
| 35 | 2NKFOWRPMK | |
| 36 | 22P8NN2J1K |
About HEX Converter
Welcome to the HEX Converter, a powerful free online tool that converts hexadecimal numbers to binary, decimal, octal, and any base from 2 to 36. Whether you are a programmer working with memory addresses, a web developer dealing with color codes, or a student learning number systems, this converter provides instant results with visual breakdowns and step-by-step explanations.
At a Glance
HEX Converter converts hexadecimal numbers to binary, decimal, octal and every other base from 2 to 36. It shows a digit-by-digit breakdown and explains each conversion step.
| Feature | What you get | Good for |
|---|---|---|
| Main results | Binary (base 2), decimal (base 10) and octal (base 8) appear first, with grouped digits for readability. | The usual bases for programming and electronics |
| Bases 2 to 36 | See the number in every base from 2 to 36 and use the search filter to find a specific base. | Odd bases such as 12, 20 or 36 |
| Input formats | Accepts digits 0-9 and letters A-F in either case, an optional 0x prefix such as 0xFF, and negative numbers. | Values copied from code, debuggers or memory dumps |
| Digit breakdown | Each hex digit is mapped to its 4-bit binary value in a visual breakdown. | Seeing how hex digits relate to binary |
| Step-by-step method | Explains the conversion with place values, for example 1A3 = 1 x 16^2 + 10 x 16 + 3 = 419. | Learning to convert by hand |
| Copy results | Copy any base result to the clipboard. | Pasting values into code or documents |
What is Hexadecimal?
Hexadecimal (often called "HEX") is a base-16 numbering system that uses 16 unique symbols to represent values. It uses the standard digits 0-9 for values zero through nine, and the letters A through F (or a-f) for values ten through fifteen:
| Hex | 0 | 1 | 2 | 3 | 4 |
|---|---|---|---|---|---|
| Dec | 0 | 1 | 2 | 3 | 4 |
| Bin | 0000 | 0001 | 0010 | 0011 | 0100 |
| Hex | 5 | 6 | 7 | 8 | 9 |
|---|---|---|---|---|---|
| Dec | 5 | 6 | 7 | 8 | 9 |
| Bin | 0101 | 0110 | 0111 | 1000 | 1001 |
| Hex | A | B | C | D | E |
|---|---|---|---|---|---|
| Dec | 10 | 11 | 12 | 13 | 14 |
| Bin | 1010 | 1011 | 1100 | 1101 | 1110 |
| Hex | F |
|---|---|
| Dec | 15 |
| Bin | 1111 |
Why is Hexadecimal Important?
- Compact binary representation: Each HEX digit maps to exactly 4 binary bits. This makes HEX perfect for representing binary data in a human-readable format.
- Web colors: CSS color codes use hex notation like #FF5733 (orange-red), where each pair represents RGB values.
- Memory addresses: Computer memory locations are typically displayed as hex values (e.g., 0x7FFF0000).
- MAC addresses: Network hardware identifiers use hex pairs (00:1A:2B:3C:4D:5E).
- Programming: Assembly language, debugging, and low-level programming frequently use hexadecimal notation.
How to Convert Hexadecimal to Decimal
To convert a hexadecimal number to decimal, multiply each digit by 16 raised to the power of its position (starting from 0 on the right), then sum all the results:
= (1 × 256) + (10 × 16) + (3 × 1)
= 256 + 160 + 3 = 419
How to Convert Hexadecimal to Binary
Converting HEX to binary is straightforward because each HEX digit corresponds to exactly 4 binary bits. Simply replace each HEX digit with its 4-bit binary equivalent:
Binary: 1111 1010 0101
How to Use This Converter
- Enter HEX number: Type your hexadecimal number using digits 0-9 and letters A-F. You can use the 0x prefix (e.g., 0xFF) or enter the number directly (e.g., FF). Negative numbers are also supported.
- Click Convert: Press the Convert button to instantly see your HEX number converted to binary, decimal, octal, and all bases from 2 to 36.
- View primary results: The primary results section shows the most commonly used conversions: Binary (base-2), Decimal (base-10), and Octal (base-8) with grouped formatting for easy reading.
- Explore all bases: Scroll down to see conversions to all bases from 2 to 36. Use the search/filter feature to quickly find a specific base. Click Copy to copy any result to your clipboard.
Frequently Asked Questions
What is hexadecimal and how does it work?
Hexadecimal (HEX) is a base-16 number system using digits 0-9 and letters A-F. Each HEX digit represents a value from 0 to 15: A=10, B=11, C=12, D=13, E=14, F=15. One HEX digit equals exactly 4 binary bits, making it perfect for representing binary data compactly. For example, HEX FF equals binary 11111111 equals decimal 255.
How do I convert hexadecimal to decimal?
To convert HEX to decimal: multiply each HEX digit by 16 raised to its position power (starting from 0 on the right), then sum the results. For example, HEX 1A3 = (1 × 16²) + (10 × 16¹) + (3 × 16⁰) = 256 + 160 + 3 = 419 in decimal.
How do I convert hexadecimal to binary?
Converting HEX to binary is straightforward: replace each HEX digit with its 4-bit binary equivalent. For example, HEX F = 1111, HEX A = 1010, HEX 5 = 0101. So HEX FA5 becomes 1111 1010 0101 in binary. This 1-to-4 mapping makes HEX ideal for representing binary data.
What does the 0x prefix mean in hexadecimal?
The 0x prefix is a common convention in programming languages (C, Python, JavaScript, etc.) to indicate that a number is hexadecimal. For example, 0xFF means hexadecimal FF (decimal 255). Without the prefix, the number might be confused with decimal. This converter accepts both formats.
Where is hexadecimal commonly used?
Hexadecimal is used extensively in computing: HTML/CSS color codes (#FF5733), memory addresses (0x7FFF0000), MAC addresses (00:1A:2B:3C:4D:5E), Unicode characters (U+0041), binary file editing, assembly language, and debugging. Its compactness and direct binary mapping make it ideal for these applications.
Related Tools
- Hex Calculator - Perform hexadecimal arithmetic and bitwise operations
- Binary Converter - Convert binary numbers to other bases
- Decimal to Hex Converter - Convert decimal to hexadecimal
- Hex to Decimal Converter - Convert hexadecimal to decimal
- Base Converter - Convert numbers between any bases
External Resources
Reference this content, page, or tool as:
"HEX Converter" at https://MiniWebtool.com/hex-converter/ from MiniWebtool, https://MiniWebtool.com/
by miniwebtool team. Updated: Jan 10, 2026
Chat with your favorite AI
For Gemini, paste the copied question into the chat. You can also copy it below.
View the question
Number System Converters:
- Base Converter
- Base-N Calculator
- Binary Calculator
- Binary Converter
- Binary to Decimal Converter
- Binary to Hex Converter
- Binary to Octal Converter
- Decimal to Binary Converter
- Decimal to Hex Converter
- Decimal to Octal Converter
- Decimal to Percent Converter
- Decimal to Scientific Notation Converter
- Degree to Radian Converter
- HEX Calculator
- HEX Converter
- Hex to Binary Converter
- Hex to Decimal Converter
- Hex to Octal Converter
- Octal Calculator Popular
- Octal Converter
- Octal to Binary Converter
- Octal to Decimal Converter
- Octal to Hex Converter
- Percent to Decimal Converter
- Radian to Degree Converter
- Ratio to Percentage Calculator Popular
- Roman Numerals Converter Popular
- Scientific Notation to Decimal Converter Popular