20 in Decimal
Hexadecimal 20 equals 32 in decimal.
20 in all number bases
Decimal32
Hexadecimal0x20
Binary0010 0000
Octal40
Try another value
Edit this value or switch its base. Your changes are calculated in your browser with exact integer arithmetic.
Input base:
Decimal
32Hex
0x20Binary
0b100000Octal
0o40How 20 converts from hexadecimal to decimal
Multiply each digit by 16 raised to its position (starting at 0 from the right), then add the results:
2× 161 = 2 × 16 = 32
0× 160 = 0 × 1 = 0
Sum: 32
This tool runs entirely in your browser - nothing you enter is uploaded or stored.