522 Octal to Hexadecimal
522 octal = 152 hexadecimal
522 written in hexadecimal is 152, the number 338 in everyday decimal.
522 octal = 152 hexadecimal
How to convert 522 to hexadecimal
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 |
|---|---|---|
5 | 82 = 64 | 320 |
2 | 81 = 8 | 16 |
2 | 80 = 1 | 2 |
320 + 16 + 2 = 338
Step 2: Decimal to hexadecimal
Divide by 16 repeatedly and keep the remainders. Reading the remainders from the last one to the first gives the hexadecimal digits:
| Division | Quotient | Remainder (digit) |
|---|---|---|
| 338 ÷ 16 | 21 | 2 |
| 21 ÷ 16 | 1 | 5 |
| 1 ÷ 16 | 0 | 1 |
Result: 338 = 152 in hexadecimal.
522 (octal) in other systems
| Binary | 101010010 |
| Decimal | 338 |
| Roman numerals | CCCXXXVIII |
| Duodecimal | 242 |
| Ternary | 110112 |
| Base 36 | 9E |
| Vigesimal | GI |
| Quaternary | 11102 |
| Quinary | 2323 |
| Senary | 1322 |
Nearby octal to hexadecimal conversions
About the number 338
- 338 is an even number.
- 338 is not a prime number.
- Written in binary it needs 9 bits, so it fits in 2 bytes.
Reverse conversion
Frequently asked questions
What is 522 in hexadecimal?
522 in octal is 152 in hexadecimal (the number 338 in decimal).