Decimal to Hexadecimal Converter

Convert decimal numbers to hexadecimal with step-by-step explanations and examples.

10
16
10

Decimal to Hexadecimal Converter

Decimal (Base-10)

Valid characters: 0123456789

Hexadecimal (Base-16)
Result will appear here

Decimal to Hexadecimal Conversion

Conversion Method:

Decimal to Base 16: Use division method

Method:

Divide by target base, collect remainders from bottom to top

Examples with Step-by-Step Solutions

Example 1:

(255)10
=
(FF)16
Step-by-Step Solution:
Converting 255₍10₎ to base 16:
Step 2: Convert decimal 255 to base 16
Divide by 16 repeatedly and collect remainders:
255 ÷ 16 = 15 remainder F
15 ÷ 16 = 0 remainder F
Reading remainders from bottom to top: FF₍16₎
Therefore: 255₍10₎ = FF₍16₎

Example 2:

(1024)10
=
(400)16
Step-by-Step Solution:
Converting 1024₍10₎ to base 16:
Step 2: Convert decimal 1024 to base 16
Divide by 16 repeatedly and collect remainders:
1024 ÷ 16 = 64 remainder 0
64 ÷ 16 = 4 remainder 0
4 ÷ 16 = 0 remainder 4
Reading remainders from bottom to top: 400₍16₎
Therefore: 1024₍10₎ = 400₍16₎

Example 3:

(999)10
=
(3E7)16
Step-by-Step Solution:
Converting 999₍10₎ to base 16:
Step 2: Convert decimal 999 to base 16
Divide by 16 repeatedly and collect remainders:
999 ÷ 16 = 62 remainder 7
62 ÷ 16 = 3 remainder E
3 ÷ 16 = 0 remainder 3
Reading remainders from bottom to top: 3E7₍16₎
Therefore: 999₍10₎ = 3E7₍16₎

Example 4:

(512)10
=
(200)16
Step-by-Step Solution:
Converting 512₍10₎ to base 16:
Step 2: Convert decimal 512 to base 16
Divide by 16 repeatedly and collect remainders:
512 ÷ 16 = 32 remainder 0
32 ÷ 16 = 2 remainder 0
2 ÷ 16 = 0 remainder 2
Reading remainders from bottom to top: 200₍16₎
Therefore: 512₍10₎ = 200₍16₎