A in Decimal
Hexadecimal A equals 10 in decimal.
A in all number bases
Decimal10
Hexadecimal0xA
Binary1010
Octal12
Try another value
Edit this value or switch its base. Your changes are calculated in your browser with exact integer arithmetic.
Input base:
Decimal
10Hex
0xABinary
0b1010Octal
0o12How a 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× 160 = 10 × 1 = 10
Sum: 10
This tool runs entirely in your browser - nothing you enter is uploaded or stored.