Convert Decimal to Hexadecimal
Live bidirectional calculator for Decimal (DEC) and Hexadecimal (HEX) with verified formula and conversion charts.
Number Bases4 units
How the Calculation Works (Radix Base Conversion)
Arbitrary-precision integer conversion using BigInt representation.
Decimal to Hexadecimal Conversion Table
Precomputed values for quick reference and printing.
| Decimal | Hexadecimal |
|---|---|
| 1 DEC | 1 HEX |
| 2 DEC | 2 HEX |
| 4 DEC | 4 HEX |
| 8 DEC | 8 HEX |
| 10 DEC | A HEX |
| 15 DEC | F HEX |
| 16 DEC | 10 HEX |
| 32 DEC | 20 HEX |
| 64 DEC | 40 HEX |
| 100 DEC | 64 HEX |
| 128 DEC | 80 HEX |
| 255 DEC | FF HEX |
| 256 DEC | 100 HEX |
| 512 DEC | 200 HEX |
| 1024 DEC | 400 HEX |
| Hexadecimal | Decimal |
|---|---|
| 1 HEX | 1 DEC |
| 2 HEX | 2 DEC |
| 4 HEX | 4 DEC |
| 8 HEX | 8 DEC |
| A HEX | 10 DEC |
| F HEX | 15 DEC |
| 10 HEX | 16 DEC |
| 20 HEX | 32 DEC |
| 40 HEX | 64 DEC |
| 64 HEX | 100 DEC |
| 80 HEX | 128 DEC |
| FF HEX | 255 DEC |
| 100 HEX | 256 DEC |
| 200 HEX | 512 DEC |
| 400 HEX | 1024 DEC |
About Decimal (DEC)
The Decimal system is a positional numeral system with radix 10.
History: Used extensively in modern computing systems.
Common Uses: Data processing, hardware registers, and digital logic.
About Hexadecimal (HEX)
The Hexadecimal system is a positional numeral system with radix 16.
History: Used extensively in computer architecture.
Common Uses: Software development, memory addressing, and data encoding.
โ Frequently Asked Questions
What is the difference between Decimal and Hexadecimal?
Decimal (DEC) and Hexadecimal (HEX) are positional numeral systems with different radix bases. In computer architecture, values are converted between bases using arbitrary-precision binary/hex representations.
How do I convert Decimal to Hexadecimal?
Parse each digit of the Decimal input according to its base powers, then repeatedly divide or format the integer into the target Hexadecimal radix digits.