Fast Mobile Two’s Complement Exact Result 100% Free Browser-Based
Signed Binary → Hexadecimal

Signed Binary to Hex Converter

Convert a signed binary bit pattern to hexadecimal using two’s-complement interpretation. Enter a fixed-width binary value and get the exact hexadecimal bit pattern, signed decimal value, detected sign, bit width, and any required sign extension.

Two’s-complement interpretation The leftmost bit determines whether the value is positive or negative.
Width-aware conversion Leading bits remain significant because signed values depend on width.
Correct sign extension Non-nibble widths extend with the sign bit before hex conversion.
Signed decimal meaning See what the original binary pattern represents numerically.
Signed Binary Converter
● LIVE
8 BITS
SIGN INTERPRETATION NEGATIVE · SIGN BIT = 1
SIGNED BINARY 11110110
SIGNED DECIMAL -10
HEX BIT PATTERN F6
HEXADECIMAL RESULT TWO’S COMPLEMENT
F6
8-bit signed · negative · decimal -10 · no sign extension
11110110₂ → 1111 0110 → F6₁₆ · signed value = -10
TRY AN EXAMPLE
Representation Two’s complement
Sign Bit Leftmost bit
0 Sign Bit Non-negative value
1 Sign Bit Negative value
Hex Alignment Uses sign extension

Signed Binary to Hex Converter

The Signed Binary to Hex Converter converts a fixed-width binary bit pattern into hexadecimal while interpreting the original binary value as a signed two’s-complement integer. The leftmost bit is treated as the sign bit, so a leading 0 represents a non-negative value and a leading 1 represents a negative value.

Unlike an ordinary unsigned binary converter, leading bits cannot simply be removed because the bit width is part of the signed interpretation. For example, 8-bit binary 11110110 represents decimal -10 and its raw hexadecimal bit pattern is F6.

Important: the hexadecimal result represents the same two’s-complement bit pattern. It is not displayed with a separate minus sign. Thus 8-bit signed binary 11110110 becomes F6, not -A.

How to Convert Signed Binary to Hexadecimal

First preserve the complete binary width and inspect the leftmost bit. If the number of bits is already divisible by four, divide the pattern directly into 4-bit groups. If not, extend the left side using the sign bit until the width reaches the next multiple of four.

Example: 11110110

Width = 8 bits
Sign bit = 1 → negative

Group into nibbles:
1111 0110

1111 = F
0110 = 6

Hex bit pattern = F6
Signed decimal value = -10

What Is Signed Binary?

Signed binary is a binary representation that can encode both positive and negative integers. The most common modern representation is two’s complement, where the most significant bit contributes to the sign as well as the numeric value.

For an n-bit two’s-complement number, values with a leading 0 fall in the non-negative half of the range, while values beginning with 1 fall in the negative half.

n-bit signed range:

Minimum = -2^(n-1)
Maximum = 2^(n-1) – 1

8-bit signed range:
-128 through +127

Example: Convert Signed Binary 11110110 to Hex

The bit pattern 11110110 is eight bits wide. Because its first bit is 1, it represents a negative two’s-complement value. The width is already a multiple of four, so no sign extension is required.

11110110₂

1111 | 0110

1111 = F
0110 = 6

Hex pattern = F6

Unsigned bit-pattern value = 246
2^8 = 256
246 – 256 = -10

Example: Signed Binary 10000000 to Hex

Eight-bit binary 10000000 has a leading sign bit of 1 and therefore represents a negative value. In 8-bit two’s-complement notation, it is the minimum possible signed value.

10000000₂

1000 | 0000

1000 = 8
0000 = 0

Hex = 80
Signed decimal = -128

Example: Signed Binary 01111111 to Hex

The leading bit of 01111111 is 0, so the bit pattern is non-negative. It represents the largest positive value available in an 8-bit signed two’s-complement integer.

01111111₂

0111 | 1111

0111 = 7
1111 = F

Hex = 7F
Signed decimal = 127

