Number bases

Hex to Decimal Converter

Convert hexadecimal numbers to decimal instantly, with the step-by-step method and a reference table.

255

Whole numbers of any size are supported (exact big-integer arithmetic).

How to convert hexadecimal to decimal

Multiply each digit by the base raised to the power of its position (counting from 0 on the right), then add the results.

Example2AF₍16₎ = 2 × 16^2 + A × 16^1 + F × 16^0 = 687

About the number systems

Hexadecimal

Base 16 uses 0–9 and A–F (A = 10 … F = 15). One hex digit is exactly four bits, so two hex digits describe a byte — used for colours (#FF8800), memory addresses and checksums.

Decimal

Base 10 is the everyday number system with digits 0–9; each position is worth ten times the one to its right.

Hexadecimal to decimal table

Hexadecimal to decimal
HexadecimalDecimal
00
11
22
33
44
55
66
77
88
99
A10
B11
C12
D13
E14
F15
1016
1F31
2032
3F63
4064
64100
7F127
80128
FF255
100256
3E81000
4001024
10004096
FFFF65535

Frequently asked questions

How do I convert hexadecimal to decimal?

Multiply each digit by the base raised to the power of its position (counting from 0 on the right), then add the results. Example 2AF₍16₎ = 2 × 16^2 + A × 16^1 + F × 16^0 = 687

What is FF in decimal?

FF (hexadecimal) = 255 in decimal.

Can I convert very large numbers?

Yes. The converter uses exact big-integer arithmetic, so there is no rounding even for long inputs.

Try “psi to bar”, “cups”, “binary” or “5 ft in cm”.