All computer data is represented using binary, a number system that uses 0s and 1s. Binary digits can be grouped together into bytes. There are two popular methods for converting binary to denary.

There are two methods for converting a denary (base 10) number to binary (base 2). This is method two.

Remove the 2^{n} numbers from the main number and mark up the equivalent 2^{n} column with a 1. Work through the remainders until you reach zero. When you reach zero, stop and complete the final columns with 0s.

First set up the columns of base 2 numbers. Then look for the highest 2^{n} number that goes into 84.

- Set up the columns of base 2 numbers
- Find the highest 2
^{n}number that goes into 84. The highest 2^{n}number is 26 =**64** - 84 – 64 = 20. Find the highest 2
^{n}number that goes into 20. The highest 2^{n}number is 24 =**16** - 20 - 16 = 4. Find the highest 2
^{n}number that goes into 4. The highest 2^{n}number is 22 =**4** - 4 - 4 = 0
- Mark up the columns of base 2 numbers with a 1 where the number has been the highest 2
^{n}number, or with a 0:

64 | 32 | 16 | 8 | 4 | 2 | 1 |
---|---|---|---|---|---|---|

1 | 0 | 1 | 0 | 1 | 0 | 0 |

Result: **84** in denary is equivalent to **1010100** in binary.

To check that this is right, convert the binary back to denary:

(**1** x 64) + (**0** x 32) + (**1** x 16) + (**0** x 8) + (**1** x 4) + (**0** x 2) + (**0** x 1) = **84**