- Open the Decimal to Hexadecimal Converter and find the main field: Decimal number.
- Type your values in that field. The placeholder shows an example format (255).
- Click "Convert" to compute the result in your browser.
- Read the result in the Result section. Use Copy to paste the output elsewhere.
Decimal to Hexadecimal Converter
Convert decimal numbers (base-10) to hexadecimal numbers (base-16) with this online tool.
Calculator
Enter the values described below, then run. Use Load sample to try a prefilled example when available.
Format hints
255
How to Use This Tool
Learn More About Decimal to Hexadecimal Converter
Decimal to Hexadecimal Conversion
To convert a decimal number to hexadecimal, repeatedly divide the decimal number by 16, noting the remainder at each step. If the remainder is 10-15, represent it with A-F. The hexadecimal digits are the remainders, read in reverse order.
Example
Decimal: 26 26 / 16 = 1, remainder 10 (A) 1 / 16 = 0, remainder 1
Hex: 1A
About
Convert decimal numbers (base-10) to hexadecimal numbers (base-16) with this online tool. Enter a decimal integer and get its hexadecimal representation.
Examples
Valid decimal
Decimal number
Input
10
Output
Shown in the Result area after you click the action button.
Zero
Decimal number
Input
0
Output
Shown in the Result area after you click the action button.
Use Cases
- Web development for generating color codes.
- Software engineering for displaying memory addresses.
- Data analysis and representation.
- Working with systems that require hexadecimal input.