AF in Decimal
Hexadecimal AF equals 175 in decimal.
AF in all number bases
Decimal175
Hexadecimal0xAF
Binary1010 1111
Octal257
Try another value
Edit this value or switch its base. Your changes are calculated in your browser with exact integer arithmetic.
Input base:
Decimal
175Hex
0xAFBinary
0b10101111Octal
0o257How af 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
F× 160 = 15 × 1 = 15
Sum: 175
This tool runs entirely in your browser - nothing you enter is uploaded or stored.