Wednesday, 10 April 2013
Saturday, 6 April 2013
Convert decimal to octal
This worksheet will help you to know about concept of Decimal to Octal
Conversion. It is used to perform conversion of Decimal to Octal
Conversion. The Octal values are from 0, 1, 2, 3, 4, 5, 6, 7. Hence the
base of Octal numbers are 8.
Decimal to Octal Conversion
The steps followed to convert decimal to binary are
Step1: Divide the number by 8. Write the remainder on the right corner.
Step2: Note the final Octal value from bottom to up.
Example is given below,
Here we convert 4321 to Octal value ,
The equivalent octal value is 103418
Above worksheet is a walk through to understand Decimal to Octal Conversion. When it comes to online calculation, this Decimal to Octal Converter is an essential tool to make your conversion easy.
Decimal to Octal Conversion
The steps followed to convert decimal to binary are
Step1: Divide the number by 8. Write the remainder on the right corner.
Step2: Note the final Octal value from bottom to up.
Example is given below,
Here we convert 4321 to Octal value ,
The equivalent octal value is 103418
Above worksheet is a walk through to understand Decimal to Octal Conversion. When it comes to online calculation, this Decimal to Octal Converter is an essential tool to make your conversion easy.
Convert octal to binary
In order to get the equivalent Binary number for the given octal number, write the individual octal digit in its equivalent binary numbers from the below conversion table that yields you the binary number equivalent. The below example lets you understand the hex to binary conversion clear
Example: Convert Hexadecimal number (536)8 to its binary equivalent
Convert Binary into Octal
This kind of conversion process is so easy and most unusual in our daily life. We can perform binary to decimals conversion using following process:
Starting from the right divide the binary number up in 3 bit sections,
then convert each 3 bit section into its decimal equivalent.
Example: 101001110111012 = 10|100|111|011|101 =247358
Example: 101001110111012 = 10|100|111|011|101 =247358
Convert Decimal to binary
The decimal (base ten) numeral system has ten possible values (0,1,2,3,4,5,6,7,8, or 9) for each place-value. In contrast, the binary (base two) numeral system has two possible values, often represented as 0 or 1, for each place-value.
To avoid confusion while using different numeral systems, the base
of each individual number may be specified by writing it as a subscript
of the number. For example, the decimal number 156 may be written as
15610 and read as "one hundred fifty-six, base ten". The
binary number 10011100 may be specified as "base two" by writing it as
100111002.
Since the binary system is the internal language of electronic
computers, serious computer programmers should understand how to convert
from decimal to binary. Here's how to do it.
----------------------------------------------------------------------------------------------------------------------------
This method is much easier to understand when visualized on paper. It relies only on division by two.- 1Set up the problem. For this example, let's convert the decimal number 15610 to binary.
- Write the decimal number as the dividend inside an upside-down "long division" symbol.
- Write the base of the destination system (in our case, "2" for binary) as the divisor outside the curve of the division symbol.
- 2Write the integer answer (quotient) under the long division symbol, and write the remainder (0 or 1) to the right of the dividend.
- Basically, if the dividend is even, the binary remainder will be 0; if the dividend is odd, the binary remainder will be 1.
- 3Continue downwards, dividing each new quotient by two and writing the remainders to the right of each dividend. Stop when the quotient is 0.
- 4Starting with the bottom remainder, read the sequence of remainders upwards to the top. For this example, you should have 10011100. This is the binary equivalent of the decimal number 156. Or, written with base subscripts: 15610 = 100111002
- This method can be modified to convert from decimal to any base. The divisor is 2 because the desired destination is base 2. If the desired destination is a different base, replace the 2 in the method with the desired base. For example, if the desired destination is base 9, replace the 2 with 9. The final result will then be in the desired base.
Method Two: Descending Powers of Two and Subtraction
- 1List the powers of two in a "base 2 table" from right to left. Start at 20, evaluating it as "1". Increment the exponent by one for each power. The list, to ten elements, would look like this: 512, 256, 128, 64, 32, 16, 8, 4, 2, 1
- 2Figure out the greatest power that will fit into the number you want to convert to binary. For this example, let's convert the decimal number 15610 to binary. What is the greatest power of two that will fit into 156? Since 128 fits, write a 1 for the leftmost binary digit, and subtract 128 from your decimal number, 156. You now have 28.
- 3Move to the next lower power of two. Can 64 fit into 28? No, so write a 0 for the next binary digit to the right.
- 4Can 32 fit into 28? No, so write a 0.
- 5Can 16 fit into 28? Yes, so write a 1, and subtract 16 from 28. You now have 12.
- 6Can 8 fit into 12? Yes, so write a 1, and subtract 8 from 12. You now have 4.
- 7Can 4 (power of two) fit into 4 (working decimal)? Yes, so write a 1, and subtract 4 from 4. You have 0.
- 8Can 2 fit into 0? No, so write a 0.
- 9Can 1 fit into 0? No, so write a 0.
- 10Put together the binary answer. Since there are no more powers of two in the list, you are done. You should have 10011100. This is the binary equivalent of the decimal number 156. Or, written with base subscripts: 15610 = 100111002.
- Repetition of this method will result in memorization of the powers of two, which will allow you to skip Step 1.
Easy ways to convert Binary into Decimal
As we know that binary numbers are numbers that computer can understand. Binary numbers can be converted to decimal using binary to decimal conversion tools or by learning easy way to change binaries into decimals.
For learning how we can convert binary numbers to decimal numbers is so important as it will clear your idea on binary to decimal conversion manually without using any online based calculator.
Here I am explaining you a technique of how you can convert any binary to decimal number easily:
------------------------------------------------------------------------------------------------------------------------
REFERENCE LINK 1: BINARY 2 DECIMAL CONVERSION
DOWNLOAD: CONVERTER
------------------------------------------------------------------------------------------------------------------------
REFERENCE METHOD 2
For learning how we can convert binary numbers to decimal numbers is so important as it will clear your idea on binary to decimal conversion manually without using any online based calculator.
Here I am explaining you a technique of how you can convert any binary to decimal number easily:
------------------------------------------------------------------------------------------------------------------------
REFERENCE LINK 1: BINARY 2 DECIMAL CONVERSION
DOWNLOAD: CONVERTER
------------------------------------------------------------------------------------------------------------------------
REFERENCE METHOD 2
- For this example, let's convert the binary number 100110112 to decimal. List the powers of two from right to left. Start at 20,
evaluating it as "1". Increment the exponent by one for each power.
Stop when the amount of elements in the list is equal to the amount of
digits in the binary number. The example number, 10011011, has eight
digits, so the list, to eight elements, would look like this: 128, 64,
32, 16, 8, 4, 2, 1
- 2Write first the binary number below the list.
- 3Draw lines, starting from the right, connecting each consecutive digit of the binary number to the power of two that is next in the list above it. Begin by drawing a line from the first digit of the binary number to the first power of two in the list above it. Then, draw a line from the second digit of the binary number to the second power of two in the list. Continue connecting each digit with its corresponding power of two.
- 4Move through each digit of the binary number. If the digit is a 1, write its corresponding power of two below the line, under the digit. If the digit is a 0, write a 0 below the line, under the digit.
- 5Add the numbers written below the line. The sum should be 155. This is the decimal equivalent of the binary number 10011011. Or, written with base subscripts:
- 6Repetition of this method will result in memorization of the powers of two, which will allow you to skip step 1.
Doubling method
- 1This method does not use powers. As such, it is simpler for converting large numbers in your head because you only need to keep track of a subtotal.
- 2Start with the left-most digit of the given binary number. For each digit as you move to the right, double your previous total and add the current digit. For example, to convert 10110012 to decimal, we take the following steps:
- 31011001 → 0 * 2 + 1 = 1
- 41011001 → 1 * 2 + 0 = 2
- 51011001 → 2 * 2 + 1 = 5
- 61011001 → 5 * 2 + 1 = 11
- 71011001 → 11 * 2 + 0 = 22
- 81011001 → 22 * 2 + 0 = 44
- 91011001 → 44 * 2 + 1 = 8910
- 10Like the positional notation method, this method can be modified to convert from any base to decimal. Doubling is used because the given number is of base 2. If the given number is of a different base, replace the 2 in the method with the base of the given number. For example, if the given number is in base 37, you would replace the *2 with *37. The final result will always be in decimal (base 10).
Subscribe to:
Comments (Atom)










