Skip to content
Calculator Tools
Developer Tools

Hex Converter

Convert hexadecimal to decimal, binary and octal, with the byte breakdown.

Enter values

Results update as you type.

Result

Hexadecimal

1A2F

Decimal
6703
Binary
1101000101111
Octal
15057
Byte groups
1A 2F
With 0x prefix
0x1A2F
Hex digits
4

About the Hex Converter

Convert hexadecimal to decimal, binary and octal, with the byte breakdown.

Also known as: hex to decimal, decimal to hex, hexadecimal converter, hex to binary.

How to use this calculator

  1. Enter value, input base.
  2. The result updates instantly as you type — press Calculate (or Enter) at any time.
  3. Review the breakdown shown under the main result.
  4. Use Copy result or Share to save the answer or send a link with your inputs.

Formula

Each hex digit represents exactly 4 bits

Worked example

Using the values pre-filled in the calculator above:

  • Value: 1A2F
  • Input base: Hexadecimal

the calculator returns:

  • Hexadecimal: 1A2F
  • Decimal: 6703
  • Binary: 1101000101111
  • Octal: 15057