Binary/Octal/Decimal/hexadecimal converter

Convert Decimal to Hexadecimal.

Decimal → Hexadecimal
Before conversion:

How to use Base Converter

Enter the Decimal value you want to convert and click the "Convert" button.

The input value will be calculated and the converted result will be displayed in Hexadecimal.

The calculation method for conversion is also displayed.

Numerical input range

Decimal:0–9

Conversion by base number

How to convert from Decimal to Hexadecimal

Method of calculation

When converting a decimal number to hexadecimal, divide the decimal number by 16 until it becomes 0, and then output Remainder.

In hexadecimal notation, 10 to 15 are represented by A to F, so numbers above 10 are converted.

Decimal101112131415
HexadecimalABCDEF
  • 1. Divide the decimal number by 16 to get Quotient and Remainder.
  • 2. Divide the next Quotient by 16 to get Quotient and Remainder.
  • 3. Repeat this until Quotient becomes 0.
  • 4. The number obtained by reversing Remainder is the result of converting it to hexadecimal.

Calculation example

Example: Convert Decimal "467" to Hexadecimal

FormulaQuotientRemainder
467÷16293
29÷16113
1÷1601

The converted value is ``1D3', which is obtained by arranging the remaining numbers in reverse order and replacing numbers 10 or more with A to F.

Base ConverterBase Converter

CalculatorSimple Calculator

Save results in a temporary