Signed Binary Hex Conversion Examples

The same hexadecimal bit pattern can represent different signed meanings when the bit width changes, which is why preserving the original width is important. These examples use two’s-complement interpretation.

Signed Binary Width Sign Signed Decimal Hex
00000000 8-bit Non-negative 0 00
00000001 8-bit Positive 1 01
01111111 8-bit Positive 127 7F
10000000 8-bit Negative -128 80
11110110 8-bit Negative -10 F6
11111110 8-bit Negative -2 FE
11111111 8-bit Negative -1 FF
1010 4-bit Negative -6 A

Why Signed Binary Width Matters

The width of a two’s-complement binary value is part of its meaning. Leading bits cannot always be discarded because changing the width without preserving the sign may change the represented integer.

4-bit:
1010₂ = -6

8-bit sign extension:
11111010₂ = -6

Hex:
4-bit 1010 = A
8-bit 11111010 = FA

Both bit patterns represent decimal -6 when interpreted at their respective signed widths, but their raw hexadecimal bit patterns differ because their storage widths differ.

Sign Extension When Converting Signed Binary to Hex

Hexadecimal groups require four bits. If a signed binary input does not have a width divisible by four, it must be extended on the left using copies of its sign bit. Positive values are extended with 0, while negative values are extended with 1.

3-bit signed example:
101₂

Sign bit = 1
3-bit value = -3

Sign-extend to 4 bits:
1101

1101 = D
Zero-padding the example to 0101 would be incorrect because 0101 is positive 5. Signed conversion requires sign extension, not ordinary zero padding.

Positive and Negative Sign Extension

Sign extension preserves the numeric value while increasing the storage width. The extension bit is always copied from the existing most significant bit.

Original Meaning Extension Extended Binary Hex
011 +3 0 0011 3
101 -3 1 1101 D
00101 +5 0 00000101 05
11011 -5 1 11111011 FB

Signed Binary vs Negative Binary with a Minus Sign

Signed two’s-complement binary should not be confused with explicit negative magnitude notation. The two formats can represent the same mathematical integer but encode it differently.

Format Example for -10 Hex Result Interpretation
Explicit negative binary -1010 -A Minus sign + magnitude
8-bit signed binary 11110110 F6 Two’s-complement bit pattern
This page handles the two’s-complement bit-pattern form. Do not enter an explicit minus sign.

How the Signed Decimal Value Is Calculated

When the sign bit is 0, the binary pattern can be read as an ordinary non-negative integer. When the sign bit is 1, the unsigned bit-pattern value is reduced by 2 raised to the bit width.

For an n-bit pattern with sign bit 1:

Signed value = Unsigned value – 2^n

Example:
11110110₂ unsigned = 246
Width = 8 bits
2^8 = 256

246 – 256 = -10

8-Bit Signed Binary to Hex Reference

Eight-bit signed values are especially common because exactly two hexadecimal digits represent one byte. The signed range is -128 through 127 while the raw hex patterns run from 00 through FF.

Binary Hex Signed Decimal
00000000 00 0
00000001 01 1
01111110 7E 126
01111111 7F 127
10000000 80 -128
10000001 81 -127
11111110 FE -2
11111111 FF -1

16-Bit Signed Binary to Hexadecimal

A 16-bit two’s-complement integer has a signed decimal range from -32768 through 32767. Because sixteen bits divide exactly into four groups of four, every 16-bit bit pattern maps directly to four hexadecimal digits.

0111111111111111₂ = 7FFF₁₆ = +32767

1000000000000000₂ = 8000₁₆ = -32768

1111111111111111₂ = FFFF₁₆ = -1

Common Signed Binary to Hex Conversion Mistakes

