to convert decimal to binary, repeatedly divide the value by 2, taking the remainder until the value is 1 or 0.
1987 / 2 = 993 r 1
993 / 2 = 496 r 1
496 / 2 = 248 r 0
248 / 2 = 124 r 0
124 / 2 = 62 r 0
62 / 2 = 31 r 0
31 / 2 = 15 r 1
15 / 2 = 7 r 1
7 / 2 = 3 r 1
3 / 2 = 1 r 1
1 / 1 = 1
Thus: 1987 in binary is 11111000011.
Proof (binary back to decimal):
1 * 2^0 = 1
1 * 2^1 = 2
0 * 2^2 = 0
0 * 2^3 = 0
0 * 2^4 = 0
0 * 2^5 = 0
1 * 2^6 = 64
1 * 2^7 = 128
1 * 2^8 = 256
1 * 2^9 = 512
1 * 2^10 = 1024
1024 + 512 + 256 + 128 + 64 + 2 + 1 = 1987
To convert to octal, split the binary value into groups of 3 bits:
11 111 000 011
Pad the first group with zeroes to make 3 bits if necessary:
011 111 000 011
Convert each group to its equivalent octal digit according to the following table:
000 = 0
001 = 1
010 = 2
011 = 3
100 = 4
101 = 5
110 = 6
111 = 7
Therefore: 011 111 000 011 = 3 7 0 3
Thus: 1987 in octal is 3703.
Proof:
3 * 8^0 = 3
0 * 8^1 = 0
7 * 8^2 = 448
3 * 8^3 = 1536
1536 + 448 + 3 = 1987
In binary this number is equivalent to 11111000011 while in octal it is 3703
The answer depends on what you are converting from: binary, ternary, octal, hexadecimal ...
221122: Binary = 1000100001000100100010 Octal = 10410442 Decimal = 2232610
1111111010 = octal 1772
The conversion of octal number to binary can be obtained by using two methods. First, it can be converted into decimal and then obtained decimal is converted into binary. In the second method
The answer depends on what you are converting from: binary, ternary, octal, hexadecimal ...
Octal codes are often used to write the numerical value of a binary number because it is easier to convert from binary to octal, instead of binary to decimal. You can convert to octal on sight, and it simply requires grouping the binary bits into groups of three, whereas converting to decimal requires repeated division by 10102 or 1010. Actually, grouping into three bits is the same as dividing by 1002 or 810 so the process is really the same. Divide by 8 to get octal. Divide by 10 to get decimal.
Octal = 52746757 Binary = 101010111100110111101111
Starting from the right hand end, take the digits in groups of 3 and convert each group to its octal equivalent (which for this task will always be the same as decimal). eg 110 is octal 6
You can use the Windows calculator to do the conversions. If you want to learn how to do it yourself:To convert binary to decimal, multiply the right-most digit with 1, the second digit (from the right) with 2, the third with 4, etc.To convert to octal, group the bits from the right to the left, in groups of 3. Convert each group to a decimal digit.
1470 octal = 001 100 111 000 binary
Convert each "digit" of the octal into a triplet of binary digits, according to the following rule: Octal Binary 0 000 1 001 2 010 3 011 4 100 5 101 6 110 7 111 So, for example, octal 53 = binary 101 011 [= decimal 43]