502 Octal to Hexadecimal

502 octal = 142 hexadecimal

502 written in hexadecimal is 142, the number 322 in everyday decimal.

502 octal = 142 hexadecimal

How to convert 502 to hexadecimal

Step 1: Octal to decimal

Multiply each digit by 8 to the power of its position (0 on the right), then add:

DigitPlace valueDigit × place
582 = 64320
081 = 80
280 = 12

320 + 0 + 2 = 322

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:

DivisionQuotientRemainder (digit)
322 ÷ 16202
20 ÷ 1614
1 ÷ 1601

Result: 322 = 142 in hexadecimal.

About the number 322

  • 322 is an even number.
  • 322 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 502 in hexadecimal?

502 in octal is 142 in hexadecimal (the number 322 in decimal).