AB Hexadecimal to Octal

AB hexadecimal = 253 octal

AB written in octal is 253, the number 171 in everyday decimal.

AB hexadecimal = 253 octal

How to convert AB 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
A = 10161 = 16160
B = 11160 = 111

160 + 11 = 171

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)
171 ÷ 8213
21 ÷ 825
2 ÷ 802

Result: 171 = 253 in octal.

About the number 171

  • 171 is an odd number.
  • 171 is not a prime number.
  • Written in binary it needs 8 bits, so it fits in one byte.

Reverse conversion

Frequently asked questions

What is AB in octal?

AB in hexadecimal is 253 in octal (the number 171 in decimal).