Instant conversion
Decimal to Hex Converter
Hex value is found by repeatedly dividing the decimal integer by 16 and writing the remainders as 0-9 or A-F.
1 hex
Common decimal to hex conversions
| decimal | hex |
|---|---|
| 1 | 1 |
| 10 | A |
| 15 | F |
| 16 | 10 |
| 31 | 1F |
| 42 | 2A |
| 64 | 40 |
| 127 | 7F |
| 128 | 80 |
| 255 | FF |
| 256 | 100 |
| 1000 | 3E8 |
How this conversion works
Hex value is found by repeatedly dividing the decimal integer by 16 and writing the remainders as 0-9 or A-F.
Privacy: Conversions run in this browser. Nothing you type is uploaded.
Frequently asked questions
How do you convert decimal to hex?
Repeatedly divide the decimal number by 16 and read the remainders as hex digits.
What does A mean in hex?
A represents decimal 10; B through F represent 11 through 15.
Does decimal to hex change the number's value?
No. It only changes the base used to write the same integer value.