1042 Octal to Hexadecimal

1042 octal = 222 hexadecimal

1042 written in hexadecimal is 222, the number 546 in everyday decimal.

1042 octal = 222 hexadecimal

How to convert 1042 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
082 = 640
481 = 832
280 = 12

512 + 0 + 32 + 2 = 546

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)
546 ÷ 16342
34 ÷ 1622
2 ÷ 1602

Result: 546 = 222 in hexadecimal.

About the number 546

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

1042 in octal is 222 in hexadecimal (the number 546 in decimal).