⚡ Free Hex Converter

Hex to Decimal Converter

Convert hexadecimal to decimal instantly with exact base-16 to base-10 conversion. Enter any valid hex integer to get its decimal value, powers-of-16 breakdown, digit counts, verified examples, and reference tables.

✓ Free ✓ No sign-up ✓ Exact BigInt conversion ✓ 0x prefix accepted
16→10
Hex → Decimal
Ready
0–9, A–F
HEX
Enter 0–9 and A–F. Lowercase and optional 0x prefix are accepted.
Try:
✓ Decimal Result
0
Base 10 decimal value
Hex Digits 1
Decimal Digits 1
Conversion Base 16 → Base 10
Positional expansion:

What Is a Hex to Decimal Converter?

A hex to decimal converter changes an integer from the hexadecimal number system (base 16) into the equivalent decimal number system (base 10).

Hexadecimal uses sixteen digit values. The symbols 0 through 9 keep their familiar values, while A, B, C, D, E, and F represent decimal values 10, 11, 12, 13, 14, and 15.

Every position in a hexadecimal number is weighted by a power of 16. Starting from the rightmost digit, the place values are 16⁰, 16¹, 16², 16³, and so on.

Hexadecimal — Base 16

Uses digits 0–9 and A–F with place values based on powers of sixteen.

Decimal — Base 10

Uses digits 0–9 and is the standard everyday number system.

How to Use the Hex to Decimal Converter

Enter a hexadecimal integer

Type a value such as FF. Lowercase letters are accepted, and you may also enter a common prefix such as 0xFF.

Convert to decimal

BinaryCon evaluates the base-16 value with exact integer arithmetic.

Read the decimal result

The result card displays the complete base-10 integer without scientific notation.

Review the powers-of-16 breakdown

For shorter values, the calculator shows each hexadecimal digit multiplied by its positional power of 16.

Copy the result

Use the decimal value for programming, debugging, electronics, calculations, coursework, or another BinaryCon converter.

Hex to Decimal Formula

If a hexadecimal number contains digits dₙ dₙ₋₁ ... d₁ d₀, its decimal value is calculated as:

Decimal = dₙ×16ⁿ + dₙ₋₁×16ⁿ⁻¹ + … + d₁×16¹ + d₀×16⁰

Before using the formula, hexadecimal letters are interpreted as numerical values A=10, B=11, C=12, D=13, E=14, and F=15.

Hexadecimal Digit Values

Hex Digit Decimal Value Binary
000000
110001
220010
330011
440100
550101
660110
770111
881000
991001
A101010
B111011
C121100
D131101
E141110
F151111

Worked Example: Convert Hex FF to Decimal

Hexadecimal FF contains two F digits, each with value 15.

Assign powers: F × 16¹
F × 16⁰
Replace F with 15: 15 × 16 + 15 × 1 Evaluate: 240 + 15 = 255 Therefore: FF₁₆ = 255₁₀

Example: Convert Hex 2D to Decimal

Hex D has decimal value 13: 2D₁₆ = 2×16¹ + 13×16⁰ = 32 + 13 = 45 Therefore: 2D₁₆ = 45₁₀

Example: Convert Hex 1A3 to Decimal

Expand the digits: 1A3₁₆ = 1×16² + A×16¹ + 3×16⁰ Replace A with decimal 10: = 1×256 + 10×16 + 3×1 = 256 + 160 + 3 = 419 Therefore: 1A3₁₆ = 419₁₀

Hex to Decimal Conversion Table

Hex Decimal Hex Decimal
0088
1199
22A10
33B11
44C12
55D13
66E14
77F15
10161F31
20322D45
40647F127
80128FF255
1002561FF511
FFF4095FFFF65535

Important Powers of 16

Power Decimal Value Hex Benchmark
16⁰11
16¹1610
16²256100
16³4,0961000
16⁴65,53610000
16⁵1,048,576100000
16⁶16,777,2161000000
16⁸4,294,967,296100000000

Why Hex 10 Equals Decimal 16

The characters 10 do not have the same numeric value in every number system. Their meaning depends on the base.

Decimal: 10₁₀ = 1×10 + 0 = 10 Hexadecimal: 10₁₆ = 1×16 + 0 = 16

Decimal 10 itself is written as hexadecimal A.

What Does the 0x Prefix Mean?

In many programming languages and technical tools, a prefix such as 0x identifies a number as hexadecimal.

0xFF = FF₁₆ = 255₁₀

