Number Base (Radix) Converter

Decimal to Hexadecimal Converter

Convert base-10 integers to base-16 hex values for programming and color codes.

Number Base (Radix)
(DEC)
Example: 255 DEC
(HEX)
e.g. FFHEX
Standard: Base 16 (1 hex digit = 4 bits / 1 nibble)

Enter any number above to convert Decimal to Hexadecimal. Click (i) for brief unit info.

Converting the other way?

Switch directly to the reverse calculator: Hexadecimal to Decimal Converter

Open Hexadecimal to Decimal Converter

How to Convert Decimal (Base 10) to Hexadecimal (Base 16)

Official Mathematical Formula

Hex = successive division by 16

Where the input value in DEC is transformed using the exact standardized conversion factor to produce the output in HEX.

Practical Calculation Example

You can verify this calculation directly using our interactive tool above.

Quick Conversion Reference Table (DEC → HEX)

Decimal (Base 10) (DEC)
Hexadecimal (Base 16) (HEX)
Copy
1 DEC1 HEX
2 DEC2 HEX
3 DEC3 HEX
5 DEC5 HEX
10 DECA HEX
15 DECF HEX
20 DEC14 HEX
25 DEC19 HEX
50 DEC32 HEX
75 DEC4B HEX
100 DEC64 HEX
250 DECFA HEX
500 DEC1F4 HEX
1000 DEC3E8 HEX

Related Number Base (Radix) Calculators

All Number Base (Radix) Tools →

Decimal (Base 10) to Hexadecimal (Base 16) FAQs

10=A, 11=B, 12=C, 13=D, 14=E, 15=F.