Download ArticleDownload Article

The binary number system works similarly to the base 10 decimal system we are used to using, except that it is a base 2 system consisting of only two digits, 1 and 0.[1]

The binary numbers system is the basis of computer functionality.[2] Essentially binary code uses 1s and 0s to turn certain processes off or on. Binary numbers can be added just as decimal numbers, and while the process is familiar, adjusting to the base 2 system can make it a confusing endeavor. It is helpful, then, to have a complete understanding of how place value works in the binary number system before attempting to add binary numbers.

Part 1
Part 1 of 4:

Understanding the Binary System

Download Article
  1. How.com.vn English: Step 1 Draw a place value chart with two rows and four columns.
    Label each column with a place value. The binary system is a base 2 system, so instead of the ones, tens, hundreds, and thousands place like we use in the decimal (base 10) system, binary has the ones, twos, fours, and eights place.[3] The ones place is the far right column of your chart, and the eights place is the far left column.
    • You can continue your place value chart. Each place value is determined by a base 2 exponent.[4] For example:





  2. How.com.vn English: Step 2 Write a random binary number in the bottom row of your chart.
    In the binary system, the only digits used are and .[5]
    • For example, you might write 1 in the eights place, 1 in the fours place, 0 in the twos place, and 1 in the ones place: 1101.
    Advertisement
  3. How.com.vn English: Step 3 Interpret the ones place.
    If there is a 0 in the ones place, the value is 0. If there is a 1 in the ones place, the value is 1.
    • For example, in the binary number 1101, there is a 1 in the ones place, so the value is 1. So the binary number 1 is equal to the decimal number 1.
  4. How.com.vn English: Step 4 Interpret the twos place.
    If there is a 0 in the twos place, the value is 0. If there is a 1 in the twos place, the value is 2.
    • For example, in the binary number 1101, there is a 0 in the twos place, so the value is 0. So the binary number 01 is equal to the decimal number 1, because there are 0 twos and 1 one: 0 + 1 = 1.
  5. How.com.vn English: Step 5 Interpret the fours place.
    If there is a 0 in the fours place, the value is 0. If there is a 1 in the fours place, the value is 4.
    • For example, in the binary number 1101, there is a 1 in the fours place, so the value is 4. So the binary number 101 is equal to the decimal number 5, because there are 1 four, 0 twos, and 1 one: 4 + 0 + 1 = 5.
  6. How.com.vn English: Step 6 Interpret the eights place.
    If there is a 0 in the eights place, the value is 0. If there is a 1 in the eights place, the value is 8.
    • For example, in the binary number 1101, there is a 1 in the eights place, so the value is 8. So the binary number 1101 is equal to the decimal number 13, because there are 1 eight, 1 four, 0 twos, and 1 one: 8 + 4 + 0 + 1 = 13.
  7. Advertisement
Part 2
Part 2 of 4:

Adding Binary Numbers Using Place Value

