42 Hexadecimal to Quaternary

42 hexadecimal = 1002 quaternary

42 written in quaternary is 1002, the number 66 in everyday decimal.

42 hexadecimal = 1002 quaternary

How to convert 42 to quaternary

Step 1: Hexadecimal to decimal

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

DigitPlace valueDigit × place
4161 = 1664
2160 = 12

64 + 2 = 66

Step 2: Decimal to quaternary

Divide by 4 repeatedly and keep the remainders. Reading the remainders from the last one to the first gives the quaternary digits:

DivisionQuotientRemainder (digit)
66 ÷ 4162
16 ÷ 440
4 ÷ 410
1 ÷ 401

Result: 66 = 1002 in quaternary.

About the number 66

  • 66 is an even number.
  • 66 is not a prime number.
  • Written in binary it needs 7 bits, so it fits in one byte.

Reverse conversion

Frequently asked questions

What is 42 in quaternary?

42 in hexadecimal is 1002 in quaternary (the number 66 in decimal).