7f In Decimal

7f in decimal is 127. Full conversion of 7f (hexadecimal) to binary 1111111, decimal 127 and hex 7F.

How this conversion works

7F is 127 in decimal — the highest value of a signed byte and the last code point of 7-bit ASCII (the DEL character). One more and an 8-bit signed number goes negative.

Each base just uses a different set of digits for the same quantity. Reading 7f as a hexadecimal number gives the decimal value 127; expressing that same value in base two, eight or sixteen produces the rows above. To convert any number between bases — including custom bases from 2 to 36 — use the number base converter.