How to convert Binary to QuaternaryA binary number is a number expressed in the base-2 numeral system or binary numeral system, which uses only two symbols: typically "0" and "1". The base-2 numeral system is a positional notation with a radix of 2. Each digit is referred to as a bit. Because of its straightforward implementation in digital electronic circuitry using logic gates, the binary system is used by almost all modern computers and computer-based devices.
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 binary number into quaternary form:
- Start from the right side of the binary number and divide it up into groups of 2 digits. Add extra zero to the front of the first number if it is not two digits.
- Convert each group of 2 binary digits to its equivalent quaternary value from the conversion table below.
- Concatenate the results together. This is the solution.