1242 Octal to Hexadecimal

1242 octal = 2A2 hexadecimal

1242 written in hexadecimal is 2A2, the number 674 in everyday decimal.

1242 octal = 2A2 hexadecimal

How to convert 1242 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
183 = 512512
282 = 64128
481 = 832
280 = 12

512 + 128 + 32 + 2 = 674

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)
674 ÷ 16422
42 ÷ 162A (10)
2 ÷ 1602

Result: 674 = 2A2 in hexadecimal.

About the number 674

  • 674 is an even number.
  • 674 is not a prime number.
  • Written in binary it needs 10 bits, so it fits in 2 bytes.

Reverse conversion

Frequently asked questions

What is 1242 in hexadecimal?

1242 in octal is 2A2 in hexadecimal (the number 674 in decimal).