How to Convert from Decimal to Octal
Two Methods:
Octal is the base 8 number system, that only uses the digits 0 through 7. Its main advantage is the ease of conversion with binary (base 2), since each digit in octal can be written as a unique threedigit binary number.Converting decimal to octal is a little more difficult, but you don't need to know any math past long division. Start with the division method, which finds each digit by dividing by powers of 8. The remainder method is faster and uses similar math, but it can be a little harder to understand why it works.
Steps
Converting with Division

Use this method to learn the concepts.Of the two methods on this page, this method is easier to understand. If you're already confident working in different number systems, try the faster remainder method, below.

Write down the decimal number.For this example, we'll convert the decimal number 98 into octal.

List the powers of 8.Remember that "decimal" is called base 10 because each digit represents a power of 10. We call the first three digits 1s place, the 10s place, the 100s place — but we could also write this as the 100place, the 101place, and the 102place. Octal, or the base 8 number system, uses powers of 8 instead of powers of 10. Write a few of these powers of 8 in a horizontal line, from largest to smallest. Note that these numbers are all written in decimal (base 10):
 82 81 80
 Rewrite these as single numbers:
 64 8 1
 You don't need any powers of 8 larger than your original number (in this case, 98). Since 83= 512, and 512 is larger than 98, we can leave it off the chart.

Divide the decimal number by the largest power of eight.Take a look at your decimal number: 98. The nine in the 10s place tells you that there are nine 10s in this number. 10 goes into this number 9 times. Similarly, with octal, we want to know how many "64s" go into the final number. Divide 98 by 64 to find out. The easiest way to do this is to make a chart, reading top to bottom:

98
÷ 
64 8 1
=  1← This is the first digit of your octal number.

98

Find the remainder.Calculate the remainder of the division problem, or the amount left over that doesn't go in evenly. Write your answer at the top of the second column. This is what's left of your number after the first digit is calculated. In our example, 98 ÷ 64 = 1. Since 1 x 64 = 64, the remainder is 98  64 = 34. Add this to your chart:
 98 34
÷  64 8 1
=  1
 98 34

Divide the remainder by the next power of 8.To find the next digit, we move one step down to the next power of 8. Divide the remainder by this number and fill out your chart's second column:
 98 34
÷ ÷  64 8 1
= =  1 4
 98 34

Repeat until you've found the full answer.Just as before, find the remainder of your answer and write it at the top of the next column. Keep dividing and finding the remainder until you've done this for every column, including 80(the ones place). Your final row is the final decimal number converted to octal. Here's our example with the full chart filled out (note that 2 is the remainder of 34÷8):
 98 34 2
÷ ÷ ÷  64 8 1
= = =  1 4 2
 The final answer: 98 base 10 = 142 base 8. You can write this as 9810= 1428
 98 34 2

Check your work.To check your work, multiply each digit in octal by the power of 8 it represents. You should end up with your original number. Let's check our answer, 142:
 2 x 80= 2 x 1 =2
 4 x 81= 4 x 8 = 32
 1 x 82= 1 x 64 = 64
 2 + 32 + 64 = 98, the number we started with.

Try this practice problem.Practice this method by converting the decimal number 327 into octal. When you think you have the answer, highlight the invisible text below to see the whole problem laid out.
 Highlight this area:
 327 7 7
