convertimate Two’s complement

Signed decimal to 8-bit hex

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

FFhex (8-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 (8-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 = FF hex (8-bit).

Every unit

That integer in every register

Tables

dec to hex (8-bit) conversion table

dec to hex (8-bit) conversion table
dechex (8-bit)
-128 dec80 hex (8-bit)
-100 dec9C hex (8-bit)
-64 decC0 hex (8-bit)
-42 decD6 hex (8-bit)
-16 decF0 hex (8-bit)
-2 decFE hex (8-bit)
-1 decFF hex (8-bit)
0 dec00 hex (8-bit)
1 dec01 hex (8-bit)
2 dec02 hex (8-bit)
16 dec10 hex (8-bit)
42 dec2A hex (8-bit)
64 dec40 hex (8-bit)
100 dec64 hex (8-bit)
127 dec7F hex (8-bit)
hex (8-bit) to dec conversion table
hex (8-bit) to dec conversion table
hex (8-bit)dec
00 hex (8-bit)0 dec
01 hex (8-bit)1 dec
02 hex (8-bit)2 dec
10 hex (8-bit)16 dec
2A hex (8-bit)42 dec
40 hex (8-bit)64 dec
64 hex (8-bit)100 dec
7F hex (8-bit)127 dec
80 hex (8-bit)-128 dec
9C hex (8-bit)-100 dec
C0 hex (8-bit)-64 dec
D6 hex (8-bit)-42 dec
F0 hex (8-bit)-16 dec
FE hex (8-bit)-2 dec
FF hex (8-bit)-1 dec

Quick answers

Quick answers

How many hex (8-bit) is 1 dec?
1 dec is 01 hex (8-bit).
How many hex (8-bit) is 10 dec?
10 dec is 0A hex (8-bit).
How many hex (8-bit) is -1 dec?
-1 dec is FF hex (8-bit).

The units

About these units

Signed decimal (dec)

The value as a signed integer.

8-bit hex (hex (8-bit))

A signed byte in two hex digits.

Learn more about integer units

Keep going

Related conversions