Calculators

Decimal to Hex Converter

Convert a decimal number to hexadecimal, binary and octal.

Result—
Binary
—
Octal
—
Decimal
—
Hexadecimal
—

What is the Decimal to Hex Converter?

Convert a decimal number to hexadecimal, binary and octal.

Enter number, from and to and the Decimal to Hex Converter returns result, binary, octal, decimal and hexadecimal. Results update as you type, and nothing you enter leaves your device.

How it is calculated

Multiply each digit by its place value in the source base to get the decimal value, then divide repeatedly by the target base and read the remainders in reverse

How to use it

  1. Enter number.
  2. Choose from.
  3. Choose to.
  4. Read result in the results panel. It updates as you type.
  5. Change any value to compare scenarios, or use Share to send the result as a link.

Common questions

What formula does the Decimal to Hex Converter use?

It uses: Multiply each digit by its place value in the source base to get the decimal value, then divide repeatedly by the target base and read the remainders in reverse.

What do I need to use the Decimal to Hex Converter?

You need number, from and to. Sensible starting values are filled in so you can see how it works straight away.

Is the Decimal to Hex Converter free, and is my data stored?

It is free with no sign-up. The calculation runs in your browser, so the values you enter are not sent to or stored on our server.

Your calculations