How to convert Quaternary to Decimal
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.The decimal numeral system is the standard system for denoting integer and non-integer numbers. It is the extension to non-integer numbers of the Hindu-Arabic numeral system. For writing numbers, the decimal system uses ten decimal digits, a decimal mark, and, for negative numbers, a minus sign "-". The decimal digits are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9; the decimal separator is the dot "." in many countries.
Formula
Follow these steps to convert a quaternary number into decimal form:
- Write the powers of 4 (1, 4, 16, 64, 256, and so on) beside the quaternary digits from bottom to top.
- Multiply each digit by it's power.
- Add up the answers. This is the solution.
Digit | Power | Multiplication |
---|---|---|
3 | 256 | 768 |
1 | 64 | 64 |
0 | 16 | 0 |
3 | 4 | 12 |
2 | 1 | 2 |