Enter a hex value below (with or without a 0x prefix) and the decimal equivalent appears instantly. Both uppercase and lowercase letters are accepted, and the conversion runs entirely in your browser.

Hex digit values and examples
HexExpansionDecimal
A1010
F1515
101616
FF15×16 + 15255
1A1×16 + 1026
Worked example
FF255

F is 15, so FF = 15×16 + 15 = 255 — the maximum value of one byte.

Frequently asked questions

What do the letters A–F mean in hex?

They are digits with values 10 through 15: A=10, B=11, C=12, D=13, E=14, F=15. This lets a single hex digit represent any value from 0 to 15.

How do I convert hex to decimal manually?

Multiply each digit by 16 raised to its position (starting at 0 on the right) and add the results. For 1A: 1×16 + 10 = 26.

Why is hex common in programming?

One hex digit equals four bits and two hex digits equal one byte, so colors, memory addresses, and byte values are far more compact and readable in hex than in binary.

Is uppercase or lowercase required?

Neither — this tool accepts ff and FF equally and ignores a leading 0x prefix.

Related conversions

Need more options? Try the full Number Base Converter.