AB in Decimal
Hexadecimal AB equals 171 in decimal.
AB in all number bases
Decimal171
Hexadecimal0xAB
Binary1010 1011
Octal253
Try another value
Edit this value or switch its base. Your changes are calculated in your browser with exact integer arithmetic.
Input base:
Decimal
171Hex
0xABBinary
0b10101011Octal
0o253How ab converts from hexadecimal to decimal
Multiply each digit by 16 raised to its position (starting at 0 from the right), then add the results:
A× 161 = 10 × 16 = 160
B× 160 = 11 × 1 = 11
Sum: 171
This tool runs entirely in your browser - nothing you enter is uploaded or stored.