Since 2010 · Powering 2M+ tool runs every month
Since 2010
Add to Chrome

My Toolbox

Automatic Mode

No saved tools yet.

Go Premium
Related tools
Hex to Binary ConverterHex to Octal ConverterOctal to Hex ConverterOctal ConverterDecimal to Binary ConverterBinary ConverterBase Converter
Home Page > Math > Number System Converters

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.

Need help using this tool? Ask AI

For Gemini, paste the copied question into the chat. You can also copy it below.

View the question

Free to useNo sign-up requiredInstant Results
HEX ConverterTry it now — free ▼
Digits × place weights give the same 419 in bases 16, 2, 8 and 36

Enter a hex number below to convert it to decimal, binary, octal or any base from 2 to 36, with each digit's value.

Try an Example:

FF 1A3F DEADBEEF 0xCAFE 7F ABC123
0x

Embed HEX Converter Widget

Hexadecimal Input
0x BFAABFAABFE8
= 210,740,080,984,040 (decimal)
01
Binary (Base 2)
1011 1111 1010 1010 1011 1111 1010 1010 1011 1111 1110 1000
10
Decimal (Base 10)
210,740,080,984,040
8
Octal (Base 8)
5772527752537750

Step-by-Step Conversion

Step 1: Identify Each Hex Digit
The hex number BFAABFAABFE8 has 12 digit(s):
B = 11, F = 15, A = 10, A = 10, B = 11, F = 15, A = 10, A = 10, B = 11, F = 15, E = 14, 8 = 8
Step 2: Calculate Positional Values
Multiply each digit by its positional power of 16:
  • 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
Step 3: Sum All Values
Add all the positional values together:
BFAABFAABFE816 = 210,740,080,984,04010

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

           

✨Want faster & ad-free?
Go Premium

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.

HEX Converter: features at a glance
FeatureWhat you getGood for
Main resultsBinary (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 36See 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 formatsAccepts 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 breakdownEach hex digit is mapped to its 4-bit binary value in a visual breakdown.Seeing how hex digits relate to binary
Step-by-step methodExplains the conversion with place values, for example 1A3 = 1 x 16^2 + 10 x 16 + 3 = 419.Learning to convert by hand
Copy resultsCopy 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 Converter: What is Hexadecimal? — part 1 of 4
Hex01234
Dec01234
Bin00000001001000110100
HEX Converter: What is Hexadecimal? — part 2 of 4
Hex56789
Dec56789
Bin01010110011110001001
HEX Converter: What is Hexadecimal? — part 3 of 4
HexABCDE
Dec1011121314
Bin10101011110011011110
HEX Converter: What is Hexadecimal? — part 4 of 4
HexF
Dec15
Bin1111

Why is Hexadecimal Important?

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:

Hex 1A3 = (1 × 16²) + (A × 16¹) + (3 × 16⁰)
= (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:

Hex FA5 → F = 1111, A = 1010, 5 = 0101
Binary: 1111 1010 0101

How to Use This Converter

  1. 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.
  2. Click Convert: Press the Convert button to instantly see your HEX number converted to binary, decimal, octal, and all bases from 2 to 36.
  3. 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.
  4. 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

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:

Math SolverWhat would you like to solve?

Math Solver

Try
Browse expression examples

Choose an example to fill the input, edit its numbers, then Solve. log uses base 10; use ln for the natural logarithm.

Numbers & factors

Fractions & division

Powers, roots & logs

Algebra & equations

Calculus

Geometry & trigonometry

Top & Updated:

Hex to Decimal ConverterBinary to Hex ConverterDecimal to Hex ConverterView all →
Home Page > Math > Number System Converters > HEX Converter
×

Do us a favor and answer 3 quick questions

Thank you for participating in our survey. Your input will help us to improve our services.

Where exactly did you first hear about us?

What is your favorite tool on our site?

if Other, please specify:

How likely is it that you would recommend this tool to a friend?

NOT AT ALL LIKELYEXTREMELY LIKELY

Likely score: (1-10)