Instant conversion

Hex to Decimal Converter

Decimal value = sum of each hex digit value × 16^position, counting positions from right to left starting at 0.

1 decimal

Common hex to decimal conversions

hexdecimal
11
A10
F15
1016
1F31
2A42
64100
7F127
80128
FF255
100256
3E81000

How this conversion works

Decimal value = sum of each hex digit value × 16^position, counting positions from right to left starting at 0.

Privacy: Conversions run in this browser. Nothing you type is uploaded.

What you are converting

Hexadecimal

A base-16 number system using digits 0-9 and letters A-F, where A equals 10 and F equals 15. Programmers use it daily for memory addresses, color codes like #FF5733, and MAC addresses on network cards.

Decimal

The base-10 number system using digits 0-9, the standard counting system for everyday quantities such as prices, measurements, and calculator displays.

Why convert and when you would use this

Web developers convert hex color codes like #1A2B3C into decimal RGB values when matching colors across design tools. IT technicians convert hex error codes or memory addresses from system logs into decimal so they match printed documentation and vendor support articles.

Worked example

Convert hex 2F to decimal using the formula: the digit 2 sits in position 1 and F, worth 15, sits in position 0. Calculate (2 × 16^1) + (15 × 16^0) = 32 + 15 = 47. Hex 2F therefore equals decimal 47.

Rounding and accuracy

Hex to decimal conversion always produces an exact whole number, so no rounding is needed. Report results with zero decimal places. Rounding only becomes relevant if a tool appends trailing zeros or you convert fractional hex values, which standard integer conversions do not involve.

Frequently asked questions

How do you convert hex to decimal?

Evaluate each hexadecimal digit by its power of 16 and add the values.

What digits are valid in hexadecimal?

Hex uses 0-9 and A-F, where A=10 through F=15.

Is hex case-sensitive?

No. A-F and a-f have the same decimal values.