convertimate Two’s complement

8-bit hex to signed decimal

Type a value in hex (8-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 (8-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: FF hex (8-bit) = -1 dec.

Every unit

That integer in every register

Tables

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
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)

Quick answers

Quick answers

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

The units

About these units

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

A signed byte in two hex digits.

Signed decimal (dec)

The value as a signed integer.

Learn more about integer units

Keep going

Related conversions