÷ ÷ ÷  64 8 1
= = =  5 0 7
 The answer is 507.
 (Hint: it's fine to have 0 as the answer to a division problem.)
Converting with Remainders

Start with any decimal number.We'll start with the decimal number670.
 This method is faster than the successive division method. Most people find it more difficult to understand why it works, and may want to start with the easier method above.

Divide this number by 8.Ignore decimal values for now. You'll see why this calculation is useful soon.
 In our example:670 ÷ 8 = 83.

Find the remainder.Now that we've "counted by 8" as many times as we can, the remainder is the small number left over. This is thelastdigit of our octal number, in the ones place (80). The remainder is always smaller than 8, so it can't be represented by any of the other digits.
 In our example: 670 ÷ 8 = 83remainder 6.
 Our octal number so far is ???6.
 If your calculator has a "modulus" or "mod" button, you can find this value by entering "670 mod 8."

Divide the answer to your division problem by 8.Set aside the remainder and return to your division problem. Take your answer and divide by 8 again. Note the answer, then find the remainder. This is the secondtolast digit of your octal number, the 81= 8s place.
 In our example: The answer to our last division problem was 83.
 83 ÷ 8 = 10 remainder 3.
 Our octal number so far is ??36.

Divide by 8 again.As before, take the answer to your last division problem. Divide it by 8 again, and find the remainder. This is the thirdtolast digit of your octal number, the 82= 64s place.
 In our example: The answer to our last division problem was 10.
 10 ÷ 8 = 1 remainder 2.
 Our octal number so far is ?236.

Repeat until you find the final digit.When you calculate your last division problem, the answer will be 0. The remainder to this problem is the first digit in your octal number. You have now fully converted the decimal number.
 In our example: The answer to our last division problem was 1.
 1 ÷ 8 = 0 remainder 1.
 Our final answer is the octal number 1236. We can write this as 12368to show that it is an octal number.

Understand how this works.If you're having trouble understanding this method, here's an explanation:
 You start with a pile of 670 units.
 The first division problem divides these into groups, with 8 units in each group. Anything left over, the remainder, doesn't fit into the octal 8s place. It must be in the 1s place instead.
 Now you take your pile of groups, and divide them into sections with 8 groups each. Each section now has 8 groups with 8 units each, or 64 units total. The remainder doesn't fit into these, so it can't fit into the octal 64s place. It must be in the 8s place.
 This continues until you discover the entire number.
Community Q&A

QuestionHow I convert octal to decimal?wikiHow ContributorCommunity AnswerEvery number in the ones place counts as one, every number in the tens place counts as 8 and every number in the 100's place counts as 64. Use this formula to find the answer. Example: 326; 3(64)+2(8)+6(1); 192+16+6; 214.Thanks!

QuestionWhat is 40 decimal converted to octal solution?Community Answer50 octal is the solution you are looking for.Thanks!

QuestionHow can I convert the decimal number 645 into octal number?wikiHow ContributorCommunity Answer645÷8=80 rem 5 and then 80÷8=10 rem 0, next 10÷8=1 rem 2 and finally 1÷8=0 rem 1. The remainders in ascending order are the answer so you answer is 1205.Thanks!

QuestionDo I need this for my GCSE?Community AnswerAs of time of writing, octal is not needed in any of the GCSE specifications. It does appear in the ASCII table but you probably won't even use these values. If they do appear in your exam, you will have the provided information required to answer the question.Thanks!

(153.513) base 10 convert the following number to octal?

The decimal number 3977 how to convert in octal?

What is the octal (base 8) equivalent for CFbase 16?
Practice Problems
 Try to convert these decimal numbers on your own, using either method above. When you think you have the answer, highlight the invisible text on the right side of the equation. (Note that10means decimal and8means octal.)
 9910=1438
 36310=5538
 521010=121328
 4756910=1347218
Video
Quick Summary
To convert from decimal to octal using division, start by writing down the decimal number. Next, list the powers of 8 and divide the decimal number by the largest power of 8. Calculate the remainder, then divide the remainder by the next power of 8. Repeat this process until you've solved the problem!
Related wikiHows
Sources and Citations
Article Info
Featured Article
Categories: 
In other languages:
Español: , Italiano: , Português: , Русский: , Deutsch: , Français: , Bahasa Indonesia: , Nederlands:
Video: Decimal to octal conversion  very easy
Related News
Chicago Cutlery Fusion Knife Set
How to Increase Libido While on Antidepressants
Dominos Launches Their Very Own Wedding Gift Registry Service
How to Use a Microphone on a PC
How to Set up an FTP Server in Ubuntu Linux
Why Cherries Are One of the BestforYou Fruits
How to Download Teen Patti for PC
We Searched Everywhere for AnimalPrinted Boots, and These Are Our 16 Faves
How to Pass Your Permit Test
How to Use Goodreads Groups
How to Cite a Speech
MORE: Holy Photoshop: Here’s a GIF of a Model Turning Into a DifferentModel
5 Reasons to Start HIIT