7 in Decimal
Hexadecimal 7 equals 7 in decimal.
7 in all number bases
Decimal7
Hexadecimal0x7
Binary0111
Octal7
Try another value
Edit this value or switch its base. Your changes are calculated in your browser with exact integer arithmetic.
Input base:
Decimal
7Hex
0x7Binary
0b111Octal
0o7How 7 converts from hexadecimal to decimal
Multiply each digit by 16 raised to its position (starting at 0 from the right), then add the results:
7× 160 = 7 × 1 = 7
Sum: 7
This tool runs entirely in your browser - nothing you enter is uploaded or stored.