Hex to Decimal Converter

Convert hexadecimal values to decimal with a step-by-step positional breakdown showing each digit weight and running total.

Share this calculator

Results

Enter a valid hexadecimal number Please enter a hexadecimal number to convert.

Also in Number Theory

Number Systems

Hexadecimal to decimal: convert base-16 numbers to base-10

The hex to decimal converter translates hexadecimal (base-16) values into their decimal (base-10) equivalents. Enter a hex string and see the decimal result with a positional breakdown.

How the conversion works

Multiply each hex digit by 16 raised to its position index (starting from 0 on the right) and sum all the products. Digits A through F carry values 10 through 15.

For example, hex 1A3 equals 1 times 256 plus 10 times 16 plus 3 times 1, which gives decimal 419.

decimal = sum of (digit_i * 16^i)

Each hex digit is multiplied by 16 raised to its position, starting from 0 on the right.

Common use cases

Hex-to-decimal conversion helps when interpreting colour codes, reading debug output, checking file sizes in hex editors, or comparing hash values against known decimal thresholds.

Frequently asked questions

How do I know if a letter is a hex digit or text?

In hexadecimal context, only A through F (or a through f) are valid digit characters, representing values 10 through 15.

What is the largest single hex digit?

F, which equals 15 in decimal. Two hex digits can represent values up to 255 (FF).

Related

More from nearby categories

These related calculators come from the same leaf category, nearby sibling categories, or the same top-level topic.