31 Octal to Quaternary
31 octal = 121 quaternary
31 written in quaternary is 121, the number 25 in everyday decimal.
31 octal = 121 quaternary
How to convert 31 to quaternary
Step 1: Octal to decimal
Multiply each digit by 8 to the power of its position (0 on the right), then add:
| Digit | Place value | Digit × place |
|---|---|---|
3 | 81 = 8 | 24 |
1 | 80 = 1 | 1 |
24 + 1 = 25
Step 2: Decimal to quaternary
Divide by 4 repeatedly and keep the remainders. Reading the remainders from the last one to the first gives the quaternary digits:
| Division | Quotient | Remainder (digit) |
|---|---|---|
| 25 ÷ 4 | 6 | 1 |
| 6 ÷ 4 | 1 | 2 |
| 1 ÷ 4 | 0 | 1 |
Result: 25 = 121 in quaternary.
31 (octal) in other systems
| Binary | 11001 |
| Decimal | 25 |
| Roman numerals | XXV |
| Hexadecimal | 19 |
| Duodecimal | 21 |
| Ternary | 221 |
| Base 36 | P |
| Vigesimal | 15 |
| Quinary | 100 |
| Senary | 41 |
Nearby octal to quaternary conversions
| 24 to quaternary | 110 |
| 25 to quaternary | 111 |
| 26 to quaternary | 112 |
| 27 to quaternary | 113 |
| 30 to quaternary | 120 |
| 32 to quaternary | 122 |
| 33 to quaternary | 123 |
| 34 to quaternary | 130 |
| 35 to quaternary | 131 |
| 36 to quaternary | 132 |
About the number 25
- 25 is an odd number.
- 25 is not a prime number.
- 25 is a perfect square: 5 × 5.
- Written in binary it needs 5 bits, so it fits in one byte.
Reverse conversion
Frequently asked questions
What is 31 in quaternary?
31 in octal is 121 in quaternary (the number 25 in decimal).