128 in Hexadecimal
Decimal 128 equals 0x80 in hexadecimal.
Why this number matters: 128 is 2⁷ - the sign bit of an 8-bit integer. As a signed byte it wraps around to -128.
128 in all number bases
Decimal128
Hexadecimal0x80
Binary1000 0000
Octal200
Try another value
Edit this value or switch its base. Your changes are calculated in your browser with exact integer arithmetic.
Input base:
Decimal
128Hex
0x80Binary
0b10000000Octal
0o200How 128 converts from decimal to hexadecimal
Divide by 16 repeatedly and keep each remainder, then read the remainders from bottom to top:
128÷ 16 =8remainder0
8÷ 16 =0remainder8
Result (remainders bottom to top): 80
This tool runs entirely in your browser - nothing you enter is uploaded or stored.