520 Octal to Hexadecimal
520 octal = 150 hexadecimal
520 written in hexadecimal is 150, the number 336 in everyday decimal.
520 octal = 150 hexadecimal
How to convert 520 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 |
0 | 80 = 1 | 0 |
320 + 16 + 0 = 336
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) |
|---|---|---|
| 336 ÷ 16 | 21 | 0 |
| 21 ÷ 16 | 1 | 5 |
| 1 ÷ 16 | 0 | 1 |
Result: 336 = 150 in hexadecimal.
520 (octal) in other systems
| Binary | 101010000 |
| Decimal | 336 |
| Roman numerals | CCCXXXVI |
| Duodecimal | 240 |
| Ternary | 110110 |
| Base 36 | 9C |
| Vigesimal | GG |
| Quaternary | 11100 |
| Quinary | 2321 |
| Senary | 1320 |
Nearby octal to hexadecimal conversions
About the number 336
- 336 is an even number.
- 336 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 520 in hexadecimal?
520 in octal is 150 in hexadecimal (the number 336 in decimal).