How to Convert Binary to Octal Number

Method 1 of 2:

Converting by Hand

  1. How to Convert Binary to Octal Number Picture 1
    Recognize series of binary numbers. Binary numbers are simply strings of 1's and 0's, such as 101001, 001, or even just 1. If you see this kind of string it is usually binary. However, some books and teachers further denote binary numbers through a subscript "2", such as 10012, which prevents confusion with the number "one thousand and one."
    1. This subscript denotes the "base" of the number. Binary is a base-two system, octal is base-eight.
  2. How to Convert Binary to Octal Number Picture 2
    Group all the 1's and 0's in the binary number in sets of three, starting from the far right. There are two different binary numbers and only eight octal. Since How to Convert Binary to Octal Number Picture 3 you'll need three binary numbers to designate each octal number. Start from the right to make your groups. For example, the binary number 101001 would break down to 101 001.
  3. How to Convert Binary to Octal Number Picture 4
    Add zeros to the left of the last digit if you don't have enough digits to make a set of three. The binary number 10011011 has eight digits, which, though not a multiple of three, can still convert to octal. Just add extra zeros to your front group until it has three places. For example:
    1. Original Binary: 10011011
    2. Grouping: 10 011 011
    3. Adding Zeros for Groups of Three: 010 011 011[1]
  4. How to Convert Binary to Octal Number Picture 5
    Add a 4, 2, and a 1 underneath each set of three numbers to note your placeholders. Each of the three binary numbers in a set stands for a place in the octal number system. The first number is for a 4, the second a 2, and the third a 1. To keep things straight, write these numbers underneath your sets of three binary numbers. For example:
    1. 010 011 011
      421 421 421
    2. 001
      421
    3. 110 010 001
      421 421 421
    4. Note, if you're looking for a shortcut, you can skip this step and just compare your sets of binary numbers to this octal conversion chart.
  5. How to Convert Binary to Octal Number Picture 6
    If there is a one above any of your placeholders, write that number (4, 2, or 1) to start your octal numbers. If there is a one above the "4," then your octal number has a 4 in it. If there is a 0 above the one's place, the octal number does not have a one in it, so leave a blank, zero, or dash. As seen in an example:
    1. Problem:
      1. Convert 1010100112 to octal.
    2. Separate into threes:
      1. 101 010 011
    3. Add placeholders:
      1. 101 010 011
        421 421 421
    4. Mark each places:
      1. 101 010 011
        421 421 421
        401 020 021[2]
  6. How to Convert Binary to Octal Number Picture 7
    Add up the new numbers in each set of three. Once you know what places are in the octal number, simply add up each set of three individually. So, for 101, which turns into 4, 0, and 1, you end up with 5 ( How to Convert Binary to Octal Number Picture 8 ). Continuing the example above:
    1. Problem:
      1. Convert 1010100112 to octal.
    2. Separate, add placeholders, and mark each place:
      1. 101 010 011
        421 421 421
        401 020 021
    3. Add up each set of three:
      1. How to Convert Binary to Octal Number Picture 9
  7. How to Convert Binary to Octal Number Picture 10
    Place your newly converted answers together to form your final octal number. Splitting up the binary number was just to make solving easier -- the original number was one lone string. So, now that you've converted, put everything back together to get your final answer. That's all it takes.
    1. Problem:
      1. Convert 1010100112 to octal.
    2. Separate, add placeholders, mark places, and add totals:
      1. 101 010 011
        5 — 2 — 3
    3. Put converted numbers back together:
      1. 523
  8. How to Convert Binary to Octal Number Picture 11
    Add a subscript 8 (like this8) to complete the conversion. There is technically no way to know if 523 refers to an octal number or a normal base-ten number without proper notation. To ensure that your teacher knows you've been doing the work well, place a subscript 8, referring to octal as a base-8 system, on your answer.
    1. Problem:
      1. Convert 1010100112 to octal.
    2. Conversion:
      1. 523.
    3. Final Answer:
      1. 5238[3]
Method 2 of 2:

