7F in Decimal
Hexadecimal 7F equals 127 in decimal.
Why this number matters: 127 is the largest positive value of a signed 8-bit integer (int8) and the loopback IP octet (127.0.0.1).
7F in all number bases
Decimal127
Hexadecimal0x7F
Binary0111 1111
Octal177
Try another value
Edit this value or switch its base. Your changes are calculated in your browser with exact integer arithmetic.
Input base:
Decimal
127Hex
0x7FBinary
0b1111111Octal
0o177How 7f 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× 161 = 7 × 16 = 112
F× 160 = 15 × 1 = 15
Sum: 127
This tool runs entirely in your browser - nothing you enter is uploaded or stored.