Skip to tool

Decimal to Hexadecimal Converter

Convert decimal numbers (base-10) to hexadecimal numbers (base-16) with this online tool.

Configuration for this calculator is missing.

How to Use This Tool

  1. Enter the Decimal to Hexadecimal Converter input in the field on the page.
  2. Click "Convert" to run the tool in your browser.
  3. Read the result below the form and copy it if you need it in another app.

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
A

Zero

Decimal number
Input
0
Output
0

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.

Frequently Asked Questions