Live
Hexadecimal
Decimal

Result

255

0xFF = 15×16 + 15 = 255

Hex to Decimal Converter

Convert hexadecimal to decimal and decimal to hex instantly. Full 0xFF to 255 reference table included.

Hex to Decimal Converter

Convert hexadecimal (base-16) to decimal (base-10) and back, instantly. Perfect for programming, color codes, and memory addresses.

How it works

Hex uses 16 digits: 0-9 and A-F. Each position is a power of 16. For example:

0xFF = 15 × 16¹ + 15 × 16⁰ = 240 + 15 = 255

Quick reference (0x00 to 0xFF)

Hex Dec Hex Dec Hex Dec
0x00 0 0x10 16 0xFF 255
0x0A 10 0x1F 31 0x80 128
0x0F 15 0x40 64 0xA0 160
0x0C 12 0x7F 127 0xE0 224

Common uses

FAQ

What is 0xFFFF in decimal? 65,535 (the maximum 16-bit unsigned value).

How do I convert 0x1A to decimal? 1 × 16¹ + 10 × 16⁰ = 16 + 10 = 26.