Have to deal with several conversions between Octal and Quaternary numeral systems? Then this site is made for you! Use our super handy online tool to convert your data.Welcome!

Octal to Quaternary converter

How to convert Octal to Quaternary

The octal numeral system, or oct for short, is the base-8 number system, and uses the digits 0 to 7. Octal is sometimes used in computing instead of hexadecimal, perhaps most often in modern times in conjunction with file permissions under Unix systems. It has the advantage of not requiring any extra symbols as digits. It is also used for digital displays.

Quaternary is the base-4 numeral system. It uses the digits 0, 1, 2 and 3 to represent any real number. Four is the largest number within the subitizing range and one of two numbers that is both a square and a highly composite number, making quaternary a convenient choice for a base at this scale. Despite being twice as large, its radix economy is equal to that of binary.

Follow these steps to convert a octal number into quaternary form:

The simplest way is to convert the octal number into decimal, then the decimal into quaternary form.
  1. Write the powers of 8 (1, 8, 64, 512, 4096, and so on) beside the octal digits from bottom to top.
  2. Multiply each digit by it's power.
  3. Add up the answers. This is the decimal solution.
  4. Divide the decimal number by 4.
  5. Get the integer quotient for the next iteration (if the number will not divide equally by 4, then round down the result to the nearest whole number).
  6. Keep a note of the remainder, it should be between 0 and 3.
  7. Repeat the steps from step 4. until the quotient is equal to 0.
  8. Write out all the remainders, from bottom to top. This is the quaternary solution.
For example if the given octal number is 3602:
DigitPowerMultiplication
35121536
664384
080
212
Then the decimal solution (1536 + 384 + 2) is: 1922
DivisionQuotientRemainder
1922 / 44802
480 / 41200
120 / 4300
30 / 472
7 / 413
1 / 401
Finally the quaternary solution is: 132002
Switch to desktop version