How to Read and Write Binary Numbers

How to Read a Binary Number: Video Lesson

How to Write a Number in Binary: Video Lesson

How to Read Binary

To read a binary number:

  1. Write a 1 above the rightmost binary digit.
  2. Write a 2 above the next digit to the left and a 4 above the next digit.
  3. Keep doubling the number written above as you move one digit to the left.
  4. Add the numbers that are above the binary digits that contain a 1.
how to read a binary number

Example of Reading a Binary Number of 1011

We will use these steps to read the binary number of 1011.

Step 1. Write a 1 above the rightmost binary digit

The image below shows a 1 written above the rightmost digit of the binary number.

read a binary number step 1

Step 2. Write a 2 above the next digit to the left and a 4 above the next digit

We write a 2 next to the 1 that was written previously.

We write a 4 next to this 2 as we move left.

step 2 of reading a binary number

Step 3. Keep doubling the number written above as you move one digit to the left

We have already written 1, 2 and 4 above the digits.

We have doubled 1 to get 2, doubled 2 to get 4 and now we double 4 to get 8.

We write an 8 above the next digit to the left.

Step 4. Add the numbers that are above the binary digits that contain a 1

In the binary digit of 1011, there are three digits of 1.

Above these ones, we have written a 1, 2 and an 8.

We add 8 + 2 + 1 = 11 to see that the binary number of 1011 is the number 11 in decimal form.

how to read a binary number step 4

We did not add the 4 because this was above the 0.

In binary, a 1 means that we use the digit written above the number and a 0 means that we do not use it.

Examples of Reading Binary Numbers

Read the binary number: 10001.

Write the powers of 2 from right to left above the digits of the binary number. This is 16, 8, 4, 2, 1.

Add the powers of two that have a binary digit of 1 below them.

Here we have a 1 below 16 and 1, so we add 16 and 1 to get an answer of 17.

10001 is the binary way of writing the number 17.

For example, read the binary number of 110011.

The powers of two are written above the digits from right to left, starting with 1 on the right.

32, 16, 8, 4, 2, 1.

Add the powers of 2 that have a binary digit of 1 below them. That is 32, 16, 2 and 1.

1 + 2 + 16 + 32 = 51 and so, 110011 is the binary number that represents 51.

How to read a binary number

Binary numbers always start with a leading digit on the left hand side of 1. Binary numbers never start with a 0.

Even binary numbers always end in a 0. If a binary number ends in a 0, it is even.

Odd binary numbers always end in a 1. If a binary number ends in a 1, it is odd. This is because the digits of binary numbers represent powers of 2. The only odd power of 2 is the final binary digit of 1.

Here are some examples of converting binary to decimal numbers.

Binary Number1286432168421SumDecimal Number
1011014 + 1 =5
1111114 + 2 + 1 =7
101010108 + 2 =10
101001010016 + 4 =20
10101110101132 + 8 + 2 + 1 =43
1010101101010164 + 16 + 4 + 1 =85
1011010010110100128 + 32 + 16 + 4 =180

How to Write a Number in Binary

To write a number in binary, first write powers of 2 from right to left. For example: 16, 8, 4, 2, 1. Then place a 1 below the powers of 2 that add to make the number. Place a 0 below any powers of 2 that are not used. For example, 19 in binary is 10011 because the 5 digits of 10011 represent 16, 8, 4, 2 and 1 and the 16, 2 and 1 add to make 19.

how to write a number in binary

For example, convert the decimal number of 50 into binary.

The powers of 2 are written above the binary number. We start with a 1 on the right and double as we go left.

We have 32, 16, 8, 4, 2, 1.

Now we select the powers of 2 from this list that add to make 50. That is 32 + 16 + 2.

We write a 1 below the 32, 16 and 2 columns and a 0 below the numbers that we did not use. We did not use an 8, 4 or 1, so we put a 0 in these columns.

50 in binary is 110010.

To convert a larger number to binary:

  1. Subtract the largest power of 2 possible from the number
  2. Write a 1 in the place value column below this power of 2
  3. Subtract the largest power of 2 possible from the remainder
  4. Write a 1 in the place value column below this power of 2
  5. Continue doing this until there is a remainder of 0
  6. Write a 0 in the place value columns below the powers of 2 not used

For example, convert 150 to binary.

Step 1. Subtract 128 from 150 to leave 22.
Step 2. Write a 1 below 128.
Step 3. The remainder is 22 and we can subtract 16 from this.
Step 4. Write a 1 below the 16.

Step 5. Continue doing this until the remainder is zero.
Subtract 4 from 6 to leave a remainder of 2.
Step 5. Continue doing this until the remainder is zero.
Subtracting 2 from the remainder of 2 gives us a remainder of zero.
Step 6. Write a zero in the place value columns below the powers of 2 not used.

We did not subtract 64, 32 or 8 in this process and so, we write a 0 in these place value columns.

150 in binary is 1001011.

List of Binary Numbers

The first ten binary numbers are 1, 10, 11, 100, 101, 110, 111, 1000, 1001 and 1010.

Here is a list of binary numbers from 1 to 100.

NumberBinary Number
11
210
311
4100
5101
6110
7111
81000
91001
101010
111011
121100
131101
141110
151111
1610000
1710001
1810010
1910011
2010100
2110101
2210110
2310111
2411000
2511001
2611010
2711011
2811100
2911101
3011110
3111111
32100000
33100001
34100010
35100011
36100100
37100101
38100110
39100111
40101000
41101001
42101010
43101011
44101100
45101101
46101110
47101111
48110000
49110001
50110010
51110011
52110100
53110101
54110110
55110111
56111000
57111001
58111010
59111011
60111100
61111101
62111110
63111111
641000000
651000001
661000010
671000011
681000100
691000101
701000110
711000111
721001000
731001001
741001010
751001011
761001100
771001101
781001110
791001111
801010000
811010001
821010010
831010011
841010100
851010101
861010110
871010111
881011000
891011001
901011010
911011011
921011100
931011101
941011110
951011111
961100000
971100001
981100010
991100011
1001100100

How to Write a Decimal Number in Binary

In binary, the value of the digits to the left of the decimal point double as you go left. The value of the digits to the right of the decimal point halve as you go right. For example in the binary number 101.1, the place value columns represent 4, 2, 1 and then 0.5. Therefore 101.1 = 4 + 1 + 0.5, which is equal to 5.5.

Here is a binary number with a decimal point: 0.11.

a binary number with a decimal point