Converting Shortcuts and Variations

 

  1. How to Convert Binary to Octal Number Picture 12
    Use a simple octal conversion chart to save time and work. This won't work on a test, but is a great choice in any other setting. Since there are only 8 possible combinations of numbers, it is actually a pretty easy chart to memorize. All you have to do is separate the numbers in groups of three, then match them with the chart in the pictures.[4]
    1. Note how numbers 8 and 9 don't have straight conversions. In octal, these numbers do not exist, since there are only 8 digits (0-7) in a base-eight system.
  2. How to Convert Binary to Octal Number Picture 13
    Keep the decimal where it is and work outward if you are dealing with decimals. Say you need to convert the binary number 10010.11 to an octal number. Normally, you work from right to left to group the numbers into sets of three. With the decimal, you work away from the point. So, for the numbers left of the decimal (10010), you start at the point and work left (010 010). For the numbers to the right (.11), you start from the point and work right (110). When adding zeros, always add them in the direction you're working. The final breakdown is 010 010 . 110.
    1. 101.1 → 101 . 100
    2. 1.01001 → 001 . 010 010
    3. 1001101.0101 → 001 001 101 . 010 100
  3. How to Convert Binary to Octal Number Picture 14
    Use the octal conversion chart to convert from octal back to binary. You'll need the chart to work backward, as a simple "3" doesn't give you enough information to do the math unless you already know the octal system well and want to re-think each combination. Simply use the following chart to easily convert each octal digit into a set of three binary numbers, then ram them together:
    1. 0 → 000
    2. 1 → 001
    3. 2 → 010
    4. 3 → 011
    5. 4 → 100
    6. 5 → 101
    7. 6 → 110
    8. 7 → 111[5]
4 ★ | 26 Vote

May be interested

  • How to type pages in Word 2007 from any pageHow to type pages in Word 2007 from any page
    page numbering in word 2007 is a mandatory requirement when making essays and discussions. the number of pages in word is not difficult, but it is more complicated to type pages in sections, or start from a page other than the first page.
  • What is WebAssembly?What is WebAssembly?
    what is webasssembly? what does it mean for javascript? read this article to find the answer!
  • Convert PDF to Word, convert PDF files for freeConvert PDF to Word, convert PDF files for free
    convert pdf to word, convert pdf files into text while maintaining the format, quality is a basic requirement when users convert pdf to docx. please refer to the article to convert pdf into word easily and still ensure the requirements.
  • Browse trees in data structures and algorithmsBrowse trees in data structures and algorithms
    tree browsing is a process for accessing all the nodes of a tree and can also print the values ​​of these nodes. because all nodes are connected via edges (or links), we always start accessing from the root node.
  • How to transfer 11 subscribers to 10 numbers in the iPhone phone bookHow to transfer 11 subscribers to 10 numbers in the iPhone phone book
    converting 11 numbers into 10-digit sims greatly affects users, one of which is to save the phone numbers of relatives and friends in the directory. however, applying in the way in this article you can transfer an 11-digit subscription to 10 numbers in your iphone phone book in a very simple and fast way, without having to save it manually.
  • Interpolation Search algorithm (Interpolation Search)Interpolation Search algorithm (Interpolation Search)
    interpolation search (interpolation search) is an improved variant of binary search (binary search). in order for this search algorithm to work correctly, the data set must be sorted.
  • How to convert a sequence of numbers into dates in ExcelHow to convert a sequence of numbers into dates in Excel
    on excel, we can convert the sequence of numbers into dates without manually entering data.
  • Zalo, Viber will automatically convert the subscription number from 11 numbers to 10 numbersZalo, Viber will automatically convert the subscription number from 11 numbers to 10 numbers
    users of zalo and viber will be supported to continue using the service completely automatically when the time of sim 11 to 10 numbers is implemented starting from 00:00 on september 15, 2018 instead of having to be updated again. phone number manually.
  • How to Convert AVI to MP4 on MacHow to Convert AVI to MP4 on Mac
    this wikihow teaches you how to convert an avi video file to an mp4 on mac. both avi and mp4 are video file formats. mp4 is a little more universal than avi. there are a number of free apps that can convert avi to mp4. handbrake is the...
  • The oct () function in PythonThe oct () function in Python
    the oct () function is one of python's built-in functions, which is used to convert an integer to the corresponding octal.