One method:
Take the decimal number, divide by 8.
The remainder of the division will be the least significant (rightmost) digit of the octal number.
Take the quotient from the previous step, divide it by 8. The remainder will be the next digit of the octal number (going right to left).
Repeat until the quotient is 0.
Example: Convert 300 to octal.
300/8 = 37 Remainder 4.
37/8 = 4 remainder 5.
4/8 = 0 remainder 4.
So the octal number is 454.
You can test this by calculating:
4 * 8^2 + 5 * 8^1 + 4 * 8^0
= 4*64 + 5*8 + 4
= 256 + 40 + 4 = 300.
Chat with our AI personalities
Octal: 56704534 Decimal: 12290396
NA
That can't be an octal number; it has an 8 in it.
166 in decimal
262 octal is178 decimal.262 decimal is406 octal