31 in Decimal
Hexadecimal 31 equals 49 in decimal.
31 in all number bases
Decimal49
Hexadecimal0x31
Binary0011 0001
Octal61
Try another value
Edit this value or switch its base. Your changes are calculated in your browser with exact integer arithmetic.
Input base:
Decimal
49Hex
0x31Binary
0b110001Octal
0o61How 31 converts from hexadecimal to decimal
Multiply each digit by 16 raised to its position (starting at 0 from the right), then add the results:
3× 161 = 3 × 16 = 48
1× 160 = 1 × 1 = 1
Sum: 49
This tool runs entirely in your browser - nothing you enter is uploaded or stored.