convertimate Two’s complement

32-bit hex to signed decimal

Type a value in hex (32-bit) to get it in dec instantly.

-1dec

The smallest signed register that holds -1 is 1-bit.

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 hex (32-bit) to dec

For a negative n in a w-bit register, bits = 2^w + n: −42 in 8 bits is 256 − 42 = 214 = 1101 0110.

Example: FFFFFFFF hex (32-bit) = -1 dec.

Every unit

That integer in every register

Tables

hex (32-bit) to dec conversion table

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
dec to hex (32-bit) conversion table
dec to hex (32-bit) conversion table
dechex (32-bit)
-128 decFFFFFF80 hex (32-bit)
-100 decFFFFFF9C hex (32-bit)
-64 decFFFFFFC0 hex (32-bit)
-42 decFFFFFFD6 hex (32-bit)
-16 decFFFFFFF0 hex (32-bit)
-2 decFFFFFFFE hex (32-bit)
-1 decFFFFFFFF hex (32-bit)
0 dec00000000 hex (32-bit)
1 dec00000001 hex (32-bit)
2 dec00000002 hex (32-bit)
16 dec00000010 hex (32-bit)
42 dec0000002A hex (32-bit)
64 dec00000040 hex (32-bit)
100 dec00000064 hex (32-bit)
127 dec0000007F hex (32-bit)

Quick answers

Quick answers

How many dec is 00000001 hex (32-bit)?
00000001 hex (32-bit) is 1 dec.
How many dec is 0000000A hex (32-bit)?
0000000A hex (32-bit) is 10 dec.
How many dec is FFFFFFFF hex (32-bit)?
FFFFFFFF hex (32-bit) is -1 dec.

The units

About these units

32-bit hex (hex (32-bit))

A signed int in eight hex digits.

Signed decimal (dec)

The value as a signed integer.

Learn more about integer units

Keep going

Related conversions