Sign and magnitude
Sign and magnitude is the simplest way to store negative numbers in binary. Comparing it with two's complement shows why computers prefer the second.
How it works
The other 7 bits hold the magnitude (size) as an ordinary binary number.
+5 = 00000101 and -5 = 10000101.
Range
Range: -127 to +127.
There are two zeros: 00000000 (+0) and 10000000 (-0).
Why two's complement is preferred
Normal binary addition does not work when you mix positive and negative sign and magnitude numbers.
Two's complement has one zero, a wider range (-128 to +127) and normal addition works.
Write -37 in 8-bit sign and magnitude.
- 37 in 7 bits = 0100101
- Negative, so the sign bit is 1
Answer: 10100101
In sign and magnitude the left bit is the sign (1 = negative) and 7 bits hold the size. Range -127 to +127 with two zeros. Two's complement avoids these problems.
- Sign and magnitude
- Signed binary where the left bit is the sign (1 = negative) and the rest is the size.
- Binary
- Base 2: the number system that uses only the digits 0 and 1.
- Two's complement
- Signed binary where the left bit has a negative place value (-128 in 8 bits).
- Bit
- A single binary digit, 0 or 1.
- Binary addition
- 0 + 0 = 0, 0 + 1 = 1, 1 + 1 = 0 carry 1, 1 + 1 + 1 = 1 carry 1. A carry out of the leftmost bit means overflow.
All GCSE and International GCSE Computer Science key terms and definitions โ
Try two quick questions
See if it has sunk in. Answers are marked straight away.
2 more questions
Try each one, then tap to check.
Write -9 in 8-bit sign and magnitude.
Show the answer
Answer: 10001001
The sign bit is 1 for negative. The other 7 bits hold 9 = 0001001. So 10001001.
Write -75 in 8-bit sign and magnitude.
Show the answer
Answer: 11001011
The sign bit is 1 for negative. The other 7 bits hold 75 = 1001011. So 11001011.
Check you have got it
Answer 6 quick questions with instant marking. If you get one wrong, GCSE-ready shows you why and gives you another go. It is free, and you do not need an account.
Facts checked against the sources below, 17 October 2026. Last updated 2 October 2026. Spotted a mistake? Tell us and we will fix it.