The prefix is notation, not part of the numeric digits. BinaryCon accepts the common 0x prefix and removes it before conversion.

Uppercase and Lowercase Hex Values

Hexadecimal letters are normally case-insensitive. That means FF, ff, and Ff all represent the same numeric value.

FF₁₆ = ff₁₆ = 255₁₀

BinaryCon normalizes entered letters to uppercase for consistent display.

Why Hex Is Closely Related to Binary

Hexadecimal is popular in computing partly because one hex digit represents exactly four binary bits.

F₁₆ = 1111₂
FF₁₆ = 11111111₂

Since 16 = 2⁴, long binary values can be compressed into hexadecimal without losing their exact bit structure.

Hexadecimal and Byte Values

Two hexadecimal digits can represent every possible 8-bit unsigned byte value. The range runs from:

00₁₆ = 0₁₀
FF₁₆ = 255₁₀

This is why pairs of hex digits appear frequently in byte dumps, network packets, RGB color channels, memory displays, and binary file formats.

Where Hex to Decimal Conversion Is Useful

Programming

Convert constants, masks, register values, flags, IDs, or hexadecimal literals into ordinary decimal integers.

Debugging

Memory addresses, byte values, debugger output, and hex dumps may need decimal interpretation for analysis.

Digital electronics

Hexadecimal register or bus values can be translated into decimal for measurement, documentation, and calculations.

Computer science education

Hex-to-decimal problems reinforce positional notation, powers of sixteen, binary relationships, and number-system fundamentals.

Common Hex to Decimal Conversion Mistakes

Treating A–F as text instead of digits

In hexadecimal, A through F have numeric values 10 through 15.

Using powers of 10

Hexadecimal place values are powers of 16, not powers of 10.

Starting the rightmost position at 16¹

The rightmost digit always has weight 16⁰ = 1.

Thinking FF means decimal 1515

Hex FF is positional: 15×16 + 15 = 255, not a concatenation of decimal values.

Related BinaryCon Tools

Reverse this conversion or continue working with hexadecimal, binary, octal, ASCII, and decimal values.

Hex to Decimal Converter FAQs

How do you convert hexadecimal to decimal?

Multiply each hexadecimal digit by the corresponding power of 16 and add the results. Start with 16⁰ at the rightmost digit. Interpret A through F as decimal values 10 through 15.

What is hex A in decimal?

Hexadecimal A represents decimal 10.

What is hex F in decimal?

Hexadecimal F represents decimal 15, the largest value represented by a single hexadecimal digit.

What is hex 10 in decimal?

Hex 10 equals decimal 16 because it means 1×16¹ + 0×16⁰.

What is hex 2D in decimal?

Hexadecimal 2D equals decimal 45. D is 13, so 2×16 + 13 = 45.

What is hex FF in decimal?

Hexadecimal FF equals decimal 255: 15×16 + 15 = 255.

What is hex 1A3 in decimal?

Hexadecimal 1A3 equals decimal 419: 1×256 + 10×16 + 3 = 419.

What does 0xFF mean?

The prefix 0x indicates hexadecimal notation in many programming languages. 0xFF means hex FF, which equals decimal 255.

Can hex letters be lowercase?

Yes. Hexadecimal is normally case-insensitive, so A–F and a–f represent the same digit values. BinaryCon accepts both.

Why does FF equal 255?

The left F occupies the 16¹ position and the right F occupies the 16⁰ position. Therefore FF = 15×16 + 15×1 = 255.

Can this converter handle very large hexadecimal integers?

Yes. It uses JavaScript BigInt instead of ordinary floating-point Number values, allowing large valid hexadecimal integers to be converted exactly without the normal safe-integer precision limitation.

Does a leading zero change a hexadecimal integer?

No. Leading zeros do not change an unsigned integer’s value. For example, FF, 0FF, and 000FF all represent decimal 255.

Is hexadecimal-to-decimal conversion exact?

Yes for integers. Every hexadecimal digit has an exact numeric value and every position has an exact power-of-16 weight, so no rounding is needed.

Does this tool support hexadecimal fractions?

This calculator is designed for whole-number hexadecimal integers. Fractional hexadecimal values use negative powers of 16 to the right of the radix point and require separate fractional processing.

Convert Hex to Decimal Instantly

Use BinaryCon for exact hexadecimal-to-decimal conversion, powers-of-16 breakdowns, large integer support, verified examples, reference tables, and free number-system tools without registration.

Scroll to Top