Skip to the calculator
Rule Calculator

Convert hexadecimal to decimal

FF in hexadecimal is 255 in decimal. Each digit is multiplied by its place value — the base raised to the digit's position, counting from zero on the right — and the products are added. The page prints every one of those products rather than only the total. The conversion is exact: bases are positional notation for the same number, so nothing is rounded and the result can be checked digit by digit.

Conversion rules checked · How we check

FF in hexadecimal

255

How it gets there

Each digit carries its place
15 × 16¹ + 15 × 16⁰
Which is
240 + 15 = 255

hexadecimal to decimal, at a glance

Hexadecimal is how bytes are written down: two digits cover 0 to 255 exactly, which is why colours, memory addresses and character codes all appear in it.

hexadecimal to decimal, at a glance
hexadecimaldecimal
00
11
22
33
44
55
66
77
88
99
A10
B11
C12
D13
E14
F15
1016

Why is the working shown?

Every other converter of this kind prints the answer and stops. A base is a positional system, so the answer is a sum you can check: each digit is multiplied by the base raised to its position, and the results are added. Going the other way is repeated division, reading the remainders upwards. Neither is a black box, and this page refuses to be one.

Other conversions

Sources