Signed decimal to 32-bit hex
Type a value in dec to get it in hex (32-bit) instantly.
FFFFFFFFhex (32-bit)
The smallest signed register that holds -1 is 1-bit.
Convert the other way: hex (32-bit) to dec
What it means
Where does it sit?
A dash means the value does not fit that width: an 8-bit register holds −128 to 127.
The math
How to convert dec to hex (32-bit)
For a negative n in a w-bit register, bits = 2^w + n: −42 in 8 bits is 256 − 42 = 214 = 1101 0110.
Example: -1 dec = FFFFFFFF hex (32-bit).
Every unit
That integer in every register
Tables
dec to hex (32-bit) conversion table
| dec | hex (32-bit) |
|---|---|
| -128 dec | FFFFFF80 hex (32-bit) |
| -100 dec | FFFFFF9C hex (32-bit) |
| -64 dec | FFFFFFC0 hex (32-bit) |
| -42 dec | FFFFFFD6 hex (32-bit) |
| -16 dec | FFFFFFF0 hex (32-bit) |
| -2 dec | FFFFFFFE hex (32-bit) |
| -1 dec | FFFFFFFF hex (32-bit) |
| 0 dec | 00000000 hex (32-bit) |
| 1 dec | 00000001 hex (32-bit) |
| 2 dec | 00000002 hex (32-bit) |
| 16 dec | 00000010 hex (32-bit) |
| 42 dec | 0000002A hex (32-bit) |
| 64 dec | 00000040 hex (32-bit) |
| 100 dec | 00000064 hex (32-bit) |
| 127 dec | 0000007F hex (32-bit) |
hex (32-bit) to dec conversion table
| hex (32-bit) | dec |
|---|---|
| 00000000 hex (32-bit) | 0 dec |
| 00000001 hex (32-bit) | 1 dec |
| 00000002 hex (32-bit) | 2 dec |
| 00000010 hex (32-bit) | 16 dec |
| 0000002A hex (32-bit) | 42 dec |
| 00000040 hex (32-bit) | 64 dec |
| 00000064 hex (32-bit) | 100 dec |
| 0000007F hex (32-bit) | 127 dec |
| FFFFFF80 hex (32-bit) | -128 dec |
| FFFFFF9C hex (32-bit) | -100 dec |
| FFFFFFC0 hex (32-bit) | -64 dec |
| FFFFFFD6 hex (32-bit) | -42 dec |
| FFFFFFF0 hex (32-bit) | -16 dec |
| FFFFFFFE hex (32-bit) | -2 dec |
| FFFFFFFF hex (32-bit) | -1 dec |
Quick answers
Quick answers
- How many hex (32-bit) is 1 dec?
- 1 dec is 00000001 hex (32-bit).
- How many hex (32-bit) is 10 dec?
- 10 dec is 0000000A hex (32-bit).
- How many hex (32-bit) is -1 dec?
- -1 dec is FFFFFFFF hex (32-bit).
The units
About these units
Signed decimal (dec)
The value as a signed integer.
32-bit hex (hex (32-bit))
A signed int in eight hex digits.
Keep going