Skip to content

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:
Decimal171
Hex0xAB
Binary0b10101011
Octal0o253

How 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.

Want to learn the method behind this tool? Read How to Convert Hexadecimal to Decimal - the full step-by-step guide.