Decimal to Hexadecimal Converter
0
Quick Examples
Enter a decimal value to see the conversion steps here.
Other Conversions
Decimal to Hexadecimal Converter
A Decimal to Hexadecimal Converter helps convert decimal numbers (base-10)into hexadecimal numbers (base-16), commonly used in programming, memory addressing, and web color codes.
Divide the decimal number by 16 repeatedly, note the remainders, convert values above 9 into letters (A–F), and read the result from bottom to top.
What Is the Decimal Number System?
The decimal number system is the number system we use in daily life. It is based on 10 digits (0 to 9).
`What Is the Hexadecimal Number System?
The hexadecimal number system is a base-16 number system. It uses digits 0–9 and letters A–F.
| Decimal | Hexadecimal |
|---|---|
| 10 | A |
| 11 | B |
| 12 | C |
| 13 | D |
| 14 | E |
| 15 | F |
How to Convert Decimal to Hexadecimal
- Divide the decimal number by 16
- Write the remainder
- Convert remainders greater than 9 into A–F
- Repeat until the quotient becomes 0
- Read the result from bottom to top
Example: Convert 25 (Decimal) to Hexadecimal
Decimal to Hexadecimal Conversion Table
| Decimal | Hexadecimal |
|---|---|
| 1 | 1 |
| 2 | 2 |
| 3 | 3 |
| 4 | 4 |
| 5 | 5 |
| 10 | A |
| 15 | F |
| 16 | 10 |
| 20 | 14 |
| 50 | 32 |
| 100 | 64 |
| 255 | FF |
FAQ on Decimal to Hexadecimal Converter
It is the process of converting a decimal (base-10) number into a hexadecimal (base-16) number using digits 0–9 and letters A–F.
Hexadecimal is compact, easy to read, and closely matches binary representation, making it ideal for programming and memory addressing.
The easiest way is dividing the decimal number by 16 repeatedly and converting remainders above 9 into letters A–F.