Part of the Math & Statistics suite · 235 calculators

Hex to Decimal Converter

Convert hexadecimal to decimal — base sixteen, where the digits run 0–9 then A–F.

Hexadecimal counts in sixteens, using A to F for the values ten to fifteen.

Results update as you type
Results
Converted
255
Decimal value
Binary
Octal
Hexadecimal
Bits needed
Reviewed September 2026. Pure mathematics: the result does not depend on where you are. Terminology follows US usage (math, parentheses, decimal point).
No account required · Google Analytics off unless allowedCalculator arithmetic runs in your browserResults update as you type
All calculations run 100% in your browser. The calculator code does not submit your figures to GlobalCalc to obtain a result.
About hex to decimal converter

How the hex to decimal converter works

Hexadecimal counts in sixteens, using A to F for the values ten to fifteen. Each place is worth sixteen times the one to its right, so FF is 15 × 16 + 15 = 255. It exists because one hex digit is exactly four binary digits, so a byte is always two hex characters — which is why colors are written #FF8800 and memory addresses in hex.

Formula: value = Σ digitₖ × bᵏ

Worked examples

InputsConvertedNote
FF255255 — one byte at maximum
1A2626
FFFF6553565535

Frequently asked questions

What do the letters mean?

A=10, B=11, C=12, D=13, E=14, F=15 — the digits past nine.

What is FF in decimal?

255, the largest value one byte can hold.

Why does hex exist?

One hex digit is exactly four bits, so a byte is always two characters — far easier to read than eight ones and zeros.

What does #FF8800 mean?

A color: red 255, green 136, blue 0 — each pair is one byte per channel.

Is 0x important?

It is just a prefix marking a number as hex in most programming languages; the calculator accepts it either way.

Where these figures come from

Last checked: September 2026. Formulas are fixed by mathematics and do not change with tax years or regulations.