Download ArticleDownload Article

Want to improve your nerd skills? Learn the counting system computers use for all their calculations. It looks strange at first, but you only need a few rules and a little practice to count in bin ary.

Reference table

Decimal

012345678910

Binary

011011100101110111100010011010
Method 1
Method 1 of 2:

Learning Binary

Download Article
  1. How.com.vn English: Step 1 Learn what binary means.
    [1] Our normal counting system is called decimal, or "base ten." We have ten different symbols for writing numbers, ranging from 0 to 9. Binary is a "base two" system, using only the symbols 0 and 1.[2]
  2. How.com.vn English: Step 2 Add one by changing the last 0 into a 1.
    If a binary number ends in 0, you can count one higher by changing this to a 1. We can use this to count the first two numbers just as you would expect:
    • 0 = zero
    • 1 = one
    • For higher numbers, you can ignore the earlier digits of the number. 1010 + 1 = 1011.
    Advertisement
  3. How.com.vn English: Step 3 Write another digit if all the numbers are one.
    Now we have "1" for one, but we've already run out of symbols! In order to count to two, we need to write another digit. Add a "1" to the front of the number, and "reset" all the other digits to 0.[3]
    • 0 = zero
    • 1 = one
    • 10 = two
    • This is the same rule we use in decimal when we run out of symbols (9 + 1 = 10). It just happens a lot more often in binary because we run out of symbols sooner.
  4. How.com.vn English: Step 4 Use these rules to count to five.
    These rules will get you as far as the number five. See if you can do it yourself, then check your work:[4]
    • 0 = zero
    • 1 = one
    • 10 = two
    • 11 = three
    • 100 = four
    • 101 = five
  5. How.com.vn English: Step 5 Count to six.
    Now we need to solve five + one in decimal, or 101 + 1. The key here is to ignore the first digit. Just add the 1 + 1 at the end to get 10. (Remember, this is how you write "two".) Now restore the first digit and you get:[5]
    • 110 = six
  6. How.com.vn English: Step 6 Count to ten.
    There are no new rules you need to learn. Try it yourself, then check your work with this list:[6]
    • 110 = six
    • 111 = seven
    • 1000 = eight
    • 1001 = nine
    • 1010 = ten
  7. How.com.vn English: Step 7 Notice when new digits get added.
    Do you see that ten (1010) doesn't look like a "special" number in binary? Eight (1000) is much more important now, because it equals 2 x 2 x 2. Keep multiplying by two to find other important numbers like sixteen (10000) and thirty-two (100000).
  8. How.com.vn English: Step 8 Practice with higher numbers.
    Now you know everything you need to count in binary. If you're ever confused about what comes next, just work out what happens to the last digits. Here are a few examples to help you out:[7]
    • twelve plus one = 1100 + 1 = 1101 (0 + 1 = 1, and the other digits stay the same.)
    • fifteen plus one = 1111 + 1 = 10000 = sixteen (We've run out of symbols, so we reset to 0 and write a 1 at the start.)
    • forty-five plus one = 101101 + 1 = 101110 = forty-six (We know 01 + 1 = 10, and the other digits stay the same.)
  9. Advertisement
Method 2
Method 2 of 2:

Converting from Binary to Decimal

Download Article
  1. How.com.vn English: Step 1 Write down the value of each binary place.
    When you learned decimal counting, you learned about the "place values": the ones place, tens place, and so on.[8] Since binary has two symbols, the place values multiply by two each time you move to the left:
    • 1 is the ones place
    • 10 is the twos place
    • 100 is the fours place
    • 1000 is the eights place
  2. How.com.vn English: Step 2 Multiply each digit by its place value.
    Start with the ones place on the far right, and multiply that digit (0 or 1) by one. On a separate line, move to the twos place, and multiply that digit by two. Repeat this pattern until you've multiplied each digit by its place value.[9] Here's an example:
    • What is the binary number 10011 in decimal?
    • The rightmost digit is 1. This is in the ones place, so multiply by one: 1 x 1 = 1.
    • The next digit is also 1. Multiply this by two: 1 x 2 = 2.
    • The next digit is 0. Multiply this by four: 0 x 4 = 0.
    • The next digit is also 0. Multiply this by eight: 0 x 8 = 0.
    • The leftmost digit is 1. Multiply this by sixteen (eight times two): 1 x 16 = 16.
  3. How.com.vn English: Step 3 Add all the products together.
    Now you've converted each digit into its decimal value. To find the value of the full number, just add all the decimal values together. Here's the rest of your example:[10]
    • 1 + 2 + 16 = 19.
    • The binary number 10011 is the same as the decimal number 19.
  4. Advertisement

Community Q&A

Search
Add New Question
  • Question
    How many bits would I need if I wanted to have the ability to count up to 1000?
    How.com.vn English: Jordan Newberry
    Jordan Newberry
    Community Answer
    Ten bits. 1000 in binary is: 11 1110 1000 -- log₂(1000)≈9.966 bits. Of course, we can't use 9.966 bits, so we round up to the nearest integer: 10 bits.
  • Question
    Can you summarize this topic?
    How.com.vn English: Donagan
    Donagan
    Top Answerer
    In binary notation, in the first column on the right (the "one" column), 0 means zero 1's, and 1 means one 1. In the next column to the left (the "two" column), 0 means zero 2's and 1 means one 2. In the next column (the "four" column), 0 means zero 4's, and 1 means one 4. The same pattern follows in each column. Moving to the left, the columns are "sixteen," "thirty-two," "sixty-four," and so on, each column being worth twice as much as the column to its right. For example, take the base-ten number 61: 61 consists of one 32 plus one 16 plus one 8 plus one 4 plus zero 2's plus one 1. So 61 is notated in binary as 111101 (pronounced "one one one one zero one").
  • Question
    How do I convert 12 into binary?
    How.com.vn English: Donagan
    Donagan
    Top Answerer
    12 consists of one 8 plus one 4 plus zero 2's plus zero 1's, so the binary notation for 12 is 1100.
See more answers
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Video

      Tips

      • You can also learn to count in binary on your fingers. Each finger is a digit, showing "1" if it's extended and "0" if it's curled down.[11]
      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: Joseph Meyer
      Reviewed by:
      Math Teacher
      This article was reviewed by Joseph Meyer. Joseph Meyer is a High School Math Teacher based in Pittsburgh, Pennsylvania. He is an educator at City Charter High School, where he has been teaching for over 7 years. Joseph is also the founder of Sandbox Math, an online learning community dedicated to helping students succeed in Algebra. His site is set apart by its focus on fostering genuine comprehension through step-by-step understanding (instead of just getting the correct final answer), enabling learners to identify and overcome misunderstandings and confidently take on any test they face. He received his MA in Physics from Case Western Reserve University and his BA in Physics from Baldwin Wallace University. This article has been viewed 274,828 times.
      158 votes - 71%
      Co-authors: 7
      Updated: January 31, 2023
      Views: 274,828
      Categories: Mathematics
      Article SummaryX

      To count in binary, convert the last 0 in any number to 1 to add 1, and change any digits following the converted 1 back to 0. If all of the digits are already 1s, add a 1 to the beginning of the number and reset all of the other digits to 1. For instance, the number 1 is represented by 1, and the number 2 is written as 10. Following this, 3 is 11, 4 is 100, 5 is 101, 6 is 110, 7 is 111, 8 is 1000, and so on. To learn how to convert binary to decimal, read on!

      Did this summary help you?

      Thanks to all authors for creating a page that has been read 274,828 times.

      Reader Success Stories

      • How.com.vn English: James Lum

        James Lum

        Jul 1, 2018

        "I was viewing a program where students were working on combination problems. One student ingeniously used binary..." more
        Rated this article:
      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