Signed binary conversion requires more care than ordinary unsigned binary-to-hex conversion because the sign and bit width must be preserved.

  • Removing leading bits even though they are significant to the signed width.
  • Treating a leading 1 as ordinary magnitude instead of a two’s-complement sign bit.
  • Using zero padding instead of sign extension for a negative value.
  • Entering an explicit minus sign on a two’s-complement converter.
  • Assuming hexadecimal F6 means positive 246 when the original 8-bit pattern is signed.
  • Changing the binary width without extending the sign correctly.
  • Confusing signed decimal meaning with the raw hexadecimal bit pattern.
  • Forgetting that the most negative n-bit value is -2^(n-1).

Where Signed Binary to Hex Conversion Is Used

Signed two’s-complement binary values are common in software and hardware systems where negative integers must be stored directly in fixed-width bit fields.

  • CPU registers containing signed integer values.
  • Microcontrollers and embedded systems using signed sensor readings.
  • Binary file formats containing signed numeric fields.
  • Network protocols with fixed-width signed values.
  • Debuggers displaying register or memory contents in hexadecimal.
  • Digital signal processing and signed sample data.
  • Reverse engineering and low-level data inspection.
  • Computer architecture and two’s-complement education.

Signed Binary to Hex Converter FAQs

These FAQs cover two’s-complement interpretation, sign bits, hexadecimal output, bit widths, sign extension, signed decimal values, and common edge cases.

How do I convert signed binary to hexadecimal?
Preserve the original binary width, sign-extend the value if needed to reach a multiple of four bits, divide the resulting pattern into 4-bit groups, and map each group directly to one hexadecimal digit.
What is 11110110 signed binary in hex?
The 8-bit groups are 1111 and 0110, which convert to F and 6. Therefore the raw hexadecimal bit pattern is F6. As an 8-bit two’s-complement value, it represents decimal -10.
What is 11111111 signed binary in hexadecimal?
Eight-bit binary 11111111 converts to hexadecimal FF and represents signed decimal -1.
What is 10000000 signed binary in hex?
Eight-bit binary 10000000 converts to hexadecimal 80. In signed two’s-complement interpretation it represents decimal -128.
What is the sign bit in signed binary?
The most significant, or leftmost, bit acts as the sign indicator in two’s-complement notation. A leading 0 represents a non-negative value and a leading 1 represents a negative value.
Does a signed binary value beginning with 1 always mean negative?
Under two’s-complement interpretation, yes. The answer depends on treating the given input as a fixed-width signed binary value.
Why should leading bits not be removed?
The binary width affects signed interpretation. Removing a leading sign bit can change the represented value or eliminate the intended fixed-width format.
What is sign extension?
Sign extension increases the bit width by repeating the original sign bit on the left. Positive values extend with zeros and negative values extend with ones.
Why is negative signed binary extended with 1 instead of 0?
Repeating the sign bit preserves the same two’s-complement numeric value. Zero-padding a negative bit pattern would generally change it into a positive value.
Is F6 hexadecimal equal to -10?
F6 by itself is only a hexadecimal bit pattern. When interpreted as an 8-bit signed two’s-complement value, F6 represents decimal -10. As an unsigned 8-bit value, F6 represents decimal 246.
Is FF hexadecimal always -1?
No. FF represents -1 specifically when interpreted as an 8-bit two’s-complement value. As an unsigned hexadecimal number, FF equals decimal 255.
Can I enter a minus sign such as -1010?
No. This converter expects the complete two’s-complement bit pattern. An explicit minus-sign binary value is a different representation.
Can this converter handle very long signed binary values?
Yes. The hexadecimal conversion operates directly on bit groups, and the signed decimal calculation uses arbitrary-size integer arithmetic in modern browsers.

Convert Signed Binary to Hex Online

Enter a fixed-width signed binary bit pattern and select Convert Signed Binary to Hex. The calculator preserves the original width, identifies the sign bit, calculates the exact signed two’s-complement decimal value, performs any required sign extension, groups the binary pattern into nibbles, and displays the corresponding hexadecimal bit pattern.

The result area also shows whether the input is positive or negative, the original bit width, the sign-extension behavior, and the signed decimal meaning of the hexadecimal bit pattern.

Scroll to Top