Download Article
  1. How.com.vn English: Step 1 Set up the problem vertically, and add the digits in the ones place.
    Since you are only adding two digits, the possible sum is either 0, 1, or 2. If the sum is 0, write a 0 in the answer’s ones place. If the sum is 1, write a 1 in the answer’s ones place. If the sum is 2, write a 0 in the answer’s ones place, and carry a 1 into the twos column.[6]
    • For example, if adding 0111 and 1110, for the ones column you would add 1 one plus 0 ones = 1, so place a 1 in the answer’s ones column.
  2. How.com.vn English: Step 2 Add the digits in the twos place.
    The possible sum is either 0, 1, 2, or 3 (if you carried from the ones place). If the sum is 0, write a 0 in the answer’s twos place. If the sum is 1, write a 1 in the answer’s twos place. If the sum is 2, write a 0 in the answer’s twos place, and carry a 1 into the fours column. If the sum is 3, write a 1 in the answer’s twos place, and carry a 1 into the fours column (3 twos = 6 = 1 two and 1 four).
    • For example, if adding 0111 and 1110, for the twos column you would add 1 two, plus 1 two = 2 twos = 4, so place a 0 in the answer’s twos column and carry a 1 into the fours column.
  3. How.com.vn English: Step 3 Add the digits in the fours place.
    The possible sum is either 0, 1, 2, or 3 (if you carried from the twos place). If the sum is 0, write a 0 in the answer’s fours place. If the sum is 1, write a 1 in the answer’s fours place. If the sum is 2, write a 0 in the answer’s fours place, and carry a 1 into the eights column. If the sum is 3, write a 1 on the answer’s fours place, and carry a 1 into the eights column (3 fours = 12 = 1 four and 1 eight).
    • For example, if adding 0111 and 1110, for the fours column you would add 1 four, plus 1 four, plus 1 four = 3 fours= 12, so place a 1 in the answer’s fours column and carry a 1 into the eights column.
  4. How.com.vn English: Step 4 Keep adding the digits in each place value of the number until you reach your final answer.
    For simplicity’s sake, you can remember that 0 = 0, 1 = 1, 2 = 10, and 3 = 11.
    • For example, if adding 0111 and 1110, for the eights column you would add up 2 eights, since you carried from the fours column. For a sum of 2, place a 0 in the eights column and carry a 1 into the sixteens column. Since there are no other numbers in the sixteens column, just bring that 1 down to the final answer. So 0111 + 1110 = 10101.
  5. Advertisement
Part 3
Part 3 of 4:

Adding Multiple Binary Numbers by Pairing 1s

Download Article
  1. How.com.vn English: Step 1 Set up the problem vertically.
    Circle pairs of 1s (digits) in the ones column. Remember, the ones column in binary is the far right column.
    • For example, if adding 1010 + 1111 + 1011 + 1110, you should circle 1 pair of 1s.
  2. How.com.vn English: Step 2 Interpret the ones column.
    For each pair of 1s, carry a 1 into the twos column. If there is only one 1, or if there is one 1 left over after circling pairs of 1s, then write a 1 in the answer’s ones place. If there are no 1s left over, place a 0 in the answer’s ones place.[7]
    • For example, since you circled one pair of 1s, you would carry a 1 into the twos column, and drop a 0 in the answer’s ones place.
  3. How.com.vn English: Step 3 Circle pairs of 1s in the twos column.
    Don’t forget to include any digits you carried over from the ones column.
    • For example, if adding 1010 + 1111 + 1011 + 1110, you should circle 2 pairs of 1s, and have one 1 left over.
  4. How.com.vn English: Step 4 Interpret the twos column.
    For each pair of 1s, carry a 1 into the fours column and drop a 0 into the answer’s twos place. If there is only one 1, or if there is a 1 left over after circling pairs of 1s, then place a 1 into the answer’s twos place. If there are no 1s left over, place a 0 in the answer’s ones place.
    • For example, since you circled 2 pairs of 1s and had one 1 leftover, you would carry a 1 into the fours column twice, and drop a 1 in the answer’s twos place.
  5. How.com.vn English: Step 5 Circle pairs of 1s in the fours column.
    Don’t forget to include any digits you carried over from the twos column.
    • For example, if adding 1010 + 1111 + 1011 + 1110, you should circle 2 pairs of 1s, since you carried 1 over twice from the twos column.
  6. How.com.vn English: Step 6 Interpret the fours column.
    Carry over a 1 into the eights column for each pair of 1s. Don’t forget to put a 1 in the fours place if you have one 1 left over, or a 0 in the fours place if you have no 1s left over.
    • For example, since you circled 2 pairs of 1s with none left over, you would carry a 1 into the eights column twice, and place a 0 in the answer’s fours column.
  7. How.com.vn English: Step 7 Continue circling pairs of 1s for each place value.
    Don’t forget to carry a 1 into the next column for each circled pair, to place a 1 in the answer if there is a 1 left over, and to place a 0 in the answer if only zeros remain in the column.
    • For example, if adding 1010 + 1111 + 1011 + 1110, for the eights place you should circle 3 pairs of 1s, since you carried 1 over twice from the fours column. So you would place a 0 in the eights place of your answer and carry three 1s into the sixteens column. In the sixteens column you have one pair of 1s with one 1 left over, so you would place a 1 in the sixteens place of your answer, and a 1 in the thirty-twos column of your answer. So 1010 + 1111 + 1011 + 1110 = 110010.
  8. How.com.vn English: Step 8 Check your answer.
    There are a number of binary calculators online that will calculate the sum of binary numbers.[8]
  9. Advertisement
