Decimal to Hex Converter
This free tool allows you to instantly convert decimal (base-10) numbers to hexadecimal (base-16) codes.
Hexadecimal output
How to Convert Decimal to Hexadecimal?
- Write the decimal number you want to convert.
 - Divide the number by 16, keep track of the remainder.
 - Divide the quotient by 16 again, repeating the process until the quotient is 0.
 - Write the remainders in reverse order to get the hex value.
 
Example: Decimal to Hex Conversion
- 2748₁₀ = ABC₁₆
 - 123₁₀ = 7B₁₆
 - 2024₁₀ = 7E8₁₆
 
Why Convert Decimal to Hex?
Hexadecimal is widely used in programming, color codes (HTML/CSS), memory addresses, and debugging. Converting from decimal to hex is essential when dealing with low-level data or digital systems. This tool supports negative numbers (using two's complement), very large integers, and instant copy-paste.
Decimal to Hex Table
| Decimal | Hex | 
|---|---|
| 10 | A | 
| 15 | F | 
| 16 | 10 | 
| 31 | 1F | 
| 100 | 64 | 
| 255 | FF | 
| 1024 | 400 |