20 Hexadecimal to Octal

20 hexadecimal = 40 octal

20 written in octal is 40, the number 32 in everyday decimal.

20 hexadecimal = 40 octal

How to convert 20 to octal

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
2161 = 1632
0160 = 10

32 + 0 = 32

Step 2: Decimal to octal

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

DivisionQuotientRemainder (digit)
32 ÷ 840
4 ÷ 804

Result: 32 = 40 in octal.

About the number 32

  • 32 is an even number.
  • 32 is not a prime number.
  • 32 is a power of two: 25.
  • Written in binary it needs 6 bits, so it fits in one byte.

Reverse conversion

Frequently asked questions

What is 20 in octal?

20 in hexadecimal is 40 in octal (the number 32 in decimal).