Advertisement
Convert Decimal to Hexadecimal
Base 10 to base 16 number converter
Advertisement
Common Values Reference
| Decimal (Base 10) | Hexadecimal (Base 16) |
|---|---|
| 0 | 0 |
| 1 | 1 |
| 2 | 2 |
| 4 | 4 |
| 7 | 7 |
| 8 | 8 |
| 9 | 9 |
| 10 | A |
| 15 | F |
| 16 | 10 |
| 31 | 1F |
| 32 | 20 |
| 63 | 3F |
| 64 | 40 |
| 127 | 7F |
| 128 | 80 |
| 255 | FF |
How to Convert Decimal to Hexadecimal
To convert a Decimal (base 10) number to Hexadecimal (base 16): first express the number in decimal, then convert to base 16 by repeatedly dividing and collecting remainders.