• Practice
  • About 13 min
  • 5 practice questions

Speed methods for binary and decimal conversion

Convert faster and check your answers using powers of two, the all-ones shortcut, nibble grouping and the odd-even test.

If something looks wrong, please tell us.

In a timed test you rarely have time to write long lines of repeated division. A handful of speed methods will save minutes across a paper and will also help you catch careless errors. This lesson gathers the methods that work best for exam questions with four-option answers.

Know these by heart

Powers of two
Power2^02^12^22^32^42^52^62^72^82^92^10
Value12481632641282565121024

Also remember that a binary number made of n ones equals 2^n minus 1. So 111 is 7, 1111 is 15, 11111 is 31, 111111 is 63 and 11111111 is 255. Any question that shows a long run of ones can be answered at once by subtracting 1 from the next power.

Method 1: estimate the size first

A binary number with n bits (and a leading 1) lies between 2^(n-1) and 2^n minus 1. A 7-bit number is therefore between 64 and 127. If an option such as 150 appears for a 7-bit number, you can reject it immediately. Use the same idea in reverse: decimal 200 needs 8 bits because 128 is not more than 200 and 256 is more.

Method 2: split into nibbles

For a long binary number, split it into groups of four bits from the right, convert each group to a value from 0 to 15 and then combine them as 16 × (left group) + (right group). This is the same as converting through hexadecimal.

Method 3: the odd-even test

The last bit of a binary number says whether it is odd or even. After you convert, check that your decimal answer has the same parity. If the binary ends in 1, the decimal must be odd. This test catches many slips in a single glance.

Worked examples

Example 1. Convert 11010110 to decimal. Split into nibbles: 1101 and 0110. They are 13 and 6. The value is 16 × 13 + 6 = 208 + 6 = 214. The last bit is 0, and 214 is even, so the parity check passes.

Example 2. Convert 1011011 to decimal. Place values: 64 + 16 + 8 + 2 + 1 = 91. Parity: last bit 1 and 91 is odd. Size: 7 bits means a value from 64 to 127, and 91 lies in that range.

Example 3. Convert 200 to binary quickly. 200 = 128 + 64 + 8, and 128 + 64 = 192, with 8 leaving 200 exactly. Mark 1 at 128, 64 and 8: 11001000. Parity: 200 is even and the binary ends in 0.

Example 4. Which of 10101010 and 11111111 is larger, and by how much? 11111111 is 255. 10101010 is the nibble pair 1010 and 1010, which is 16 × 10 + 10 = 170. The difference is 255 minus 170 = 85.

Estimate with the bit count, convert in nibbles, then check the last bit. Ones only? Use 2^n minus 1.

Key takeaways. Learn the powers of two up to 1024. A run of n ones is 2^n minus 1. Use bit count to eliminate impossible options, nibble grouping for long numbers and the odd-even test as a final check.

Check your understanding

  1. 1. What is the decimal value of the binary number 111111?

    1. 31
    2. 63
    3. 64
    4. 127
    Show answer

    Answer: B. Six ones equal 2^6 minus 1 = 64 minus 1 = 63.

  2. 2. How many bits are needed to write the decimal number 200 in binary?

    1. 7
    2. 9
    3. 10
    4. 8
    Show answer

    Answer: D. 128 is not more than 200 and 256 is more, so 200 lies in the 8-bit range 128 to 255.

  3. 3. Convert 11010110 to decimal using nibbles.

    1. 214
    2. 206
    3. 224
    4. 198
    Show answer

    Answer: A. The nibbles are 1101 = 13 and 0110 = 6. The value is 16 × 13 + 6 = 214.

  4. 4. Which decimal number could be written with exactly 7 bits (leading bit 1)?

    1. 50
    2. 130
    3. 90
    4. 200
    Show answer

    Answer: C. A 7-bit number lies between 64 and 127. Only 90 is in that range. 50 needs 6 bits; 130 and 200 need 8.

  5. 5. A binary number ends in 1. Which statement about its decimal value must be true?

    1. It is a multiple of 4
    2. It is odd
    3. It is less than 16
    4. It is even
    Show answer

    Answer: B. The last bit is the ones place. A 1 there makes the number odd, whatever the other bits are.

Sign in to keep track of the lessons you finish.

Next lesson → Hexadecimal shortcuts and colour codes

Privacy · Terms · Refunds · Delivery