Part 4
Part 4 of 4:

Adding Binary Numbers Using Boolean Operations

Download Article
  1. 1
    Perform an XOR operation in the first column to determine the result. An XOR statement will return true or 1 if the two inputs are different (such as 0 and 1) and false or 0 if the two inputs are the same.
  2. 2
    Perform an AND operation in the first column to determine the carry to the next column. An AND operation will return true or 1 if both of the inputs are 1 and false otherwise.
  3. 3
    Perform a repeated XOR with the carry to determine the result for the second column. The first XOR between the two inputs will determine the intermediate output to the XOR with the carry. The second XOR between the carry and the intermediate output will determine the result for this column.
  4. 4
    Perform a repeated AND with the carry to determine the result for the second column. The first AND between the two inputs will determine the intermediate output to the AND with the carry. The second AND between the carry and the intermediate output will determine the carry out for this column.
  5. 5
    Repeat to get the result. After performing the same AND and XOR operations multiple times, you will have the result of the addition. Ignore the last carry. This is not needed for a fixed bit string.
  6. 6
    Interpret the result of the addition. The result can be interpreted as an unsigned integer or as two's compliment.
    • An unsigned integer has no sign. The values that can be represented by an bit string is between and . To convert the result back to decimal, perform , where is the th bit.
    • A two's compliment integer has both negative and positive results. The values that can be represented by an bit string is between and . To convert the result back to decimal, first toggle all the bits then add 1 to the first bit if the last bit is on. Then use the same formula for computing the decimal result , where is the th bit. If you had to invert the bits, make sure to prepend a − sign before the answer.
  7. Advertisement

Community Q&A

Search
Add New Question
  • Question
    Well, what is the basic addition?
    How.com.vn English: Community Answer
    Community Answer
    1+0 is 1, 0+0 = 0, 1+1 = 0, then carry the 1. That is the basic. Binary is just 2 number; 1 and 0. 1=Yes and 0=Not.
  • Question
    How do I solve 1111+1111+1111?
    How.com.vn English: Community Answer
    Community Answer
    Just remember when you add two 1's together, you get 10, so it just happens twice so 1+1+1+1 = 100,1+1 =10 and 1+1 = 10 and 10+10 = 100.
  • Question
    How to add 11 + 1 in the binary system?
    How.com.vn English: Danoyachtcapt
    Danoyachtcapt
    Top Answerer
    11 + 1 = 4 or 0100 in binary.
See more answers
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!
      Advertisement

      About This Article

      How.com.vn English: Grace Imson, MA
      Reviewed by:
      Math Teacher
      This article was reviewed by Grace Imson, MA. Grace Imson is a math teacher with over 40 years of teaching experience. Grace is currently a math instructor at the City College of San Francisco and was previously in the Math Department at Saint Louis University. She has taught math at the elementary, middle, high school, and college levels. She has an MA in Education, specializing in Administration and Supervision from Saint Louis University. This article has been viewed 1,165,604 times.
      184 votes - 64%
      Co-authors: 73
      Updated: May 3, 2024
      Views: 1,165,604
      Article SummaryX

      To add binary numbers using place value, start by setting up the problem vertically, then add the digits in the ones place. Add the digits in the twos place next, then add the digits in the fours place. Keep adding the digits in each place value of the number until you reach your final answer! To learn how to add multiple binary numbers by pairing ones, read on!

      Did this summary help you?

      Thanks to all authors for creating a page that has been read 1,165,604 times.

      Reader Success Stories

      • How.com.vn English: Anna Reid

        Anna Reid

        Jun 5, 2018

        "I was struggling with binary numbers for my exams, and this article was a massive help to me. It saved me from..." more
      Share your story

      Did this article help you?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement