convertimate Two’s complement

Signed decimal to 16-bit hex

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

FFFFhex (16-bit)

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 dec to hex (16-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 = FFFF hex (16-bit).

Every unit

That integer in every register

Tables

dec to hex (16-bit) conversion table

dec to hex (16-bit) conversion table
dechex (16-bit)
-128 decFF80 hex (16-bit)
-100 decFF9C hex (16-bit)
-64 decFFC0 hex (16-bit)
-42 decFFD6 hex (16-bit)
-16 decFFF0 hex (16-bit)
-2 decFFFE hex (16-bit)
-1 decFFFF hex (16-bit)
0 dec0000 hex (16-bit)
1 dec0001 hex (16-bit)
2 dec0002 hex (16-bit)
16 dec0010 hex (16-bit)
42 dec002A hex (16-bit)
64 dec0040 hex (16-bit)
100 dec0064 hex (16-bit)
127 dec007F hex (16-bit)
hex (16-bit) to dec conversion table
hex (16-bit) to dec conversion table
hex (16-bit)dec
0000 hex (16-bit)0 dec
0001 hex (16-bit)1 dec
0002 hex (16-bit)2 dec
0010 hex (16-bit)16 dec
002A hex (16-bit)42 dec
0040 hex (16-bit)64 dec
0064 hex (16-bit)100 dec
007F hex (16-bit)127 dec
FF80 hex (16-bit)-128 dec
FF9C hex (16-bit)-100 dec
FFC0 hex (16-bit)-64 dec
FFD6 hex (16-bit)-42 dec
FFF0 hex (16-bit)-16 dec
FFFE hex (16-bit)-2 dec
FFFF hex (16-bit)-1 dec

Quick answers

Quick answers

How many hex (16-bit) is 1 dec?
1 dec is 0001 hex (16-bit).
How many hex (16-bit) is 10 dec?
10 dec is 000A hex (16-bit).
How many hex (16-bit) is -1 dec?
-1 dec is FFFF hex (16-bit).

The units

About these units

Signed decimal (dec)

The value as a signed integer.

16-bit hex (hex (16-bit))

A signed short in four hex digits.

Learn more about integer units

Keep going

Related conversions